Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

All Questions

0 votes
0 answers
29 views

WebSocket Channels in Django not connecting

I'm struggling why still insist not being connected my WebSocket using Django, I've used laragon as Mysql and I just used my local database, and I just want to try first before saving to database it ...
Henry's user avatar
  • 167
0 votes
0 answers
36 views

How to connect multiple authenticated clients' with Django channels and clients should be connected before opening the channels?

So I'm working on a desktop based app that requires a socket to handle multiple authenticated clients with a Django channel, and clients should be authenticated by the server before opening the ...
Kaumudi Kalikar's user avatar
1 vote
1 answer
64 views

How to know user is online/offline with django channels?

With Django Channels, can you track which users are online or offline throughout your website? Should every page have a websocket connection? And when a user is online/offline, how can I show the user ...
Bahrom Najmiddinov's user avatar
0 votes
0 answers
28 views

how to Implement non-blocking, sequential AI moves in a multiplayer chess game in django channels?

I'm developing a website to play a special with kind of chess with React and Django. It pretty much requires two games to be played at the same time. The website allows to add AI players, so the ...
newbiedev3333's user avatar
0 votes
0 answers
24 views

The caller tried using channels rabbitmq on a different event loop than the one it was initialized with

im trying to initialize a queue rabbit consumer, process those message and send it to a websocket in django. But i got the title error. Im new at this kind of stuuf. Can someone explain me how can i ...
Mauricio Avendaño's user avatar
0 votes
0 answers
9 views

Django channels websocket non working properly

Iìm triing to create a simple chat app usign django channels i create a consumer on connect method i register all user to a personal group and when i sent a message the recieve method should sent it ...
user21000937's user avatar
0 votes
1 answer
32 views

Django channels error:- Could not connect to ws://192.168.1.21:8000/ws/sc/,

IMO I think it is unable to find the route /ws/sc route but I dont understand why as I have linked it properly. The error is give when I try to establish a connection using postman Following is the ...
Krattza's user avatar
  • 41
0 votes
1 answer
36 views

Space is not sliced from my text in front-end

So here is my front-end JS code for the keyHandler: let snippet = document.getElementById('snippet'); let remaining = document.getElementById('remaining'); let typed = document.getElementById('typed'...
Hako_Sama's user avatar
0 votes
0 answers
20 views

Sending a notification to single user using web socket in django

In my drf project, I have added the functionality where notifications are being broadcasted to all web socket users. What I want is to send notification to single user. I hope I will get a solution to ...
Ghayoor Ali's user avatar
0 votes
1 answer
107 views

Django Channels, Set different WebSocket routing patterns for different paths

I am trying to implement a Django Projects with multiple Apps, with multiple Consumers with different WebSocket routing patterns for each paths. Below is my working code, the code works, but is ...
eagele's user avatar
  • 86
0 votes
0 answers
30 views

How to Handle and Send Various File Types (Images, Videos, Audios, PDFs, Documents) in a Django Chat App Using WebSockets and Django REST Framework

I'm working on a chat application where I need to handle and store various types of files such as images, videos, audios, PDFs, and documents using Django and Django REST framework. I have a WebSocket ...
Vrushal Mistry's user avatar
0 votes
0 answers
23 views

Django 404 when connecting to websocket router wh

I'm trying to write my first Django project using websockets. I use django channels. And everything worked fine until the time to integrate react, nginx and django came. Now I get: Could not connect ...
Konstantinos's user avatar
1 vote
1 answer
97 views

Django Channels on IIS using FASTCGI

I am deploying a Django app using an IIS server. In this Django app, I have implemented Django Channels to use websockets. Locally, everything is working fine with websocket connections, and I am able ...
Simple Sarfi's user avatar
0 votes
0 answers
36 views

Issue sending messages to a channel group in Django

I sat up a system with a user, member and team models. What i am trying to achieve with sockets, is for one of the team members to notify everyone on the team about an achievement. Clientside: Svelte ...
catfish's user avatar
  • 63
0 votes
0 answers
420 views

Django Channels Config - Django / Docker / Gunicorn / Daphne / Nginx

I have deployed an app, pypilot.app using django / nginx / docker / daphne / gunicorn on a digital ocean droplet. Daphne is for Django Channels which works no problem in development to display ...
Nick Lisauskas's user avatar

15 30 50 per page
1
2 3 4 5
33