Skip to main content

All Questions

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
34 views

Django Channels - Sending message to multiple channels

I created a room dict which which stores channels of consumers which belong to a specific group, now when any consumers sends a message i want all the channels to get that message ... but I only know ...
Satyam Puranik's user avatar
0 votes
0 answers
28 views

Django Channels - Group

If in a group there are two channels, after group_send the event chat.message is handled by chat_message.. and its happening for both the channels because I'm printing the channel names and getting ...
SmeetK's user avatar
  • 1
0 votes
0 answers
64 views

Django Channels Web Socket Connection Keeps Closing

I created the following consumers in my django application to handle real time notifications: class NotificationConsumer(AsyncWebsocketConsumer): async def connect(self): self.room_name = ...
Ayodeji Adesola's user avatar
0 votes
1 answer
45 views

How can I get a batch of frames from consumers.py?

I am working on a computer vision project involving object detection and real-time frame streaming using OpenCV and Django. To accomplish this, I am utilizing Django channels. However, I have ...
Shah Zeb's user avatar
0 votes
0 answers
38 views

WebSocket connection to 'wss://www.aniconnect.org/ws/chat/AUdZzo8slKKwKvzmUrnmLRfnVkuAYfJj/' failed:

I have been working on a Django chatting application that uses websockets to implement its chatting functionality. The site was working fine when it was being accessed through an IP address but when I ...
Addy's user avatar
  • 19
0 votes
0 answers
62 views

Django websockets connection failed

I have hosted a django application on Linode which includes a chatting functionality. I am using django-channels to implement that functionality. I am not using any particular technology like Redis, ...
user avatar
0 votes
0 answers
67 views

ValueError: Socket has not been accepted, so cannot send over it

I am working on a django chatting application using the websocket technology (Django-channels) The error: Traceback (most recent call last): File "C:\Users\ACER\Desktop\anime_chat\venvPath\lib\...
user avatar
0 votes
0 answers
135 views

Django websocket website returning an empty JSON/dictionary when I try to reference the user's username

I am building a django website where users can chat with each other and I am using channels for its development. I intended on programming it in such a way that the user's profile pic would be beside ...
user avatar
0 votes
0 answers
247 views

"WebSocket connection to 'ws://localhost:8000/ws/chat/cujncvifd/' failed"

I am getting a "WebSocket connection to 'ws://localhost:8000/ws/chat/cujncvifd/' failed" error in my django application. I am also getting a "Not Found: /ws/chat/cujncvifd/" ...
user avatar
1 vote
1 answer
1k views

Django Channels : WebSocket connection failed

WebSocket connection to 'ws://127.0.0.1:8000/room/ws/tech' failed I am trying to learn about creating a real time Django application using channels and following this tutorial. However, when I am ...
NewerNetwork's user avatar
0 votes
1 answer
61 views

How to fetch data at the moment the database updates, without refreshing the page, in Django?

In a web application that I'm building using Django, there is a filed in the main page that fetches a price float from the database and shows it, and I need it to be updated every time that the source ...
Mohawo's user avatar
  • 437
1 vote
0 answers
378 views

Django Channels: Real time application, update other rooms when any action appears

For now I've created a consumer that can handle one-to-one connections as a private chat. In my UI I display previous conversations and I'd love to somehow update their content if new message or ...
rediz's user avatar
  • 83
0 votes
2 answers
1k views

WebSocket connection fails Django-channels

I am trying to create a socket-based application using Django-Channels, but I have a problem with connection to the WebSocket. To showcase my problem I created a test project. The error message from ...
Murad Mustafayev's user avatar
0 votes
1 answer
1k views

Django Channels error when trying to create a web-socket connection ValueError: No route found for path ' '

I am working on a Django chat application using django-channels and websockets. I have been following a tutorial whereby the instructor is creating a one-to-one chat between two users. In his example, ...
victor's user avatar
  • 416

15 30 50 per page