I want to run my WSGI server in django using python socketio #1311
Answered
by
miguelgrinberg
hetvaghasia39
asked this question in
Q&A
-
Getting this error when http api getting called, i.e. wsgi requests.
below is my asgi file
here is my consumer
|
Beta Was this translation helpful? Give feedback.
Answered by
miguelgrinberg
Feb 28, 2024
Replies: 1 comment
-
You are using the WSGI adapter for your Socket.IO app. Shouldn't that be the ASGI one? Django is trying to call it as an ASGI app, not WSGI. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hetvaghasia39
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are using the WSGI adapter for your Socket.IO app. Shouldn't that be the ASGI one? Django is trying to call it as an ASGI app, not WSGI.