Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ...
maximosis's user avatar
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 ...
Shubham Gupta's user avatar
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 ...
MeHDI RH's user avatar
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 ...
Alex's user avatar
  • 121
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 ...
NeoSennin's user avatar
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 ...
MCBama's user avatar
  • 131
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) ...
user1248490's user avatar