Rails 5 Action Cable Chat

rails

#1

I have a clone of a rails 5 chat application.

can anyone give me an ABC on how to get the 2 server deal working?
failed: WebSocket is closed before the connection is established.

I appreciate any help! thanks so much.


#2

Hey dude, I was having the same problem but putting ->
ActionCable.server.config.disable_request_forgery_protection = true
in the config.ru stopped the websocket issue.
This isn’t good for production of course but it’s ok for testing.