602 questions
0
votes
0
answers
88
views
Laravel reverb/echo useEchoPublic callback not triggering
I have a feeling I'm doing something very stupid but I cannot get the callback on useEchoPublic to fire no matter what I try
The event is structured like so, this is pulled straight from the browser ...
0
votes
0
answers
260
views
Laravel 12, Laravel Reverb error with connection type
VPS GoDaddy, AlmaLinux. I'm writing a messenger and used the following technology stack: Laravel Reverb, Redis. I installed Reverb like this:
php artisan install:broadcasting
I couldn't configure the ...
0
votes
1
answer
318
views
Laravel Reverb + React integration
I have been struggling in getting Laravel Reverb to work with React in production. I have a Laravel API backend (apache) with a separate React frontend (ngnix) and I can get my integration working ...
0
votes
0
answers
49
views
Laravel Livewire Starter Kit not receiving a Laravel notification broadcast via echo
I have the folllowing noitification:
<?php
namespace App\Notifications;
use App\Models\Comment;
use App\Models\Ticket;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Bus\Queueable;
...
0
votes
0
answers
71
views
laravel reverb + next js deployed to Google Cloud Run is missing events?
in a test purpose, created below:
Route::get('/test-item/{subId}', function ($subId) {
// Retry logic: Retry 3 times with 3 seconds delay between attempts
$maxRetries = 3;
$retryDelay = 3; // in ...
0
votes
0
answers
182
views
Keep track of disconnected users on Laravel with Reverb
I’m using Laravel Reverb and Laravel Echo to make my frontend real-time, but I ran into an issue where I can’t fully monitor when a user disconnects directly from the server. Could you help me find a ...
0
votes
1
answer
2k
views
Laravel Reverb Web Socket Connection Failed
When trying to connect websocket in VPS having issues while working great in local with Laravel-Reverb.
Getting the following error:
app-91M7mm_A.js:13 WebSocket connection to 'wss://dev.srv675327....
0
votes
0
answers
133
views
Laravel reverb Websocket does not connect correctly in cpanel host with SSL
Websocket doesn't connect in frontend when application is on cpanel host and the stranger thing is if we open reverb port in other browser tab and take 'not found' as response, It will start to ...
0
votes
1
answer
110
views
Laravel Broadcasting not firing on the Job Queue
I am creating a AI ChatBot. The message is entered on the frontend (Livewire) and then stored in the database. A model "created" listener then pushes a job onto the queue which asks the AI (...
0
votes
0
answers
71
views
Laravel websocket message is not received on localhost
I'm trying to build a real-time notification system.
config/broadcasting.php:
'connections' => [
'pusher' => [
'driver' => 'pusher',
'key' => env('...
0
votes
1
answer
884
views
Why am I getting a 401 Unauthorized on Laravel Echo's authentication to a Private Channel?
I'm building a template project for myself, and I've got Reverb and Echo working as intended with regular channels, but when using private channels, the /broadcasting/auth route returns a 401 ...
0
votes
2
answers
935
views
Laravel 11 reverb connection using rest api and custom auth giving 403 forbidden
I am using laravel 11 in my web application. I am trying to implement reverb connection between my laravel 11 and react front end using rest api. The websocket connection seems established but the ...
0
votes
1
answer
161
views
Laravel websocket with beyondcode library and laravel echo event is not firing or echo is not listening the event
i am working with laravel 8 and beyondcode library to work with laravel websocket and realtime chat when i am triggering an event with tinker or controller my laravel echo in the frontend not getting ...
0
votes
1
answer
781
views
Laravel Echo Auth Request Not Sending Cookie in Headers
My client side laravel-echo is not sending cookie param in headers, braodcasting/auth requires a cookie in headers to authorize websocket connection, when I try sending the same request with fetch it ...
0
votes
1
answer
297
views
Laravel Echo not receiving data from Pusher events in React JS APP
I would like to track the changes in the column "status" in my database in real-time in my react-js app, so I created a Laravel job to update the column. So I created an event that will be ...
0
votes
1
answer
641
views
Laravel Livewire 3 unmount hook/lifecycle
I am wondering if there is any mechanism or hook which would fire when a component unmounts. I looked through both v2 and v3 docs and I couldn't find something like that.
Use case: I am looking to ...
0
votes
0
answers
777
views
Problem connecting to the soketi on the server
I am going to setup a websocket
I have used soketi package
But I am facing a problem in connecting to the web socket
which now i will get this error
code: 4001
message: "App key ---- does not ...
2
votes
3
answers
2k
views
How to us laravel-echo and pusher-js with Typescript
I am trying to install and use laravel-echo and pusher-js. I have the following:
bootstrap.ts
import Pusher from 'pusher-js';
import Echo from 'laravel-echo';
window.Pusher = Pusher;
window.Echo = ...
0
votes
4
answers
374
views
Laravel echo null and sockets in Flutter
So I was trying to use Laravel echo null package and it's connecting and it sends the data I give I can see it in the web version of the app which is built using vue js but here when I'm listening to ...
0
votes
0
answers
216
views
Problem connecting to Laravel Websockets from React Native
I'm having problems with Laravel Websockets. I build a chat app using Laravel Websockets, Vue.JS and Laravel-Echo. The web app works correctly, so I started working in a Mobile version with React ...
0
votes
0
answers
101
views
ReferenceError: Pusher is not defined
enter image description here
Websocket can run well but there is still an error, namely Reference Pusher is not defined, what should I do.
export const echoInstance = new Echo({
broadcaster: "...
0
votes
1
answer
381
views
Client laravel-echo does not respond to server events
I'm trying to build my docker sample to work with php8.2, laravel10, websockets and redis.
I have already prepared all the necessary docker images and combined them with the Caddy proxy.
I also used ...
0
votes
1
answer
716
views
Laravel Livewire 3 dispatch not working with laravel echo private [duplicate]
I am building notification for new messages and want to broadcast these notifications to client side, instantly. My code can broadcast a new message notification, but the problem is listening to data ...
0
votes
1
answer
310
views
Laravel Broadcasting with Soketi listening to channel via Echo is not working
I'm using Laravel Broadcasting with Soketi and I'm trying to listen to the jobs channel and JobFailedEvent. So here is my code.
class JobFailedEvent implements ShouldBroadcast
{
use ...
4
votes
0
answers
363
views
Vitest and unimport with axios, pusher and/or Echo on window object
I'm using vitest and @vue/test-utils to test a Laravel/Vue3 UI. The boostrap.js file adds axios, pusher and Echo to the window object and the components then have access to use them directly without ...