FAQ & Troubleshooting
Solutions and diagnostic steps for frequent operational issues.
1. Port 9317 Already in Use
Symptom
Startup fails with EADDRINUSE: address already in use 127.0.0.1:9317.
Resolution
- Check if another instance or background service is already running:
- If running as a service, manage via
aio-proxy service status. - To terminate a stale process:
2. Docker Container Inaccessible from Host
Symptom
Container starts successfully, but curl http://localhost:9317/v1/models returns Connection refused.
Resolution
Ensure the container startup command specifies --host 0.0.0.0. By default, the server binds to 127.0.0.1 inside the container namespace, preventing port forwarding from the host.
3. Upstream 502 / Connection Timeout
Symptom
Requests fail with 502 Bad Gateway or upstream connection timeout.
Resolution
- Check outbound proxy settings under
proxyinconfig.jsonc. - Inspect the request in the Dashboard's Traces page to view the exact error returned by the upstream provider.
- Use the Test probe button on the provider card to verify connectivity.