Struggles w/ Intro Tutorial on Chat Server (from ReadTheDocs) #1702
-
Hey there -- I'm trying to set up a personal streaming website, similar to twitch, for educational purposes. Part of this is implementing a chat server. I'm fairly up to speed on Django and how it works, but I'm quite new to Channels -- apologies for the beginner question. I believe I've followed to tutorial in the documentation (parts 1->4 here: https://channels.readthedocs.io/en/latest/tutorial/part_1.html) correctly, but am having issues. Currently, I can connect to the chat server and see messages being sent, however, it's not acting as I'd anticipate:
Currently running a DigitalOcean droplet, with NGINX, gunicorn (WSGI) and daphne (ASGI). Current package versions are:
I'm curious if there are any issues with some of the package versions that I'm using? Help is appreciated -- I can paste some code dump if needed, but the relevant consumer/routing/asgi.py files are the same as shown in the tutorial. EDIT -- I'd delete this discussion if I could -- but I can't find the button.. I'm rebuilding from scratch to confirm I didn't goof anything up. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Answering my own question. I rebuilt everything from scratch... I'm assuming I had some package that was installed incorrectly, or had been damaged / corrupted through some kind of versioning up/down-grade. |
Beta Was this translation helpful? Give feedback.
Answering my own question. I rebuilt everything from scratch... I'm assuming I had some package that was installed incorrectly, or had been damaged / corrupted through some kind of versioning up/down-grade.