AWS ElasticBeanstalk + Socket.IO + SSL issue

Viewed 2101

I'm having trouble working with AWS ElasticBeanstalk with NodeJS environment + Socket.IO + SSL for our messaging app.

I'm already running in circles trying to fix the issue but I always ends up to a Websocket handshake error (504 GATEWAY_TIMEOUT).


AWS Elastic Beanstalk Load Balancer configuration:

AWS Elastic Beanstalk Load Balancer configuration


ELB security inbound rule

ELB security inbound rule


Instance's security inbound rule

Instance's security inbound rule


Response error

enter image description here


Front end code

enter image description here

Thanks in advance. Any help is highly appreciated!

1 Answers
Related