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
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.
To test this you can simply create a blank new Rails 7 project with some
turbo_frame_tag
and agem "clerk-sdk-ruby"
and see that WS connections fail