All Questions
7
questions
0
votes
0
answers
81
views
Flask-SocketIO Performance Bottleneck - QueuePool Overflow After Upgrade
I'll try to keep this brief, but I have a lot of code examples to show. Please let me know if you need more context!
We recently updated our flask server to handle web socket connections using flask ...
0
votes
0
answers
38
views
How to configure Apahce with websocket through python daphne DJango on EC2 server
Below is my virtual host for running python
<VirtualHost *:8000>
DocumentRoot /var/www/VITSBACKEND
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log ...
0
votes
0
answers
6k
views
WebSocket connection to 'wss:// failed: Error during WebSocket handshake: Unexpected response code: 404 on channels
I face this error while using channels for WebSockets on django production:
WebSocket connection to 'wss://domain.me/ws/orders/confirm_all/' failed: Error during WebSocket handshake: Unexpected ...
0
votes
1
answer
323
views
High CPU load in a data aquisition server
I`ve setup a small python program that uses a websocket connection to acquire data from an API and write it to a postgresql database.
There are only two (user) programs running: the websocket ...
1
vote
0
answers
850
views
Issue deploying Flask Rest Api on Nginx
I'm trying to deploy my flask api rest on nginx (on a subdomain) without success. I've followed this example from Digital Ocean and everything was working properly but then I changed the tutorial ...
3
votes
0
answers
870
views
NGINX Websocket initial communication delay
I've created a Django server that is making use of django-channels for websocket communication. When I run the server with NGINX there is an initial delay in websocket communication between the server ...
0
votes
1
answer
2k
views
docker container port forwarding behavior for `run` command (for websockets)
I am running an ipython notebook server inside a docker container. Running code inside the notebook from the browser works over websockets, which have to connect from outside the container (a browser) ...