Skip to main content

Questions tagged [laravel-echo]

Use for problems with laravel-echo, the official laravel WebSocket implementation.

laravel-echo
0 votes
1 answer
26 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 ...
dannypas00's user avatar
0 votes
0 answers
32 views

Events are not being broadcasted as expected

My event broadcast is not working and I can't find out why. Providing all relevant files and config here. Processes running: php artisan websockets:serve php artisan queue:work My .env relevant ...
Guilherme Souza's user avatar
0 votes
0 answers
36 views

Trying to understand authentication with laravel-echo #27771

What I want to solve I want to implement Laravel-Echo to my Nuxt3 Application. As Laravel is my backend, I am using Sanctum as auth provider. What my attempt looks like I am using nuxt-auth-sanctum, ...
SPQRInc's user avatar
  • 148
0 votes
1 answer
154 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 ...
Selvakumar Eswaran's user avatar
0 votes
0 answers
75 views

Laravel Echo Pusher [message":"Auth info required to subscribe to private-App.Models.PharmacyUser.1"]

I'm using Laravel and Pusher to create an api for a mobile app, using broadcasting with pusher: class BroadcastServiceProvider extends ServiceProvider { /** * Bootstrap any application ...
Jarliev Pérez's user avatar
0 votes
0 answers
41 views

Laravel Echo & Pusher status code 200 but frontend no notification

I’m trying to broadcast notifications via a private channel to my web application for users who are logged in. Here’s what I’ve done so far: I set up Laravel Echo and Pusher. When I test with php ...
Zephys's user avatar
  • 51
0 votes
1 answer
54 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 ...
Gautam Yadav's user avatar
0 votes
0 answers
131 views

NextJS not listening Events on Laravel Echo

I created an api in Laravel and a front end in NextJS, in Laravel 11 I am using reverb as the documentation says: https://laravel.com/docs/11.x/reverb#main-content I'm using Horizon to manage my ...
Filipe Louro's user avatar
0 votes
1 answer
97 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 ...
Arman Ali's user avatar
1 vote
0 answers
92 views

Laravel Echo: Exposing Websocket Keys on the Client-Side

This is my first time posting here, so I apologize if my formatting isn't quite right. I'm currently working with Laravel Echo to enable real-time event listening on the frontend of my application. ...
Sofia's user avatar
  • 11
0 votes
0 answers
127 views

Webscoket in angular 17

Help, I don't know how to use websocket in angular 17 I try with socket.io and pusher, but my proyect didn´t work I look in a lot of pages but no one works. I did the api and the websocket conection ...
Ereh 8000 copas's user avatar
0 votes
1 answer
99 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 ...
aliii's user avatar
  • 13
3 votes
2 answers
2k views

Laravel 10 with reverb connection failed

I have laravel reverb working well in development, but can't get it to work in production. I always get the error in the console that websocket connection to 'my domain' failed In my .env: ...
maximus1127's user avatar
  • 1,026
0 votes
0 answers
79 views

Listening to user disconnect events with Soketi WebSocket

I am utilizing a NextJS front-end and a Laravel back-end, with Soketi managing the WebSocket server. From my front end, using Laravel Echo, I can listen to connection events from the WebSocket server. ...
Cdescamps's user avatar
0 votes
1 answer
219 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 ...
Vivere's user avatar
  • 2,160

15 30 50 per page
1
2 3 4 5
40