All Questions
70
questions
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
221
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 ...
0
votes
1
answer
308
views
laravel-echo and socket.io are unable to connect with laravel-echo-server
i am new to web sockets, i am using laravel echo, redis, socket.io with laravel-echo-server. But when i console.log(window.Echo.connector.socket.connected), it prints false in console.
My terminal ...
0
votes
1
answer
190
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
178
views
Laravel Echo Server , Socket IO , Nginx problem
we are trying to use laravel echo server , socket io , redis on nginx webserver for a page that we need to have real time informations on it , our laravel website and realtime is working on local ...
0
votes
1
answer
216
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 ...
0
votes
1
answer
45
views
Laravel Websockets issues - Public events working but not private - Getting 401 error
I am using Laravel on a NON spa app with vue 3.
I am also using Sanctum for an API but do not use it for the non SPA communications.
When I broadcast a public websocket event, I receive it in the ...
0
votes
0
answers
619
views
laravel-echo, Pusher - is there any way to send message from client to server?
I am new in websockets, now i'm trying to figure out, is there any way to send message to server through channel, not by traditional HTTP requests.
My init code:
window.Pusher = Pusher
window.Echo = ...
0
votes
1
answer
242
views
How to use Laravel Echo in SvelteKit (SSR)?
How do you set-up Laravel Echo in Svelte (SSR)?
I tried the following code from the documentation but it doesn't seem to work.
import Echo from "laravel-echo"
window.Pusher = require('...
0
votes
1
answer
118
views
Connect node JS server to remote laravel-echo-server channel
I have two servers, server 1 hosting laravel echo and server 2 hosting NodeJS. I want server 2 to be able to listen and transmit on a laravel-echo channel which is in server 1.
Anyone have an idea on ...
1
vote
1
answer
1k
views
Laravel Echo not receiving events from self hosted websocket
I have a Laravel application, running through docker-compose, and am trying to setup a Soketi self hosted Websocket, that is also run as a docker container
Everything is, as far as I can tell, running ...
1
vote
0
answers
230
views
Laravel event broadcasting not working with Pusher, event not being received on front-end
I've created a chat app, which is working fine on my localhost, but on production event is not being broadcast. I have used a handle to see if event is working as expected but i think it isn't.
class ...
0
votes
0
answers
1k
views
Problem with implementing Laravel echo in websocket
I'm struggling with implementing Websocket on Laravel.
I'm using laravel-echo-server on the server side. I have some notifications that I want to send with Websocket and then get on the client-side ...
3
votes
2
answers
4k
views
Laravel Websockets events not firing
I've implemented Laravel Websockets along with Echo in my local environment and everything is working, but when deploying to production, it appears a connection can be made and it's subscribed to the ...
1
vote
0
answers
209
views
Laravel Vue websockets running but not working on unbutu server
Hello laravel websocket is working on local but when I deployed on ubuntu server it showing the following error.
http://sockjs.pusher.com/pusher/app/MY_KEY/288/iqbkjca8/xhr_streaming?protocol=7&...