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

All Questions

1 vote
0 answers
522 views

WebSocket / wss not connecting, used Django Channels and AWS Elastic Beanstalk

Getting this webSocket error at site https://yoga.sightica.com/class/ console. Backend Django and deployed in AWS using elastic beanstalk. Firefox can’t establish a connection to the server at wss://...
shaju george's user avatar
1 vote
0 answers
346 views

Error during WebSocket handshake,Unexpected response code: 502 using elasticache redis and elastic beanstalk

I am using django channels 2 and it is currenly working on localhost when I am using a redis server in Ubuntu in localhost. I had deployed my django project on elastic beanstalk and I am using ...
Bikram Paul's user avatar
1 vote
2 answers
1k views

Django Channels 2.4 and Websockets giving 502 error on Elastic Beanstalk and ElastiCache

I have integrated a chat component into my django web app via django channels in a very similar way as documented here. I used elasticache to create my redis instance. My settings.py looks as follows: ...
Ryan Tobin's user avatar
4 votes
3 answers
11k views

Websocket + SSL on AWS Application Load Balancer

I have a Django Application deployed on ElastickBeanstalk. I recently migrated the load balancer from Classic -> Application in order to support Websocket (layer formed by: Django-channels (~=1.1.8,...
MaxBlax360's user avatar
  • 1,178
3 votes
1 answer
2k views

Django channels 2 and EC2 / Elasticbeanstalk

My short question, how to setup Django-channels v2 on AWS Elasticbeanstalk? The long and less inviting questions underneath. Thank you in advance! I am trying to set up an elasticbeanstalk instance ...
Espen Finnesand's user avatar
2 votes
1 answer
1k views

Django Channels + Elastic Beanstalk

I've set up an Application load balancer that redirects /ws/ requests to port 5000 where I have Daphne running along with 4 workers (that reload via Supervisord). However, in the Chrome console I get ...
Faris Sbahi's user avatar
9 votes
2 answers
2k views

Websocket error when using Elastic Beanstalk with Django channels

I am trying to get a chat app powered by django channels to work on AWS Elastic Beanstalk with a load balancer. I am basically modifying the code from https://github.com/jacobian/channels-example to ...
user3667089's user avatar
  • 3,188