mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-08-22 12:42:22 +02:00
- faulthandler on the signed cold build caught the asyncio loop frozen in socket.create_connection inside is_running() (process.py): a synchronous httpx.get to "localhost:20128" called ~5x on the boot path before 9Router is up - on Windows a dead-port connect to "localhost" stalls ~7s each (tries ::1 first, loopback refusal is slow), freezing the loop ~18s so uvicorn could not answer the health probe -> cold backend-http-ready was ~23s - fix: probe 127.0.0.1 with a 0.3s TCP timeout first (measured 306ms vs ~7s), only HTTP-confirm when the port is open; 9Router binds 0.0.0.0 so reachability is unchanged. drop the faulthandler diagnostic from main.py