Deployment issue all day to day

Mike O'Neill 1 Reputation point
2021-10-03T21:16:49.117+00:00

I keep getting the below error when deploting a web app to azure:
Severity Code Description Project File Line Suppression State
Error Web deployment task failed. (Web Deploy experienced a connection problem with the server and had to terminate the connection. Contact your server administrator if the problem persists. Learn more at: https://go.microsoft.com/fwlink/?LinkId=221672#ERROR_CONNECTION_TERMINATED.)

Web Deploy experienced a connection problem with the server and had to terminate the connection. Contact your server administrator if the problem persists. Learn more at: https://go.microsoft.com/fwlink/?LinkId=221672#ERROR_CONNECTION_TERMINATED.
Unexpected end of file has occurred. The following elements are not closed: results. Line 1, position 550. CookieScannerBlazor 0

How do I get round this?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,351 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 26,951 Reputation points Microsoft Employee
    2021-10-08T19:49:50.34+00:00

    Thanks for the additional context @Mike O'Neill . I didn't hit a 500 error but did use browser developer tools and that request makes a call to a SignalR service. You could be running into server connection issues with your SignalR service. Have a look at [this troubleshooting guide](https://learn.microsoft.com/en-us/azure/azure-signalr/signalr-howto-troubleshoot-guide#500-error-when-negotiate-azure-signalr-service-is-not-connected-yet-please-try-again-later] to see if you can better determine the source of the 500. I also came across https://github.com/Azure/azure-signalr/issues/909 which sounds like your situation and is worth look but doesn't have a resolution.