Hello everyone, I recently migrated my Python Flask-Socket.io server to Golang and I am getting an issue when I deployed my web application to Azure App Service.
I built my golang application and converted into a docker image, as I have done with my python server and deployed to Azure App Service but it is giving 400 Bad Request and 503 response while my python server works fine with the client that I am using on Azure.


Here are two contradictions,
1. The join_room event is working fine as you can see I have logged the callback Message Join Room Callback but send_message is not working,
2. This docker image is working fine on my localhost
I tried different ways to fix this by trying different CORS policies in code, checkout my Azure setting but nothing worked.
Please help me find out the solution for this.
Edit: I forgot to mention my code which you can find on my Github