Problem with Pusher/Laravel-Websockets and Let's Encrypt SSL certificates

Viewed 12

I'm trying to correctly setup a pusher server with laravel websockets on production, I can connect to websockets server from the client but when I try to fire to broadcast an event I get the following:

"message\": \"Pusher error: .\",
    \"exception\": \"Illuminate\\\\Broadcasting\\\\BroadcastException\",
    \"file\": \"C:\\\\xampp\\\\htdocs\\\\wooloveapp.com\\\\vendor\\\\laravel\\\\framework\\\\src\\\\Illuminate\\\\Broadcasting\\\\Broadcasters\\\\PusherBroadcaster.php\",
    \"line\": 128

As you see error message appears empty, I think this might be related to ssl certificates(Lets Encrypt), when I look into the folder they are placed the certificates appear red.

https://i.imgur.com/0bnEh36.png

Also I'm not sure I'm using the correct paths/certificates for pusher/laravel-websockets

LARAVEL_WEBSOCKETS_SSL_LOCAL_CERT=/etc/letsencrypt/live/laravelapp.com/fullchain.pem
LARAVEL_WEBSOCKETS_SSL_LOCAL_PK=/etc/letsencrypt/live/laravelapp.com/privkey.pem

Maybe I should use privkey1.pem instead? why are the names on red?

0 Answers
Related