You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to create a simple ratchet socket server as a Lumen microservice to make it really simple to get websockets implemented into a project or homestead box.
But I'm wondering how to get this set up. It should be served via domain or sub-domain so that users can run laravel-echo-ratchet
Nothing else will run in the service so it can simply run on port 443 and terminate upstream to the actual ratchet server, or on port 80 if the user would for some reason not want to use SSL.
But when I try to fire up the server php artisan ratchet:serve --driver=WsServer -z using an actual hostname I get an error:
Given URI "tcp://example.test:8080" does not contain a valid host IP
Hey Will,
I'm attempting to create a simple ratchet socket server as a Lumen microservice to make it really simple to get websockets implemented into a project or homestead box.
But I'm wondering how to get this set up. It should be served via domain or sub-domain so that users can run
laravel-echo-ratchet
Nothing else will run in the service so it can simply run on port 443 and terminate upstream to the actual ratchet server, or on port 80 if the user would for some reason not want to use SSL.
But when I try to fire up the server
php artisan ratchet:serve --driver=WsServer -z
using an actual hostname I get an error:So ... I set my host to 127.0.0.1 and port 8080
I set up nginx with the following upstream:
Then in my server block for port 443
The server and zmq socket start up fine ...
but when I try to connect via the test app with:
I get this:
Do you think this is something specific to Homestead? My certificates are all up to date and functioning.
The text was updated successfully, but these errors were encountered: