Skip to main content

All Questions

Tagged with
2 votes
2 answers
4k views

How to connect websockets via socket.io from React to Laravel using laravel-echo-server?

I'm currently having a problem getting websockets set up with socket.io from React to Laravel using laravel-echo-server. Everything appears to be working except whenever I navigate to https://api....
pbrune's user avatar
  • 470
2 votes
3 answers
3k views

Can't establish a connection with javascript to a secure websocket server

My development environment is this: OS: Microsoft Windows 10 PHP framework: Laravel 8.0 PHP version 7.4 Websocket server: cboden/ratchet 0.4.3 WAMP server 3.2.0 (Apache 2.4.41) Firefox 91.0.1 (64-bit)...
jgarcias's user avatar
  • 609
0 votes
0 answers
495 views

Laravel WebSockets is closed before the connection is established

I have Managed VPS and i encountered this error when i try to use websockets with apache. here is my env part. i have configured seperate subdomain for websockets which have its own ssl. and in ...
Abdul Quddoos's user avatar
4 votes
2 answers
4k views

Laravel Websockets Apache2 ReverseProxy setup

Problem I am trying to setup a live environment with laravel websockets library behind an apache server. The Websocket server is running on port 6001 (unreachable from outside). The Apache VHost is ...
polyamid23's user avatar
2 votes
0 answers
120 views

Laravel Websockets: Invalid status line

I'm trying to connect to my websockets server from outside the local network. I deployed a web app based on Laravel, everything works fine when developing locally, but deploying the app to my ...
Mikel Granero's user avatar
0 votes
1 answer
524 views

WSS Secure Websockets on Elastic Beanstalk with Apache PHP and Laravel

Having issues getting secure websockets to work in laravel on AWS elastic beanstalk. They work fine in dev and production over http & ws. In dev it works fine over https and wss. In production (...
Ryk Waters's user avatar
1 vote
0 answers
170 views

Real-time does not work in production (Laravel-echo)

Follow the settings... larave-echo-server.json { "authHost": "https://meusite.com.br", "authEndpoint": "/broadcasting/auth", "clients": [ { "appId": "***", ...
Felipe Duarte's user avatar