Skip to content
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

ActionCable Issue #36

Open
iSarCasm opened this issue Oct 11, 2023 · 1 comment
Open

ActionCable Issue #36

iSarCasm opened this issue Oct 11, 2023 · 1 comment

Comments

@iSarCasm
Copy link

iSarCasm commented Oct 11, 2023

Something prevents ActionCable from working well with clerk-sdk-ruby gem.

This config worked for me as a temporary workaround. Otherwise, web socket connections fail without any errors in the logs. It's unclear how I would go about identifying users in WS connections without digging into gem's source code.

Clerk.configure do |c|
  c.excluded_routes = ['/cable']
end

To test this you can simply create a blank new Rails 7 project with some turbo_frame_tag and a gem "clerk-sdk-ruby" and see that WS connections fail

@iSarCasm iSarCasm changed the title ActionCable recommendation ActionCable Issue Oct 11, 2023
@jenswilms
Copy link

You are my hero - I spent 3 hours trying to figure out why all over sudden my action cables didn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants