Skip to main content

All Questions

Tagged with
0 votes
0 answers
14 views

Best Practice for Broadcasting Dynamic (updating) Product Prices in Laravel 11 with Vue 3 Frontend

I am developing an e-commerce platform using Laravel 11 for the backend and Vue 3 for the frontend, which requires near real-time updates of product prices and stock levels in response to currency ...
Skeletor's user avatar
  • 3,353
0 votes
0 answers
40 views

Laravel echo TypeError: Cannot read properties of undefined (reading 'channel')

I'm using Laravel for backend and Vue for frontend. I'm also using Vite as my bundler and laravel echo for broadcasting. I'm trying to create a websocket to show newly added comments in real time. ...
User's user avatar
  • 1
1 vote
2 answers
281 views

Implementing websockets for real-time updates in Laravel and Vue.js

I have an app in Laravel for the backend and Vue.js and Quasar for the front end. I have a view in Vue.js that sends a request every 5 seconds. I would like to know how I can implement web sockets. I ...
Orlando Correa Jiménez's user avatar
2 votes
3 answers
716 views

401 (Unauthorized) when subscribing to private-channel in Pusher (Vue/Laravel)

I've set up a Vue3/Laravel app with a live-chat via Pusher which works over non-private channel chat. In the next step I want to use a private channel but something weird happens. The pusher.subscribe ...
Artur Müller Romanov's user avatar
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 ...
warmxd's user avatar
  • 25
1 vote
3 answers
885 views

Pusher error: cURL error 7: Failed to connect to 127.0.0.1 port 6001: Connection refused

I'm developing an application with separate Laravel 10 and Vue 3. I wanted to implement real time events with Laravel broadcasting but I'm running into some problems. I connect to the websockets from ...
Federico Tassara's user avatar
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
1k views

WebSocket connection to 'wss://domain:6001/app/websocketkey?protocol=7' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

I'm facing an issue : WebSocket connection to 'wss://domain:6001/app/websocketkey?protocol=7&client=js&version=4.4.0&flash=false' failed: Error in connection establishment: net::...
Jahanzaib Tariq's user avatar
1 vote
0 answers
134 views

Connect frontend Vue JS to Laravel websocket on kubernetes

first sorry for my english. I need connect my frontend VueJs to my Laravel Websocket, both environment on Kubernetes, my backend deployment have two service, one service is tha API serve (it's work ok)...
Deivis Leandro's user avatar
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&...
HBilal Khan's user avatar
0 votes
1 answer
56 views

Why I am not receving response ?( Details not updating in Laravel Vue js Web Sockets)

(PHP ^7.2.5 and laravel ^7.24 , beyondcode laravel:^1.12pusher/pusher-php-server 5.0.3 Library for interacting with the Pusher REST API ) Env FileThis is my env file. Id and Key values are real ...
Rahul Baraiya's user avatar
1 vote
0 answers
493 views

Vue/Laravel WebSockets Listening more than one event

I have some problems developing WebSockets with Laravel and Vue. Until now everything worked fine until I needed to implement a function that will listen to more events on one channel. The interesting ...
Rade Ilijev's user avatar
0 votes
0 answers
692 views

pusher or websockets always says 403 forbidden

i'm new to websockets and pusher i did follow the documentation and this tuto https://www.youtube.com/watch?v=7MvN0w5BW48 but i got this error that says Unable to retrieve auth string from auth ...
Belhaj-rbg's user avatar
0 votes
1 answer
72 views

How to persist data for newly logged in users?

I just wanted to ask on how can I persist data coming from previously fired events in Laravel. A sample scenario: admin updates a database record, it should then be broadcasted to all users(currently ...
user avatar
3 votes
0 answers
840 views

Laravel Echo not listening to event in real-time chat

I am practicing real time chat with laravel vue.js pusher websocket. I have copied credientials and setup everything accordingly but Echo is not listening to event. I checked it by placing message in ...
Mohammad Fahad Rao's user avatar

15 30 50 per page