Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Broken and can't resolve #1056

Closed
chirukinbb opened this issue Nov 4, 2022 · 1 comment
Closed

Broken and can't resolve #1056

chirukinbb opened this issue Nov 4, 2022 · 1 comment

Comments

@chirukinbb
Copy link

Hi, have a trouble:
run this websocket with letsencript certificate
it work some times without problem(broadcaster send messages)
then i create new events for broadcasters and reload socket
when i run socket i got in console
Starting the WebSocket server on port 6001...
but client give me
WebSocket connection to 'wss://***?protocol=7&client=js&version=7.2.0&flash=false' failed:
reason empty
i try return old code base (using git) but it not resolved trouble

ssl sertificate is good

how it possible?

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, 'host' => env('APP_HOST'), 'port' => env('LARAVEL_WEBSOCKETS_PORT', 6001), 'scheme' => 'https', 'curl_options' => [ 'CURLOPT_SSL_VERIFYHOST' => 0, 'CURLOPT_SSL_VERIFYPEER' => 0, ] ], ],

@madpilot78
Copy link

@chirukinbb Looks similar to #1041, you should try downgrading pusher-php-server to 7.0.2, as indicated in the other bug report.

@mpociot mpociot closed this as completed Dec 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants