fix: improve tunnel diagnostics and add --no-autoupdate
- Remove --rm from docker run so failed containers persist for inspection - Add --no-autoupdate flag to prevent cloudflared from exiting on auto-update - Capture both stdout and stderr from docker logs - Check container exit code during wait loop; fail fast with logs if container exits early - Include exit code in timeout error message for easier debugging
This commit is contained in:
@@ -380,6 +380,3 @@ def find_free_port(start: int = 10000, end: int = 20000) -> int:
|
||||
return port
|
||||
|
||||
raise RuntimeError(f"No free port found in range {start}-{end}")
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user