Questions tagged [laravel-websockets]

190 questions
0
votes
1 answer

How to reset channel of window.echo on changing of route reactjs

I am using laravel-websockets to listen to event. I have no issue on the back-end side; The issue is on the front-end side. SCENARIO: When I go to a specific route post/[slug], the current channel is based on the current slug. When I redirect to the…
smzapp
  • 809
  • 1
  • 12
  • 33
0
votes
1 answer

Laravel web sockets(beyondcode) suddenly stopped working

One day I realized that my web sockets are not working in my production Apache server. So, I tried to debug there and found nothing wrong, queues are working, socket clients are connecting but not receiving anything on clients side. How? - No…
iamsubingyawali
  • 193
  • 1
  • 2
  • 15
0
votes
1 answer

Deploy Laravel Websockets to Amazon EC2 Instance with AWS Certificate Manager to handle SSL

I developed a real time chat app with Laravel Websockets/Websockets API on localhost + Self Signed Certificate to use a SSL in local development. Everything works up to this point. I uploaded everything to the test server + setup supervisord to run…
0
votes
1 answer

Unable to configure laravel websocket with laravel 9

Is there any issue with laravel 9 im not getting the api message on my dashboard nither my Echo is…
0
votes
0 answers

Laravel webscoket with Docker, Dispatch not working

I created containers with Docker app, nginx and websocket The connection work perfect but when I dispatch nothing happen. Client side window.io = io; window.Echo = new Echo({ broadcaster: "pusher", key:…
Ion
  • 39
  • 3
  • 13
0
votes
0 answers

custom guards unable to connect to Private Channels

I know that there are a lot of SO questions, but I still can't fix my problem. I have users that use a custom guard. I can run public channels without problems, though. 'guards' => [ ... 'chat-user' => [ 'driver' => 'jwt', …
Mr. Kenneth
  • 384
  • 1
  • 2
  • 14
0
votes
0 answers

Laravel websockets throwing curl error when trying to publish an event

Good day everyone, i have setup laravel websockets but when i try to publish a public event i get this curl error cURL error 77: error setting certificate verify locations:\n CAfile: /etc/ssl/certs/ca-certificates.crt\n CApath:…
Abhay
  • 27
  • 7
0
votes
0 answers

Laravel and vuejs real-time notification not showing into console from Laravel Websockets

I got response into Pusher but the issue is I' m not able to receive the notification in my console. Main.js // Broadcasting realtime notification import Echo from 'laravel-echo'; import Pushar from 'pusher-js'; window.Pusher = Pushar; window.Echo…
Happy Arif
  • 95
  • 2
  • 7
0
votes
0 answers

Fresh install laravel 8 event not showing in laravel websocket dashboard

Before I posted this question, I checked other SO/articles with the same problem but did not really fixed anything. My freshly installed Laravel 8 application is not registering the events in dashboard though I can see the events if in Laravel.log…
Mr. Kenneth
  • 384
  • 1
  • 2
  • 14
0
votes
0 answers

Events not being broadcasted in Laravel WebSocket Dashboard

I am experiencing a weird problem where my Laravel Websockets suddenly stopped. It was working on both HTTP and HTTPS fine a few days back. The problem is, my Events are being fired but are not being broadcasted to the Laravel Websockets…
Deacon
  • 9
  • 3
0
votes
0 answers

Laravel Tenant broadcast try to connect to master db

First of all, thanks for your time. I don't usually ask questions, but I've been stuck with this problem for several days. I am making a SPA application in Laravel multi-tenant. I use passport to authenticate in the api. For the multitenant I use…
SevenOlle
  • 1
  • 1
0
votes
1 answer

Laravel echo listenForWhisper not working with laravel-websockets

I'm trying to create a room where we will broadcast changes made to a document. Currently, I have the following code: const channel = window.Echo.private('some-channel'); setInterval(() => { channel.whisper('something', { payload: 'foo' }); },…
Bruno Francisco
  • 3,841
  • 4
  • 31
  • 61
0
votes
1 answer

Broadcast::channel method is not being called

I am using laravel-websockets package by beyondcode and it is working great for public channels. However when i switch to a private channel, the event is fired but my client cannot listen. I have discovered the channel authorization callback is not…
Noble Eugene
  • 523
  • 1
  • 5
  • 15
0
votes
0 answers

How to set a broadcast driver in the event of laravel?

I have an event like this
iamafasha
  • 848
  • 10
  • 29
0
votes
1 answer

Problem when using Docker and Nginx as reverse proxy for Laravel WebSocket

I've set up my Laravel project with docker and docker-compose. I've exposed port 6001, which is the port for running the WebSocket as default, and configured Nginx based on the documentation, but when I try to connect to my WS server using my…
Mehrab HP
  • 51
  • 7