Troubleshooting Websockets with EC2 on AWS using Django
<p>I am using Django-Channels to try to get real time features such as chat/messaging, notifications, etc. Right now, I have gotten everything to work fine on my laptop using the settings described in the docs here: <a href="http://channels.readthedocs.io/en/latest/">http://channels.readthedocs.io/en/latest/</a>. I use a local redis server for testing purposes.</p>

<p>However, when I deploy to my Amazon EC2 Elastic Beanstalk server (using an AWS ElastiCache Redis), the WebSocket functionality fails. I was reading and I think it is due to the fact that Amazon's HTTPS does not support WebSockets, so I need to switch to Secure TCP.
I tried doing that with:
<a href="https://blog.jverkamp.com/2015/07/20/configuring-websockets-behind-an-aws-elb/">https://blog.jverkamp.com/2015/07/20/configuring-websockets-behind-an-aws-elb/</a>
and
<a href="https://medium.com/@Philmod/load-balancing-websockets-on-ec2-1da94584a5e9#.ak2jh5h0q">https://medium.com/@Philmod/load-balancing-websockets-on-ec2-1da94584a5e9#.ak2jh5h0q</a>
but to no avail.</p>

<p>Does anyone have any success implementing  WebSockets with CentOS/Apache and Django on AWS EB? The Django-Channels package is fairly new so I was wondernig if anyone has experienced and/or overcome this hurdle.
Thanks in advance</p>