-
Notifications
You must be signed in to change notification settings - Fork 10.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: operation not permitted #4993
Comments
@neptune4year Hello there! I'm here to help you with bug fixes, answer your questions, and guide you to become a contributor. Let's work together to resolve any issues you're experiencing while we wait for a human maintainer. The "operation not permitted" error in your self-hosted Dify setup using Docker is likely due to restrictions in the Docker environment. Here are steps to resolve the issue:
By following these steps, you should be able to resolve the "operation not permitted" error in your Docker setup [1][2]. |
Could you pls provide a bit more information? such as your code and logs |
What's your sandbox version? upgrade to 2.1 may solve this. |
I also have this error. It looks like it happened randomly. Re executing will get success. |
i have the same question,our prod env use 0.6.6 not have this question |
0.6.6 not this question |
The version 0.6.6 doesn’t have this issue, can see what the differences are between them. |
I encountered the same problem |
I also have this problem, especially when executing to the iteration node |
always fail when I import third-party library import numpy
def main(arg1: str, arg2: str) -> dict:
return {
"result": arg1 + arg2,
} also fail even if I don't import it but only select the package in the advanced dependencies. works well in sandbox command line. |
The operation was denied due to ./var/sandbox/sandbox-python/python.so, check this blog. One solution is to rebuild the .so file as described in the blog. However, to keep the service simple, it might be better to create another service for all specific operations and communicate with it via HTTP requests? |
i had the same problem, how is it going here? |
I am running into the same issue, and the stability is a serious problem. This happens randomly, and I cannot reproduce it. |
use the latest version: https://github.com/langgenius/dify-sandbox/releases/tag/0.2.4 |
Still receiving |
For |
Self Checks
Dify version
0.6.9
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
We configured a pipeline for our application, it contains following parts:
Then sometimes, it will occurs the "operation not permitted" error at the python function step. If we recall the service once again, it will run correctly with the same inputs and outputs.
✔️ Expected Behavior
fix the bug and make the process stable.
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: