You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
Please do not modify this template :) and fill in all the required fields.
Content
if you encountered Error: Failed to execute code, got status code 502, please check if the sandbox service is running even after you checked sandbox service health, please check proxy settings for docker daemon.
This will result the api container using the configured proxy to communicate with sandbox container, and due to network address issue the request will fail.
To test if this is the situation:
in docker-compose.yaml, find services - api - environment, append these lines
then docker compose down && docker compose up -d, try again to see if you still encounter this error.
I see some people encountered the same issue like me but the original issue is locked so I can't answer them there.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Self Checks
Content
if you encountered
Error: Failed to execute code, got status code 502, please check if the sandbox service is running
even after you checked sandbox service health, please check proxy settings for docker daemon.This will result the
api
container using the configured proxy to communicate withsandbox
container, and due to network address issue the request will fail.To test if this is the situation:
in docker-compose.yaml, find services - api - environment, append these lines
then
docker compose down && docker compose up -d
, try again to see if you still encounter this error.I see some people encountered the same issue like me but the original issue is locked so I can't answer them there.
Beta Was this translation helpful? Give feedback.
All reactions