angular - Website on Azure App Service loads forever, stays pending on any request - Stack Overflow

admin2025-04-15  3

We discovered a quite bizarre behavior yesterday afternoon on one of our azure app services.

The app loads, gets redirected to our Identity Server and then back to the app and suddenly the app keeps loading forever, leaving every request on pending. Some request get an status code of 200, but no response at all.

We have the very same deployment on different servers (like test, stage, etc.) as every other app service is running normally, which is rather interesting.

We can call our own API via Swagger/Postman without any issue, leaving us with an even bigger question mark.

The negotiate request is for our SignalR service, we already tried to remove it temporarily from our frontend, but it didn't had any impact at all.

Has anyone ever experienced such a behavior?

Tech Stack: Angular, .NET App Service, SignalR, Azure MS SQL

There is a similar topic on the microsoft site, but removing signalr compeltely for testing didn't solve our issue.

We discovered a quite bizarre behavior yesterday afternoon on one of our azure app services.

The app loads, gets redirected to our Identity Server and then back to the app and suddenly the app keeps loading forever, leaving every request on pending. Some request get an status code of 200, but no response at all.

We have the very same deployment on different servers (like test, stage, etc.) as every other app service is running normally, which is rather interesting.

We can call our own API via Swagger/Postman without any issue, leaving us with an even bigger question mark.

The negotiate request is for our SignalR service, we already tried to remove it temporarily from our frontend, but it didn't had any impact at all.

Has anyone ever experienced such a behavior?

Tech Stack: Angular, .NET App Service, SignalR, Azure MS SQL

There is a similar topic on the microsoft site, but removing signalr compeltely for testing didn't solve our issue.

https://learn.microsoft.com/en-us/answers/questions/2144614/app-service-returns-nothing-but-no-changes-done

Share Improve this question edited Feb 6 at 4:19 Jason 22.5k2 gold badges22 silver badges45 bronze badges asked Feb 4 at 8:52 ICantSeeSharpICantSeeSharp 2863 silver badges17 bronze badges 2
  • Restart the App Service and see if it resolves the issue and also check azure networking restrictions. – Suresh Chikkam Commented Feb 5 at 3:37
  • Hi ICantSeeSharp, please copy the url and share with us, and hide your sensitive information if any. We want to check whether the redirect url in the url is consistent with the azure portal and the code. – Jason Commented Feb 6 at 4:22
Add a comment  | 

1 Answer 1

Reset to default 0

We found a rather unusual solution. Although no error or warning was logged in Application Insights, a restore of our main database did the trick and solved our issue.

It could be a coincidence or not, but restarting any of the used services didn't solve the issue. Only a full restore of the db solved our problem. We never had such a problem in the past, usually if something is wrong with the db we see it in the logs or some specific requests fail, but never the whole app without any trace.

转载请注明原文地址:http://www.anycun.com/QandA/1744732401a86841.html