|
|
@ -30,7 +30,9 @@ async def _announce_server(**kwargs): |
|
|
|
break |
|
|
|
except Exception as e: |
|
|
|
print(e) |
|
|
|
print(f"Failed to connect to host, retrying in {RETRY_INTERVAL} seconds") |
|
|
|
print( |
|
|
|
f"Failed to connect to host server, retrying in {RETRY_INTERVAL} seconds" |
|
|
|
) |
|
|
|
await asyncio.sleep(RETRY_INTERVAL) |
|
|
|
# await sio.connect(f'http://{HOST_SERVER_IP}:{HOST_SERVER_PORT}') |
|
|
|
print("Connected to host") |
|
|
|