WildClawBench icon indicating copy to clipboard operation
WildClawBench copied to clipboard

http_proxy in Docker image v1.3

Open shockylove opened this issue 7 months ago • 2 comments

Description During the evaluation of WildClawBench, I noticed that the Docker image hosted on Hugging Face (v1.3) contains a hardcoded internal proxy environment variable: http_proxy=100.104.40.233:7897

This appears to be an accidental residue from the build environment (likely a local Clash/Mihomo proxy on the developer's machine) rather than a functional requirement for the benchmark.

Impact For users running the benchmark in a restricted or different network environment, this hardcoded proxy causes connection timeouts or "Connection Refused" errors when the agent attempts to call external APIs (OpenRouter, Brave Search, etc.), as the container tries to route traffic through a non-existent internal IP 100.104.40.233.

Evidence

  • Image Metadata: Running docker inspect on the image reveals http_proxy and https_proxy set in the Env layer.
  • Workflow: Neither script/prepare.sh nor eval/run_batch.py requires this proxy.
  • Fix Verification: Manually clearing the variables (e.g., ENV http_proxy="") restores normal network connectivity for standard HTTPS requests.

Suggested Fix Please update the Docker image build process to ensure local environment variables are not baked into the image layers. A clean build of v1.4 without these proxy settings would be highly appreciated.

Workaround for other users Create a simple Dockerfile to override the variables:

FROM internlm/wildclawbench-ubuntu:v1.3
ENV http_proxy="" https_proxy="" HTTP_PROXY="" HTTPS_PROXY=""

shockylove avatar Apr 18 '26 03:04 shockylove

Hi, thanks for the thorough investigation!

You're correct that the proxy was accidentally baked into the image. As a quick workaround without rebuilding, we've included two variables in the .env file for this:

HTTP_PROXY_INNER=
HTTPS_PROXY_INNER=

Just leave them empty and the container will skip the proxy entirely. No image rebuild needed. We hope this serves as a more convenient workaround in the meantime. Thanks again!

LennoxDai avatar Apr 18 '26 14:04 LennoxDai

Kindly re-open this issue if you are still experiencing the problem.

yuhangzang avatar Apr 20 '26 02:04 yuhangzang