Questions tagged [laravel-websockets]

190 questions
1
vote
0 answers

WebSocket connection to 'protocol=7&client=js&version=4.3.1&flash=false' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

I was implementing laravel websockets package in project it is working fine in my local machine but on server first it was giving error of Connection timeout That problem was solved when add TCP port in aws security group but after that it starts…
Bilal Arshad
  • 531
  • 3
  • 11
  • 33
1
vote
0 answers

how to increas maximum number of connection in laravel websocket (beyondco)

I am using laravel-websockets. My peak number of connection about 1000. How am I increase that?. I used jmeter to check that. this is the laravel websockets dashboard result.
1
vote
0 answers

InvalidArgumentException: Auth guard [admin] is not defined

I'm using Laravel echo locally hence using the forceTLS: false in bootstrap.js window.Echo = new Echo({ broadcaster: 'pusher', key: 'local', cluster: process.env.MIX_PUSHER_APP_CLUSTER, encrypted: true, disableStats: true, …
user3714932
  • 1,253
  • 2
  • 16
  • 29
1
vote
0 answers

laravel-websockets connect to channles without laravel-echo

I have a websocket server implemented with laravel-websockets package which broadcasts data on some private channels. At the moment server does not support two-way communication. I want to make this public for anyone to be able to connect to this…
1
vote
2 answers

beyondcode\laravel-websockets it is redirecting to wss instead of ws on localhost

I am using laravel version 5.7 and beyondcode\laravel-websockets package v1.3 the problem I am facing right now is when I am running it on localhost I am getting this error WebSocket connection to…
sam
  • 11
  • 5
1
vote
2 answers

Laravel Echo with Pusher and Vue

I use Laravel as a server part and Vue Cli as a client. Also I use https://docs.beyondco.de/laravel-websockets/ But I have a errors in console log when i try connect vue client to laravel websockets. WebSocket connection to…
0
votes
2 answers

Connection timeout Laravel 10 and soketi

I'm using docker for soketi, when an event is dispatched, I can see logs in soketi docker logs, but I have connection timeout issue on the browser with Laravel Echo. Here's my current setup: # docker-compose.yml soketi: image:…
0
votes
0 answers

React Native's pusher-websocket-react-native onEvent Method is not returning anything or any signs it's working

I'm using Laravel for backend and React Native for front end, I'm using Laravel Websockets to handle real time functionality https://beyondco.de/docs/laravel-websockets/getting-started/introduction I have this function on backend which dispatches an…
0
votes
0 answers

Laravel using WebSocket Configuration

I have a Laravel application with WebSocket functionality using the laravel-websockets package. The WebSocket setup works perfectly in my local environment, but when I deploy it to my live server, the WebSocket connections fail. The server returns a…
0
votes
0 answers

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 got error like this when i use pusher for my laravel app…
0
votes
0 answers

WebSocket connection to 'wss://**** failed: WebSocket is closed before the connection is established

app-bc5b78c1.js:9 WebSocket connection to 'wss://****.com:6001/app/key?protocol=7&client=js&version=7.6.0&flash=false' failed: WebSocket is closed before the connection is established. I'm use laravel 10 and beyondcode/laravel-websockets…
0
votes
0 answers

Connect esp8266 and arduino to laravel weebsockets pusher

I want to connect esp8266 node mcu to pusher replacement 'Laravel Websockets'. Can anyone help me to do that? If there is a way to connect to laravel webaockets without pusher-js or echo, Please tell me. Ways like using basic Js Websocket
0
votes
0 answers

Websockets using laravel websockets, redis for backend and default websocket api for client

I was researching how to implement WebSocket functionality using Laravel, and I came across various solutions that involved additional packages like Pusher, Socket.IO, Echo, and Echo Web Server. I'm curious to know if it's feasible to implement…
Gandrick
  • 1
  • 1
0
votes
0 answers

laravel 9 laravel-websocket Data encoding error

I have a laravel app that was upgraded from 8 to 9. And now I'm implementing Laravel Websockets. I have another app that is running in the same server that has websockets on port 6001 and that app works fine. This app is running websockets in port…
gilbertdim
  • 357
  • 2
  • 11
0
votes
0 answers

How to send message in laravel-websockets?

I am making a laravel pusher chatting app I have this function to store messages here i am triggering Event: event(new MessageSent($request->message, (int) $request->user()->id, $receiverId)); public function store(Request $request, ?int…