9 months ago
I've deployed Dify on Railway and the deployment looks succeeded.
But I'm facing the following issues.
- On template block, it stops with the error "Failed to execute code, which is likely a network issue, please check if the sandbox service is running. ( Error: [Errno 111] Connection refused )". It looks Sandbox is not working or not configured properly
- Uploaded files in Knowledge are stuck with the status "Queuing" with 0% (Set vector DB as Qdrant cloud)
I'm suspecting the issue is related to env configuration. But could not figure out how to solve.
Could someone help pointing out what's wrong with my env config?
Here are the error message shown and logs.
Here I made a Railway template for Dify based on the one by @jack
I know there was some discussion on this thread but no solution yet.
I've set env configs with referring the yaml file by Dify
Looking forward to getting help and solve this issue and make every Railway user to deploy Dify smoothly.
Thanks!
4 Replies
9 months ago
Hey mago, unfortunately this looks like an issue with the template itself and we're unable to help with specific template issues unrelated to the Railway platform.
We've raised this up to the template creator and will consolidate any further discussions/issues in https://help.railway.app/templates/dify-a02ad146. Thank you for reporting this!
Status changed to Awaiting User Response railway[bot] • 9 months ago
Status changed to Solved ray-chen • 9 months ago
Status changed to Open brody • 9 months ago
9 months ago
Quick Open / Close to let you know that the Dify template has been fixed, you can deploy the template again.
Status changed to Solved brody • 9 months ago
Status changed to Awaiting User Response mago • 9 months ago
9 months ago
Hey Brody, great to hear the template has updated by jack. I've tried deployment with it and confirmed the issue related knowledge retrieval has resolved but the another issue is still persisting.
- On template block, it stops with the error "Failed to execute code, which is likely a network issue, please check if the sandbox service is running. ( Error: [Errno 111] Connection refused )". It looks Sandbox is not working or not configured properly
Looking forward to getting fixed this remaining issue soon and use Dify properly.
Status changed to Awaiting Railway Response railway[bot] • 9 months ago
9 months ago
Sandbox was recently added and Jack will be looking to integrate it when he has the time, I will notify you when he had added that.
Status changed to Awaiting User Response railway[bot] • 9 months ago