You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have configured a simple demo project according to the Channel documentation. I hope that after the client successfully connects, it will receive a ping message sent from the server to the client every 20 seconds. However, the actual situation is that no messages are being sent to the client.
I have configured a simple demo project according to the Channel documentation. I hope that after the client successfully connects, it will receive a ping message sent from the server to the client every 20 seconds. However, the actual situation is that no messages are being sent to the client.
I use this website to be a client. https://websocketking.com/
Your OS and runtime environment, and browser if applicable
Mac OS m1
A
pip freeze
output showing your package versionsWhat you expected to happen vs. what actually happened
client receives a ping message sent from the server every 20 seconds.
How you're running Channels (runserver? daphne/runworker? Nginx/Apache in front?)
Console logs and full tracebacks of any errors
no error logs, just not working.
Code
asgi.py
consumer.py
settings.py
The text was updated successfully, but these errors were encountered: