mezuky

Broadcasting on live server not working

Posted 1 year ago by mezuky

Hello everyone,

I have a chat application that uses Pusher and Laravel 5.3 broadcasting features. All things where ok until the app was deployed. On the live version, pusher events are not catched by laravel echo. The difference between the two versions is that the live version runs over https.

It seems to be a problem with pusher authorization. For the local version, in pusher console the events connection, subscribed and occupied are fired. Also, the authorization request returns an auth code with status 200 (image here).

On the live version only the connection event is fired in pusher console. Also, the authorization request does not return an auth code, but an empty response with status 200.

Does anyone know what should be changed in order to make broadcasting work on https? Thanks

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.