langgenius / langgenius/dify-sandbox

Occasionally "Operation not permitted"

Open
#99 6 comments 2 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.3k
Forks
326
Avg merge
56m
Merged PRs (30d)
3

Description

I have read the [issue](https://github.com/langgenius/dify-sandbox/issues/97)

But my problem is different, with the same parameters, sometimes my code execution block can be successful, but sometimes it reports an error: `Operation not allowed`

I am also unable to find the relevant execution logs, and I have encountered the same problem while trying to upgrade the version. I have not found a stable reproduce logic, it interrupts the workflow execution every time it appears.

BTW, I'm using a [self-hosted deployment](https://docs.dify.ai/getting-started/install-self-hosted/local-source-code#clone-dify) method, and the version is 0.6.16.

The simplest step for reproduction:
1. Create the example code execution block
2. Rapidly click "Run this step" multiple times (about 10 to 30 times)

image

image

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure with the example code execution block and repeated “Run this step” clicks, using the self-hosted 0.6.16 setup described in the issue. Investigate the execution path and available logs to determine why repeated runs produce “Operation not permitted”; done means identifying a stable cause and preventing the workflow interruption.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.