Replies: 1 comment 6 replies
-
There is a FastAPI example in this repo. Try that and if that works, then compare it against yours to find what you've done differently. Also please include a complete stack trace. The sections you've included are unrelated to the problem. |
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
-
Hello, I am using fastapi and python-socketio for Socket Server. Packages are below;
Sometimes, an error is raised when a client connects to the server, as shown below:
TypeError: can only concatenate str (not "bytes") to str
The second error is always raised as shown below:
Exception message: KeyError: 'Session is disconnected'
Culprit: engineio.base_server._get_socket
When attempting to connect to the server, clients sometimes encounter an error. Since this issue does not always occur, I am uncertain of what steps to take next. If anyone has any advice, please let me know.
Beta Was this translation helpful? Give feedback.
All reactions