CLIENT & SERVER CANNOT CONNECT# client use sockeito, which EIO=3, server use python-socketio==4.6.1 #1223
-
from error below, I could tell that client EIO=3,
my server using 4.6.1, server code is like this, why my server doesnt work? it works well in websocket, but I think socketio will be better, but for now, it cannot build connection
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
here is my engineio version
|
Beta Was this translation helpful? Give feedback.
-
Please see the documentation to learn how to integrate the Socket.IO server with another ASGI app. https://python-socketio.readthedocs.io/en/latest/server.html#uvicorn-daphne-and-other-asgi-servers |
Beta Was this translation helpful? Give feedback.
You have not done it correctly. I linked you to the section of the docs that show you to integration Socket.IO with an ASGI app. I do not know what the 403 error means, your FastAPI application is returning that response, not Socket.IO.