Deploying Rails with ActionCable to AWS Elastic Beanstalk using ALB
问题 I'm trying to deploy a Rails 5.1.4 application to AWS Elastic Beanstalk and cannot get ActionCable to work. There appears to be a problem with upgrading the HTTP connection to a WebSocket, as per the Rails logs: I, [2017-11-29T20:53:23.533734 #6275] INFO -- : [014bad33-65a1-489e-9108-dc4157965491] Started GET "/cable" for 24.192.57.23 at 2017-11-29 20:53:23 +0000 I, [2017-11-29T20:53:23.534481 #6275] INFO -- : [014bad33-65a1-489e-9108-dc4157965491] Started GET "/cable/"[non-WebSocket] for 24