NGINX and SocketIO Reverse Proxy 200 but "Unable to connect" #1332
-
Hi Everyone, I've been struggling with this for 2 days now so maybe someone can help here. This application logic works locally just fine. I've written a python script that is essentially an LLM Chatbot that uses vector storage etc. it uses socketio to return the llm answer to a React frontend. The setup below produces 200 status codes on socket connection. However the 3rd call to socketio results in a "4/python,"Unable to connect" message, is anyone familiar with this? Here's the server output with logging enabled:
The python server is running on gunicorn/eventlet: The webserver is running nginx here's the config: `
}` Here's the python code:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Your client is trying to connection to a namespace named
The server returns an error because it does not have any knowledge of this namespace. |
Beta Was this translation helpful? Give feedback.
Your client is trying to connection to a namespace named
/python
:The server returns an error because it does not have any knowledge of this namespace.