Replies: 1 comment 6 replies
-
Please do not use the issues board for questions. There is this discussions board for that. Thank you. Unfortunately I'm not familiar with Azure, so I'm not sure how I can help with this. Is the server receiving the WebSocket request at all? If it isn't then the problem has to be in the configuration of your Azure instance. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @miguelgrinberg ,
First of all I would like to say that I am a big fan of your work. It has saved my life hundreds of time.
I am developing a web app that among other thing receive an excel file and process it line by line. I created a progress bar which is updated using socket-io communication. In the development environment it works (and it was pretty easy to make it work). However when I upload my code to azure I am not being able to connect to the socket-io. I followed this example https://github.com/vjammar/aws-iot-python. As I am still in developing it I am using a free linux app (minimum resources) in azure. According to this page from MS the websocket is always enable now (some time ago, it was necessary to manually enable it)
This is how I configured the socket io on the flask app in init.py
In the client side I am trying to connet to the socket io like this. Instances is
When I try to submit the file I receive the following error
socket.io.js:3941
GET https://ampsystem.azurewebsites.net:433/socket.io/?EIO=4&transport=polling&t=OJsy8J6 net::ERR_CONNECTION_TIMED_OUT
Could you give me some hint?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions