2 years 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
2 years 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 • over 1 year ago
Status changed to Solved ray-chen • over 1 year ago
Status changed to Open brody • over 1 year ago
2 years 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 • over 1 year ago
Status changed to Awaiting User Response mago • over 1 year ago
2 years 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 • over 1 year ago
2 years 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 • over 1 year ago
7 months ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 7 months ago
