in reply to Connect to a *secure* websocket server (wss)
I've encountered that error at least twice and was twice stumped by it.
You're launching an asynchronous connection, but never launch the IO loop driving everything. Add this at the bottom of your script:
Mojo::IOLoop->start unless Mojo::IOLoop->is_running;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Connect to a *secure* websocket server (wss)
by bliako (Abbot) on Sep 24, 2025 at 14:51 UTC |