mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-07-22 04:15:24 -04:00
Sandbox network error issue : workflow code node throws sandbox network error issue while running from DEV server #48
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gobind08 on GitHub (May 23, 2025).
Issue Description
I have setup the dify (version 0.15.3) in my local pc and same is deployed to our Dev server as well. but workflow containing code node fails to run in my DEV server due to sandbox network error, though it works fine in my local machine (localhost). we don't have our own sandbox infra in our DEV server.
can we use dify-sandbox from our DEV server somehow through proxy/whitelisting or Do we need to standup our own sandbox infra in our DEV server, to make code node work (if yes, what is configuration for sandbox we need to have and/or what is process around it) ?
Below is sandbox container config in my docker-compose in my local pc and DEV server.
# The DifySandbox
sandbox:
image: langgenius/dify-sandbox:latest
restart: always
cap_add:
# Why is sys_admin permission needed?
# https://docs.dify.ai/getting-started/install-self-hosted/install-faq#id-16.-why-is-sys_admin-permission-needed
- SYS_ADMIN
environment:
# The DifySandbox configurations
API_KEY: dify-sandbox
GIN_MODE: release
WORKER_TIMEOUT: 15
ENABLE_NETWORK: 'true'
Please refer the attached screenshot for error. Any help in this regard would be greatly appreciated.
@AllenWriter commented on GitHub (May 26, 2025):
Hi, thank you for providing the detailed problem description. But here is the documentation repo, not a technical support channel.
I’m afraid unable to address the issue you mentioned here.
You can submit your request or issue to the main Dify GitHub repository.