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;
In reply to Re: Connect to a *secure* websocket server (wss)
by Corion
in thread Connect to a *secure* websocket server (wss)
by bliako
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |