Yahoo finance failed #11981

Closed
opened 2026-02-21 19:05:06 -05:00 by yindo · 3 comments
Owner

Originally created by @wo198777 on GitHub (Mar 22, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

answer

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @wo198777 on GitHub (Mar 22, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version answer ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce ![Image](https://github.com/user-attachments/assets/13d294e1-c6c9-47f3-9930-001065451ffd) ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🐞 bug label 2026-02-21 19:05:06 -05:00
yindo closed this issue 2026-02-21 19:05:06 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Mar 22, 2025):

Hello, @wo198777! I'm here to assist you with any bugs, questions, or contributions. Let's work together to resolve your issue.

I found a similar open issue regarding executing OS commands using Python's os and subprocess modules in Dify's self-hosted Docker environment. The issue is likely due to security restrictions, such as the Seccomp Whitelist Policy, file system isolation, and network isolation, which prevent unauthorized execution of OS commands [1].

While this specific issue is about os and subprocess, the security restrictions might also affect the yfinance library if it requires network access or other restricted operations. You might need to adjust the security settings or explore alternative approaches that comply with these restrictions.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Mar 22, 2025): <!-- Greeting --> Hello, @wo198777! I'm here to assist you with any bugs, questions, or contributions. Let's work together to resolve your issue. <!-- Answer --> I found a similar open issue regarding executing OS commands using Python's `os` and `subprocess` modules in Dify's self-hosted Docker environment. The issue is likely due to security restrictions, such as the Seccomp Whitelist Policy, file system isolation, and network isolation, which prevent unauthorized execution of OS commands <sup>[[1]](https://github.com/langgenius/dify/issues/10002)</sup>. While this specific issue is about `os` and `subprocess`, the security restrictions might also affect the `yfinance` library if it requires network access or other restricted operations. You might need to adjust the security settings or explore alternative approaches that comply with these restrictions. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/0620c1f2-d186-4aca-9546-fb7f23e9cd4b?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/0620c1f2-d186-4aca-9546-fb7f23e9cd4b?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/0620c1f2-d186-4aca-9546-fb7f23e9cd4b?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/0620c1f2-d186-4aca-9546-fb7f23e9cd4b?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/0620c1f2-d186-4aca-9546-fb7f23e9cd4b?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/0620c1f2-d186-4aca-9546-fb7f23e9cd4b?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/0620c1f2-d186-4aca-9546-fb7f23e9cd4b?feedback_type=other)</sup>
Author
Owner

@wo198777 commented on GitHub (Mar 22, 2025):

so how to resolve it ???

@wo198777 commented on GitHub (Mar 22, 2025): so how to resolve it ???
Author
Owner

@crazywoola commented on GitHub (Mar 22, 2025):

For operation not permit, please see https://github.com/langgenius/dify-sandbox/blob/main/FAQ.md

@crazywoola commented on GitHub (Mar 22, 2025): For `operation not permit`, please see https://github.com/langgenius/dify-sandbox/blob/main/FAQ.md
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#11981