Closed castelo-software closed 1 week ago
This is almost certainly a TCP healthcheck run automatically by Azure to tell if your app is alive. Azure makes a TCP connection to see if you app is alive and closes it immediately, which is why websockets cannot read anything from the connection. I recommend that you switch to an HTTP healthcheck.
I am running a containerized WebSocket service on Azure Container Apps, and while everything actually works, my logs get full with handshake errors, even when no requests are being sent to the server.
I'm hoping someone can help me identify which requests are failing.
The error (which is raised non-stop) is the following:
This happens before the
process_request
even gets the opportunity to run, so I haven't been able to log any information about the request.Important to note, that this does not happen when the container runs locally.
The actual requests made by my client go through and work without any issues.