Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Connect to a *secure* websocket server (wss)

by Corion (Patriarch)
on Sep 24, 2025 at 14:19 UTC ( [id://11166352]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11166352]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2025-11-11 14:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (68 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.