Troubleshooting Websockets with EC2 on AWS using Django

前端 未结 3 523
清酒与你
清酒与你 2020-12-30 07:04

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 t

3条回答
  •  误落风尘
    2020-12-30 07:25

    I suppose ALB is the only way. The reason is because with the SSL protocol listner in the classic LB, the session stickiness and X-Forwaded headers won't be forwarded and will result in the proxy server redirect loop. Doc is here,

    http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-listener-config.html

    I'll update the answer if I find out a way with the existing CLB.

提交回复
热议问题