New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JRuby ActionCable - Successfully upgraded to WebSocket #2962
Comments
I have confirmed that I cannot reproduce the bug on CRuby and I can reproduce it on JRuby. Here is the entire codebase which I used for reproducing. https://github.com/cafedomancer/hotwire-rails-demo-chat/tree/jruby Environment
CRuby
Just after running
|
I am seeing the issue with Puma on JRuby. ActionCable works directly after starting Puma and stops working after the first reload. The same Rails app workes fine with Passenger on CRuby.
|
Describe the bug
Is websockets supported on JRuby?
Updates through websocket work on first request, after reloading page, stops working, log repeatedly gets:
Puma config default:
To Reproduce
Took https://github.com/hotwired/hotwire-rails-demo-chat, updated
Gemfile
to use jRubyNot using docker, run it with:
Expected behavior
Websocket keeps working
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: