Sandbox Initialization Failed
Tool server failed to start Details: Container initialization timed out. Please try again.
I tried with a local model and a remote model:
cat ~/.strix/cli-config.json
{
"env": {
"STRIX_LLM": "ollama/gemma3:1b",
"LLM_API_KEY": "ollama",
"LLM_API_BASE": "http://127.0.0.1:11434",
"LLM_TIMEOUT": "1200"
}
}
cat ~/.strix/cli-config.json
{
"env": {
"STRIX_LLM": "deepseek/deepseek-v4-flash",
"LLM_API_KEY": "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"LLM_API_BASE": "https://api.deepseek.com",
"LLM_TIMEOUT": "1200"
}
}
I'm seeing something similar with the following error in the container. I'm using the latest version of Docker Desktop. No errors in the logs.
Started Caido with PID 7 on port 48080
Waiting for Caido API to be ready...
ERROR: Caido process died while waiting for API (iteration 2).
=== Caido log ===
thread 'main' panicked at proxy/src/runtime.rs:29:29:
Unable to create data directory: /home/pentester/.local/share/caido
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
The failure here is the old container/tool-server initialization path, which has been reworked — the separate in-container tool server was removed and the sandbox now comes up via the openai-agents SDK. (The follow-up Caido ~/.local/share/caido panic is a separate data-dir/permissions symptom worth its own issue if still seen.) Recommend verifying on current main and closing the original report.
When I try to verify, I get a problem with 'socksio' package.
Please have a look at the following output:
➜ bin ./strix --target https://www.shouqiyuncai.net
07:38:29 - LiteLLM:WARNING: get_model_cost_map.py:271 - LiteLLM: Failed to fetch remote model cost map from https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json: Using SOCKS proxy, but the 'socksio' package is not installed. Make sure to install httpx using `pip install httpx[socks]`.. Falling back to local backup.
LLM warm-up failed
Traceback (most recent call last):
File "main.py", line 219, in warm_up_llm
File "strix/config/models.py", line 64, in configure_sdk_model_defaults
File "agents/tracing/__init__.py", line 112, in set_tracing_disabled
File "agents/tracing/setup.py", line 53, in get_trace_provider
File "agents/tracing/processors.py", line 645, in default_processor
File "agents/tracing/processors.py", line 77, in __init__
File "httpx/_client.py", line 700, in __init__
File "httpx/_client.py", line 750, in _init_proxy_transport
File "httpx/_transports/default.py", line 191, in __init__
ImportError: Using SOCKS proxy, but the 'socksio' package is not installed. Make sure to install httpx using `pip install httpx[socks]`.
╭─ STRIX ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ LLM CONNECTION FAILED │
│ │
│ Could not establish connection to the language model. │
│ Please check your configuration and try again. │
│ │
│ Error: Using SOCKS proxy, but the 'socksio' package is not installed. Make sure to install httpx using `pip install │
│ httpx[socks]`. │
│ │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
➜ bin pip install 'httpx[socks]'
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: httpx[socks] in /usr/local/lib/python3.11/site-packages (0.28.0)
Requirement already satisfied: anyio in /usr/local/lib/python3.11/site-packages (from httpx[socks]) (4.12.0)
Requirement already satisfied: certifi in /usr/local/lib/python3.11/site-packages (from httpx[socks]) (2025.11.12)
Requirement already satisfied: httpcore==1.* in /usr/local/lib/python3.11/site-packages (from httpx[socks]) (1.0.7)
Requirement already satisfied: idna in /usr/local/lib/python3.11/site-packages (from httpx[socks]) (3.4)
Requirement already satisfied: socksio==1.* in /usr/local/lib/python3.11/site-packages (from httpx[socks]) (1.0.0)
Requirement already satisfied: h11<0.15,>=0.13 in /usr/local/lib/python3.11/site-packages (from httpcore==1.*->httpx[socks]) (0.14.0)
Requirement already satisfied: typing_extensions>=4.5 in /usr/local/lib/python3.11/site-packages (from anyio->httpx[socks]) (4.15.0)
➜ bin
Then I try to install it inside the container:
docker run -it ghcr.io/usestrix/strix-sandbox:1.0.0 /bin/bash
pip install 'httpx[socks]'
ERROR: Could not find a version that satisfies the requirement httpx[socks] (from versions: none)
ERROR: No matching distribution found for httpx[socks]
Then I try to install it inside the container:
docker run -it ghcr.io/usestrix/strix-sandbox:1.0.0 /bin/bash pip install 'httpx[socks]' ERROR: Could not find a version that satisfies the requirement httpx[socks] (from versions: none) ERROR: No matching distribution found for httpx[socks]
This is caused by proxy setting:
env | grep -i proxy
https_proxy=http://127.0.0.1:48080
NO_PROXY=localhost,127.0.0.1
HTTPS_PROXY=http://127.0.0.1:48080
HTTP_PROXY=http://127.0.0.1:48080
http_proxy=http://127.0.0.1:48080
ALL_PROXY=http://127.0.0.1:48080
After unset them, I can run pip install httpx[socks] successfully.
Even though, I still get the error:
Error: Using SOCKS proxy, but the 'socksio' package is not installed. Make sure to install httpx using `pip install │
│ httpx[socks]`.