Skip to content

🙌 OpenHands: AI-Driven Development

fix: Runtime local docker environment HTTPStatusError (#7648)

蔡政特02af9865ece6
diff --git a/openhands/runtime/impl/docker/docker_runtime.py b/openhands/runtime/impl/docker/docker_runtime.py
index e7e0834618..9fe7946e07 100644
--- a/openhands/runtime/impl/docker/docker_runtime.py
+++ b/openhands/runtime/impl/docker/docker_runtime.py
@@ -44,7 +44,13 @@ def _is_retryable_wait_until_alive_error(exception):
return _is_retryable_wait_until_alive_error(cause)
return isinstance(
- exception, (ConnectionError, httpx.NetworkError, httpx.RemoteProtocolError)
+ exception,
+ (
+ ConnectionError,
+ httpx.NetworkError,
+ httpx.RemoteProtocolError,
+ httpx.HTTPStatusError,
+ ),
)