All Questions
43 questions
0
votes
1
answer
113
views
How to Connect Multiple Clients to a Django Socket Server Across Different Platforms?
We have created a socket server using Django and need to connect multiple clients to it. Our setup involves the server running on one platform and clients connecting from different platforms. We have ...
2
votes
1
answer
642
views
wsgi error: Address already in use - socketio/django/apache2
My project is created with React (create-react-app), React router (no webpack), -- Django (rest) and Socketio with eventlet on the backend.
I have 3 problems with deployment with apache2 - Everything ...
0
votes
0
answers
192
views
Can we run both Socket Server and Socket Client on the same Django Server?
I have a Django Server work as 2 role: Socket Server and Socket Client.
1/ As a Socket Server, it work on local side, so some clients in same network can connect and receive event.
2/ As a Socket ...
1
vote
0
answers
434
views
socket.io-stream in django (channels)
I have a server which is used to download files. The server is written in nodejs and looks like this:
const express = require("express");
const http = require("http");
const ...
0
votes
1
answer
143
views
Send changes in my django model to a client service
Recently I received a demand on the company I work for. They wanted me to build a API using django that will give support a chatbot client. Basically It is supposed to work like that:
The API receives ...
0
votes
1
answer
1k
views
How can i connect a Javascript client to a Python-SocketIO server?
I'm just getting started to Python-SocketIO, i created an example server, it looks like this:
import eventlet
import socketio
sio = socketio.Server()
app = socketio.WSGIApp(sio, static_files={
'...
1
vote
1
answer
5k
views
SocketIo integration with Django
I have been trying to integrate socketio with Django, And I am getting the following error.
[31/Mar/2020 14:50:27] "GET /socket.io/?EIO=3&transport=polling&t=N4n4ds4&b64=1 HTTP/1.1" 200 ...
1
vote
0
answers
181
views
Getting a socketio client connection to receive a "signal only works in main thread" error
So, I am trying to make my django app automatically connect to socketio client when some conditions happen and parse data from it in order to thereafter send it to my own web socket and show on web ...
0
votes
1
answer
275
views
Trying to emit socketio message in Django Rest Framwork view sometimes fails
There are certain cases, where my Django Rest Framework application needs to send a notification using socketio to another server. Function for emitting the notification is included in the views.py ...
0
votes
1
answer
190
views
How to do parallel processing in angular and django
I am new in django and Python. So I am using angular 7 in front-end and django for API's. So I want to achieve parallel processing.
Scenario: I have some script name's that I will send to python for ...
0
votes
1
answer
2k
views
eventlet with django and python socket io
whenever i try connecting client to ther server, it connects succesully and when client fires an event 'chat' with some data, it gets response back as:
"received your msg" + data sent
"welcome"
...
1
vote
0
answers
279
views
Python: Push Notifications to Node.js Socket.io using Redis PubSub
Now my project use Django as API and NodeJs (SocketIO) as server which require Realtime for pushing Notifications
I try pushing Notifications to Node.js Socket.io using Redis PubSub but not success. ...
1
vote
1
answer
780
views
How to register the wsgi if the python-socketio is a part of my project
I am reading the python-socketio example.
in its wsgi.py:
import os
from django.core.wsgi import get_wsgi_application
from socketio import Middleware
from socketio_app.views import sio
os.environ....
-1
votes
1
answer
79
views
What is the best way to achive realtime info on my website currently using php yii framework and django-rest for api with mysql
Here i have no idea, what to exactly use to get the real-time information on the web page on my already developed application. The real-time feature will be based on online Auction feature, as a ...
0
votes
1
answer
3k
views
Can you use python-socketio for django?
I've looked around for socketio solutions for Django, and I haven't found anything that says I can use python-socketio for it, but I also haven't found anything that says I can't. It's python, so I ...