Skip to content

Private channel subscription failed #303

Open

Description

@MosesWangira

What is the issue?

I cannot subscribe to private channel. Tried all the solutions online but still it isn't working
...

Is it a crash report? Submit stack traces or anything that you think would help

error produced - com.pusher.client.AuthorizationFailureException:
code - 403
My gist link of the code I used - https://gist.github.com/MosesWangira/6b388678d928f84ba57ad48b16833a08

...

Any improvements you suggest

provide message why subscription failed. The message is always empty.
...


CC @pusher/mobile

Activity

  1. benw-pusher commented on Sep 24, 2021

    @benw-pusher

    When subscribing to Private Channels we expose a method to catch when authentication failed. You can use this to log out the reason for the failure. See the example in the Readme for how to implement.

  2. MosesWangira commented on Sep 24, 2021

    @MosesWangira
    Author

    What is the issue?

    I cannot subscribe to private channel. Tried all the solutions online but still it isn't working
    ...

    Is it a crash report? Submit stack traces or anything that you think would help

    error produced - com.pusher.client.AuthorizationFailureException:
    code - 403
    My gist link of the code I used - https://gist.github.com/MosesWangira/6b388678d928f84ba57ad48b16833a08

    ...

    Any improvements you suggest

    provide message why subscription failed. The message is always empty.
    ...

    CC @pusher/mobile

  3. MosesWangira commented on Sep 24, 2021

    @MosesWangira
    Author

    I have used it on the gist provided above but the message is empty
    https://gist.github.com/MosesWangira/6b388678d928f84ba57ad48b16833a08

    actually my main issue is why it is not subscribing to the private channel. What am I missing??

  4. benw-pusher commented on Sep 29, 2021

    @benw-pusher

    Code 403 would indicate that the issue is that the auth endpoint received the request but refuses to authorize it. You may need to check your auth endpoint logs to find out why the webserver/application is rejecting the request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions