Questions tagged [laravel-websockets]

190 questions
0
votes
2 answers

Laravel Echo not listening channels

I use laravel Echo with Vue and Quasar Framework. On backend: Laravel 9 and Laravel Websockets (php). Websockets server working, authentication completed, in Chrome "Network" tab i see websocket connection. All messages in "Network" tab recieved, in…
0
votes
0 answers

Pusher Error: Not Found on laravel-websocket dashboard when creating event

I want to host a laravel-websocket server and I have been able to test it very well on localhost and it works fine. But when I hosted using Nginx and supervisor and went to the /laravel-websockets I am able to connect to the app and I see…
iamafasha
  • 848
  • 10
  • 29
0
votes
0 answers

Laravel doesn't pass port in request when connecting to websocket

I have a problem with laravel-websockets which is not connecting to port 6001 or others. The port number is simply not passed in the request. The page https://website.com/laravel-websockets working fine with a properly passed port in the request. My…
0
votes
1 answer

Get user data in laravel-websocket handlers

I use laravel-websocket for get my user online/offline status. This is my onClose function code in WebSocketHandler.php file: public function onClose(ConnectionInterface $connection) { $allChannels =…
BlackHill
  • 1
  • 1
  • 6
0
votes
1 answer

Laravel websockets AWS EC2 - Connection failed

I'm using laravel-websockets and is working like a charm in my local docker machine but I can't seem to make it work when I deploy it in the AWS EC2 machine. This is the error message I get: pusher.min.js:8 WebSocket connection to…
0
votes
2 answers

Cannot connect to laravel-websocket CORS issue

I deployed my laravel application in GCP. I also set up SSL on my application https://myapp.com. It was working fine connecting to the pusher server. Then I switched to laravel-web sockets. I modified the same code in my /var/www/myapp with the…
iPhoneJavaDev
  • 821
  • 5
  • 33
  • 78
0
votes
1 answer

why do you need to use a third party server for websockets

I saw this answer why do I need a third-party server for websockets about using a third-party server for WebSocket but I didn't understand what the meaning of Laravel itself is not a WebSocket server and when working with a service like pusher then…
Omar Abdelaziz
  • 477
  • 1
  • 6
  • 16
0
votes
0 answers

why "Only run in command line mode" show when run "php artisan serve"

when run "php artisan serve" and open browser with url localhost:8000 show Only run in command line mode i use this library https://github.com/zhouaini528/binance-php/blob/master/README.md#Websocket
0
votes
1 answer

Laravel Websockets with SSL Configuration not Working

Laravel Websockets not working with Https worked fine without ssl configuration tried every thing found in the documnetion link https://beyondco.de/docs/laravel-websockets/basic-usage/ssl but nothing has worked Here my websockets…
sai nani
  • 45
  • 2
  • 7
0
votes
1 answer

How may I use Postman to connect to laravel-websockets running within Docker

I want to test receiving events broadcasted from my laravel app via laravel-websockets. The app and websockets are running successfully in docker and I have supervisor keeping everything up and running. My problem is, with Postman's websocket…
user3389171
  • 141
  • 3
  • 17
0
votes
0 answers

how to set up your Laravel-WebSockets via SSL

The Problem is Laravel-Websockets and Laravel-Echo combination works fine until you want to secure the connection by using SSL HTTP -> HTTPS so I installed SSL Certificate on LocalHost (xampp, also I tried that on the live server too and got the…
PHM La
  • 198
  • 3
  • 11
0
votes
1 answer

Laravel websocket private channel with pusher broadcast/auth return 403 error

I tried to use laravel websocket with ionic; i used laravel-echo-ionic on my ionic project in BroadcastServiceProvider.php i commented the Broadcast::routes() and added it to routes/api.php Broadcast::routes(['middleware' => ['auth:api']]); I used…
Michel Gisenaël
  • 211
  • 1
  • 2
  • 15
0
votes
1 answer

Laravel websocket pusher error and too many connection error

I have Server with Centos OS, 10 core processors, 68 gb of ram I have created an app in which I am uploading csv of records 500k. After uploading, read the data in chunks and dispatched the job for each chunk $file =…
Manoj Thakur
  • 75
  • 1
  • 9
0
votes
1 answer

How to access port 6001 over HTTPs on apache server

I'm currently using laravel-echo-server and websockets (socket.io) to broadcast events to my React application that is on a separate server. As far as it looks, everything set up on the back end and front end are correct. The only issue I'm running…
pbrune
  • 348
  • 1
  • 17
0
votes
2 answers

Laravel Websockets with separate servers

I'm trying to implement Laravel Websockets with multiple servers. I have an App server and a Queue Worker server running. I tried to broadcast my notifications from the Queue Worker server but I'm getting lluminate\Broadcasting\BroadcastException:…
senty
  • 12,385
  • 28
  • 130
  • 260