I have Laravel running in a Docker environment with the packages mysql,nginx and php-fpm. I use it as an API. I want to add the websocket, the server is started via php artisan websocket:serve using supervisor. I can’t connect to the statistic laravel-websockets, I don’t see any ping pong on console. What am i doing ..
I’m using nginx-proxy as a reverse proxy for my containers in a web server. I have a Laravel backend application with a Vue frontend and they comunicate via Websockets using Laravel Websockets. The communication works fine locally between the backend and frontend containers via HTTP but I’m having trouble to use it in a web ..
I have a Docker environment running Laravel and I want to get laravel-websockets working. When I visit here: http://localhost:8000/laravel-websockets I get the following error: Dev tools gives me the following: WebSocket connection to ‘ws://localhost:6001/app/local?protocol=7&client=js&version=4.3.1&flash=false’ failed: Connection closed before receiving a handshake response I’ve got the following docker-compose.yaml: version: "3.8" services: server: build: context: . dockerfile: ..