"Connection to Remote Host Was Lost." Error

i am trying to make a little program with websocket, but after like 30min of running, i get this big error websocket._exceptions.WebSocketConnectionClosedException: Connection to remote host was lost.

(full error : )

can someone help me to fix that ?

(the whole code :)

1
Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article