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

Misleading error message Unable to retrieve auth string from channel-authorization endpoint - received status: 0 from /pusher/auth. Clients must be authorized to join private or presence channels. #844

Open
alexanderadam opened this issue Feb 10, 2025 · 0 comments

Comments

@alexanderadam
Copy link

alexanderadam commented Feb 10, 2025

Currently we're running into the Clients must be authorized to join private or presence channels. exception in our Rails application.

It's linking to the authorizing users documentation, which is great. 👍

However, given that we see status: 0 in the error, it does not seem like this is indeed an authorization but a network issue.

Is this assumption correct?
If it is, we'd expect not to raise an error but running into the connection state unavailable-logic which would retry the thing it's trying to do until it works.

Also the behaviour should then be documented.

@alexanderadam alexanderadam changed the title better documentation for "Clients must be authorized to join private or presence channels." Misleading error message Unable to retrieve auth string from channel-authorization endpoint - received status: 0 from /pusher/auth. Clients must be authorized to join private or presence channels. Feb 11, 2025
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

1 participant