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

How do I specify 'eu' cluster? #15

Open
factormaarten opened this issue May 23, 2018 · 1 comment
Open

How do I specify 'eu' cluster? #15

factormaarten opened this issue May 23, 2018 · 1 comment

Comments

@factormaarten
Copy link

Hi,

I'm constantly getting this error:

ApiClients\Client\Pusher\PusherErrorException: Did you forget to specify the cluster when creating the Pusher instance? App key 8201*****02830 does not exist in this cluster.

I'm on the eu cluster

@WyriHaximus
Copy link
Member

Hey @mpjraaij,

You can do that by creating the client like this:

AsyncClient::create($loop, 'appID', null, 'cluster-here');

Or are you using the sync client? Just noticed that one doesn't support clusters yet. Will add it tonight unless you want to PR it?

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