Run in production mode:SECRET_KEY_BASE=$(rake secret) rails s -e production
Issue: clients cannot complete websocket connections. Usually get errors in the log of Request origin not allowed.
Solution: either whitelist origins in the relevant environment configuration file or disable forgery protection entirely with:
config.action_cable.disable_request_forgery_protection = true in the relevant configuration file.