Browser can not connect with Flask-socketio server #4154
Unanswered
dikshitkumarmodi
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi. The nginx configuration looks good to me, the server seems reachable:
The client and server versions seem compatible too: https://flask-socketio.readthedocs.io/en/latest/intro.html#version-compatibility Maybe a CORS issue? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I host a flask app in Ubuntu 18.04 LTS with Nginx and Gunicorn. I use
Flask-SocketIO==5.0.1
for backend and<script src="https://cdn.socket.io/3.1.3/socket.io.min.js"></script>
for front end. here is my server configuration:But the problem is browser can not connect with the server via socket. Here are some errors that I found in the browser console:
Where is the problem?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions