mardi 30 janvier 2018

PusherError App key does not exist in this cluster

I am trying to user pusher in laravel 5.4 in xampp with php 5.6.4

"vinkla/pusher": "^2.3"

But getting error as App key does not exist in this cluster

Error

{"type":"WebSocketError","error":{"type":"PusherError","data":{"code":4001,"message":"Did you forget to specify the cluster when creating the Pusher instance? App key 04f5869e102fa2eb9902 does not exist in this cluster."}}}

broadcasting.php

'pusher' => [
            'driver' => 'pusher',
            'key' => env('PUSHER_APP_KEY'),
            'secret' => env('PUSHER_APP_SECRET'),
            'app_id' => env('PUSHER_APP_ID'),
            'options' => [
              'cluster' => env('PUSHER_APP_CLUSTER'),
              'encrypted' => true,
            ],
        ]

env

BROADCAST_DRIVER=pusher
PUSHER_APP_ID=
PUSHER_APP_KEY=04f5869e102fa2eb9902 
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=ap2

Pusher : Connecting : {"transport":"ws","url":"wss://ws.pusherapp.com:443/app/04f5869e102fa2eb9902?protocol=7&client=js&version=3.1.0&flash=false"}



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2DOKDXW
via IFTTT

Aucun commentaire:

Enregistrer un commentaire