Open gitkwarteng opened 2 years ago
How are you even running it mate? I can't find a command to start the chat server
Hello, Including channels into the installed apps will start the Django channels server. and you need to add the chat app into your installed apps, and add the relevant paths to the urls file and relevant settings.
On 29 Jun 2022, at 2:32 AM, Sumanshu Arora @.***> wrote:
How are you even running it mate? I can't find a command to start the chat server
— Reply to this email directly, view it on GitHub https://github.com/Bearle/django_private_chat2/issues/35#issuecomment-1169467139, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHINJKUG5I6BLFVTSZS2RDVROYSPANCNFSM5Z3CW7JQ. You are receiving this because you authored the thread.
Description
Websocket connections sometimes connect but often doesn't. I Keep getting
WebSocket HANDSHAKING /chat_ws [127.0.0.1:50071] WebSocket REJECT /chat_ws [127.0.0.1:50071] WebSocket DISCONNECT /chat_ws [127.0.0.1:50071]
I have been able to set up the project. Have setup my chat index and user list in a Django chat app. frontend code from example are in an app called chat of my django project.
I set up urls like this: path('apps/chat/', include("chat.urls") ,name="chat-app"), path(r'apps/chat/', include('django_private_chat2.urls', namespace='django_private_chat2')
When I visit chat and users_list ape endpoint in browser, I get results. but console is logging not found.
What I Did