-
Notifications
You must be signed in to change notification settings - Fork 656
Only console can emit message #939
Comments
wrong configuration |
It seems to be. But where do I have to take a look? Websocket.php, broadcast.php? |
hard to say with almost no information |
here is what it looks like: use BeyondCode\LaravelWebSockets\Dashboard\Http\Middleware\Authorize; return [
]; broadcasting.php return [
]; What should happen? an event is triggered within the onMessage method:
this leads to another class (which is working so far): BUT NewMessage::dispatch($data) seems to result in a timeout with the mentioned message (Failed to connect to pusher). This appears after about 30 seconds (looks like some timeout) and is dispatched after that. my problem is, that the 30 sec timeout should not appear. and my question is,why the broadcast still is fullfilled but only after the 30 secs? |
You need more as the files mentioned above? I figured out, that the events are triggered after a 30 second timeout. Could that be related to the notification_host? Cause when I set the timeout to 1 second, the event is emitted quite fast. |
Anyone? 😕 |
Test dev branch on a fresh laravel instalation |
All servers are up and running but for some reason I am only able to dispatch events from the console. Once I try to trigger an event from the backend application, from a controller for example, it always results in: Failed to connect to pusher.
Can anyone help here?
The text was updated successfully, but these errors were encountered: