Hello @Oriol Trujillo
Based on the information you provided, it appears that the issue is related actually to the browser session and not the function's execution. Clearing cookies in the original browser session fixes the issue, and the API is still accessible from other sessions.
One possible cause of this issue could be related to the browser caching. When you cancel a pipeline run, pipeline monitoring often still shows the progress status. This happens because of a browser cache issue.
You also might not have the correct monitoring filters. Refreshing the browser and applying the correct monitoring filters might help resolve the issue.
Another possible cause could be related to the network security group (NSG) configuration. The NSG might be blocking traffic from the original browser session, but allowing traffic from other sessions.
You might want to review the NSG rules to ensure that they are not blocking traffic from the original browser session.
Lastly, it could be related to the Azure Front Door configuration. You might want to review the Front Door configuration to ensure that it is not blocking traffic from the original browser session.
I hope this helps