You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 7, 2024. It is now read-only.
"pusher/pusher-php-server": "^4.1"
Having done all that, I do not understand why the real time statistics are not working. The errors I'm getting from the console are
POST http://127.0.0.1/laravel-websockets/auth 404 (Not Found)
GET http://127.0.0.1/laravel-websockets/api/local/statistics 404 (Not Found)
I'm on Windows and using xampp.
The text was updated successfully, but these errors were encountered:
Is your site just localhost or localhost/laravel-websockets?
I ask because /laravel-websockets is the dashboard url so if your app is only localhost, /laravel-websockets probably shouldn't be in the routes.
@timgithinji So the thing with this is that it somehow worked as a counter-pattern with saving statistics by calling a controller, so it needed to resolve some domain names & co.
If you can and have the patience to see the upgrade guide for 2.x: #447, you can install 2.0.0-beta.8 that fixes this bug.
I'm trying to set up Laravel web sockets on my localhost but I'm having trouble getting the Real time statistics on the dashboard working.
In my config/broadcasting.php I have updated the pusher array according to the Laravel websockets documentation.
On the .env I've updated the broadcast driver
I have also accordingly updated the bootstrap.js file as follows
The pusher version I'm pulling in the composer is
"pusher/pusher-php-server": "^4.1"
Having done all that, I do not understand why the real time statistics are not working. The errors I'm getting from the console are
I'm on Windows and using xampp.
The text was updated successfully, but these errors were encountered: