Questions tagged [laravel-broadcast]
The laravel-broadcast tag has no usage guidance.
laravel-broadcast
45
questions
0
votes
1
answer
57
views
Laravel Ably broadcast not working after user login
I'm using ably for broadcasting notifications in my admin panel,
I've followed this repo https://github.com/ably/laravel-broadcaster, to setup ably/laravel-broadcaster and ably larvel echo for the ...
0
votes
0
answers
23
views
Unable to subscribe to the presence channel on socket.io. Keeps erroring out
I'm using Laravel Echo and [email protected] clients in a React Native project. When I use my dev server everything works fine, but when I switch to my server's production (a copy from Dev) I can connect ...
0
votes
1
answer
367
views
Laravel Reverb Client Side Error Connection is unauthorized
I'm encountering an issue while creating a chat app using Laravel 11 and ReactJS. Here's the setup:
Laravel 11 for the backend APIs.
ReactJS for the frontend, which is a separate application.
I'm ...
0
votes
0
answers
213
views
How to authorize users to access private channels in Laravel Broadcasting using cookie authentication?
I am developing an application in Laravel that uses Broadcasting to implement real-time functionality using laravel/reverb. Currently, I am trying to authorize users to access private channels using ...
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.
...
0
votes
0
answers
34
views
Laravel Broadcasting: Private Channel Authentication Issue with Nwidart Module
I'm encountering a 403 error when attempting to authenticate private channels in Laravel Broadcasting with the Nwidart module. Specifically, the error occurs at the route http://127.0.0.1:8080/...
0
votes
1
answer
240
views
How to avoid timeout when running time consuming jobs in Laravel
In my laravel application i do a form submit to execute a time consuming task by calling shell_exec(my_time_conusming_Script.sh) . The process executes successfully on the background. But the ...
0
votes
2
answers
392
views
Not able to listen to public events in Laravel + ReactJs + Soketi
I've been trying to implement a chat application that can listen to a NewMessage event in my backend which is in Laravel and I want to read these events in my Frontend which is a vite-react-app.
I ...
0
votes
2
answers
675
views
How to achieve EventBroadcast by using presence channel in laravel 8?
I am very new to the laravel Event Broadcasting Concept ,i have some requirement without refreshing page i need to update the data in Angular site.i made a presence channel by using pusher.i called my ...
0
votes
1
answer
790
views
Why Notification is queued in redis without implements ShouldQueue?
In laravel 9 app I use queues with redis and for that in notifications which must be queued I wrote :
class CurrencyRatesImportRunNotification extends Notification implements ShouldQueue // IT IS ...
0
votes
0
answers
206
views
How to restrict sent and received data from Laravel broadcast event?
I tried to find an answer for my question on Google but everywhere on internet I mostly find information about Private channels and Public channels on Laravel Event Broadcast.In my recent project I ...
2
votes
1
answer
2k
views
laravel echo wont subscribe to private channel even the user is authenticated
I'm using
Laravel: 8.54
Laravel Sanctum: 2.11
Pusher Php Server: 7.0
NuxtJs: 2.15.7
pusher-js: 7.0.4
laravel-echo: 1.11.3
Event Class
<?php
namespace App\Events;
use Illuminate\Broadcasting\...
1
vote
0
answers
751
views
How to send notification to specific users using Laravel Scheduler?
I ask this question while I have done researches to find clear solution for this problem but many of available answers are just how to use Laravel Scheduler itself!
So I am creating a simple website ...
3
votes
1
answer
824
views
Why Laravel Authorizing Private Broadcast Channels is not working? "channels.php" not working
I'm trying to authorize a private channel.
I'm using Vue.js as SPA, Laravel Sanctum for auth, and Laravel for api.
As the Laravel's documentation, I wrote my channel callbacks on "channels.php&...
0
votes
1
answer
1k
views
Laravel-echo showing 401 (Unauthorized) for private channel except one user
I am getting 401 (Unauthorized) status for laravel private channel from reactJS.
This is working for userId=1 but returning 401 for all other users.
Here is the code for Laravel
class ...