Closed purnada closed 2 months ago
Sorry, didn't see this new issue when I replied to your comment on #176.
If you start the server with php artisan reverb:start --debug
, so you see any logs which provide more information?
this is the result when i run server with php artisan reverb:start --debug
This is the full error log
Pusher error:[stacktrace]
"}
I'm pretty sure that page is coming from Cloudflare. Looks like you need to update your Cloudflare to allow the request.
is this resolved i am getting same issue ?
Yes it is the issue of cloudflare.. if we will bypass the cloudflare it will work..
This code is work in localhost but when i push this code to the production server it will not work.. reverb connection is success but when i want to broadcast the event it throw the error
This is the connection status
my .env
BROADCAST_CONNECTION=reverb VITE_APP_NAME="${APP_NAME}"
REVERB_SERVER_HOST=127.0.0.1 REVERB_SERVER_PORT=8080
REVERB_APP_ID=920552 REVERB_APP_KEY=mop6z2fyoey59fm7l3ro REVERB_APP_SECRET=eehaek3gn748kcyfcqxq REVERB_HOST="reverb.xxxx.com" REVERB_PORT=443 REVERB_SCHEME=https
VITE_REVERB_APP_KEY="${REVERB_APP_KEY}" VITE_REVERB_HOST="${REVERB_HOST}" VITE_REVERB_PORT="${REVERB_PORT}" VITE_REVERB_SCHEME="${REVERB_SCHEME}"
my broadcast config is
my event file is
when i call this function
my route is
it through the error is
. {"userId":4,"exception":"[object] (Illuminate\Broadcasting\BroadcastException(code: 0): Pusher error: at /var/www/xxxx/vendor/laravel/framework/src/Illuminate/Broadcasting/Broadcasters/PusherBroadcaster.php:164)
Originally posted by @purnada in https://github.com/laravel/reverb/issues/176#issuecomment-2089899961