This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
how to detected in controller if the websockets is not running? #958
Unanswered
constantinosergiou
asked this question in
Q&A
Replies: 3 comments 1 reply
-
php artisan websockets:server check this is working or not using call method |
Beta Was this translation helpful? Give feedback.
0 replies
-
i have the same issue my websocket server is running and when i try to send an event from the websocket dashboard
|
Beta Was this translation helpful? Give feedback.
1 reply
-
I searched but couldn't help much, so this is my current solution $pusher = Broadcast::pusher(config('broadcasting.connections.pusher'));
$pusher->getChannels();
return true; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
e.g
make this error if the websockets not run
Pusher error: cURL error 7: Failed to connect to 127.0.0.1 port 6001: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
Beta Was this translation helpful? Give feedback.
All reactions