Skip to content

Broadcasting not works from rails controllers #155

Answered by Envek
serhiihiba asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, I can't see any obvious errors in your configuration.

Please, re-check that you have enabled any_cable adapter in config/cable.yml for production environment. Also make sure that you have specified ANYCABLE_REDIS_URL and ANYCABLE_REDIS_CHANNEL for all components of your application: including application server (Passenger as far as I can see)

In general you don't need to set up SSL between Nginx and anycable-go and between anycable-go and anycable-rpc: let Nginx terminate SSL for you.

Check your configuration against relevant docs: https://docs.anycable.io/rails/getting_started?id=configuration and https://docs.anycable.io/deployment/

Hope it will help.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@serhiihiba
Comment options

Answer selected by serhiihiba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants