Skip to main content

All Questions

Tagged with
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 ...
Benny's user avatar
  • 460
0 votes
0 answers
188 views

Trouble with WebSocket (wss) Connection Using Socket.IO in Laravel, Node.js (Redis + Socket.io), and Angular

I'm working on this project where I've got Laravel in the backend, Node.js with Redis and Socket.IO for websocket, and Angular in the frontend. Everything is working fine in my local environment but ...
Mit Kathrotia's user avatar
0 votes
0 answers
67 views

Laravel web socket package and sending request to server

I have used the Laravel web socket package for the persistent chat application. when i call the api this will store the message on database and the message will be broadcast. if i send 10 messages ...
Rehmat Ullah's user avatar
0 votes
0 answers
88 views

Setting up a dedicated server for Beyoncode Laravel Websockets

I have been working on this one for almost a week now. I am trying to build a standalone websockets server that can cater multiple clients at the same time. So far I am able to publish to the ...
Kim Carlo's user avatar
  • 1,221
0 votes
0 answers
64 views

Failed to resource: net::ERR_TUNNEL_CONNECTION_FAILED pusher.min.js

i m working on laravel websocket, it runs fine on my local, but when i deploy to server which doesn't has internet connection it failed, when i m trying to access http:localhost/laravel-websockets. ...
akmal990's user avatar
0 votes
0 answers
570 views

Laravel 10, Soketi pusher failed to broadcast event

I have been working with a project where I need the socket connection for realtime connection. I am using soketi for the socket provider with Laravel. My socket connection is working fine, but in my ...
Saiful Alam's user avatar
3 votes
3 answers
3k views

Laravel websocket error :Unhandled promise rejection with TypeError

when i run php artisan websockets:serve command, i get below error on my terminal. i installed pusher and websocket with composer require pusher/pusher-php-server and composer require beyondcode/...
Mehrabt's user avatar
  • 51
1 vote
0 answers
354 views

How To Run Laravel Websockets On Production

I have hosted my project on hostinger shared hosting. but i am not able start websocket server. So how I can start websocket server. When call websockets:serve via artisan call i face to timeout. I ...
Mohammad Ali 's user avatar
0 votes
0 answers
80 views

Could not load content for http://localhost:8000/js/pusher.js.map

console error : "DevTools failed to load source map: Could not load content for http://localhost:8000/js/pusher.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE" i ...
hel1993's user avatar
0 votes
1 answer
853 views

Laravel Echo with Soketi Not Broadcasting Events - Configuration Issue?

I want to trigger an event when a user's feed (of articles) is being updated. When the feed is updated, a FeedGenerated event is being broadcasted, and I would like my front-end to catch the event to ...
Gaël Duval's user avatar
0 votes
0 answers
83 views

How to emit an socket event from one file and listen to it from another file?

io.on('connection',(socket)=>{ console.log('connection'); socket.on('connected',(userid)=>{ users[userid]= socket.id; }); socket.on('updatecurr',()=>{ console.log('request'); ...
hammad raza's user avatar
1 vote
0 answers
629 views

Laravel websockets current state is unavailable

It's my first post on here but i'm desperate on finding the solution and I might need someone a little more experienced than me. Let you first give you the system specifics: OS: Almalinux, CPanel &...
Darry Mertens's user avatar
0 votes
0 answers
33 views

Why isn't my json response not returned after the new NewOrder Event has been broadcasted

My store controller function is supposed to create a new order, save the order into the database, then dispatch an event and finally return a json response to me. But its not, its only excuting one of ...
Trevor kayiira's user avatar
0 votes
1 answer
44 views

Socket error: WebSocketException: Connection to 'http://192.168.42.48:8000/api/users/?EIO=4&transport=websocket#' was not upgraded to websocket

I have applied my local web socket Api in flutter app it throws exception, tried a lot but can't find any solution, Api is in Laravel, on Laravel side I also use Socket.io package and Laravel-echo , ...
Muhammad Usman's user avatar
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 = ...
looqey's user avatar
  • 5

15 30 50 per page
1 2 3
4
5
33