Install volcengine_maas success, but started error #841

Closed
opened 2026-02-16 10:20:41 -05:00 by yindo · 4 comments
Owner

Originally created by @easayliu on GitHub (Nov 30, 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 Dify issues & Dify Official Plugins, 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

1.10.1

Plugin version

0.0/33

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Install volcengine_maas on plugin marketplace, it success. when i configure the volcengine_maas and save,it is loading. I found the log on plugin-deemon

✔️ Error log

2025/12/01 02:28:52 run.go:147: [INFO]plugin langgenius/volcengine_maas:0.0.33 started
2025/12/01 02:28:52 run.go:135: [ERROR]plugin langgenius/volcengine_maas:0.0.33 exited with error: exit status 1
e/cwd/langgenius/volcengine_maas-0.0.33@1624226bfdfe432e65fe6ade86aa33ba2d192c5696159fa86e28e2947b7d8652/.venv/lib/python3.12/site-packages/volcenginesdkarkruntime/_client.py", line 27, in <module>

    from ._models import BaseModel

  File "/app/storage/cwd/langgenius/volcengine_maas-0.0.33@1624226bfdfe432e65fe6ade86aa33ba2d192c5696159fa86e28e2947b7d8652/.venv/lib/python3.12/site-packages/volcenginesdkarkruntime/_models.py", line 40, in <module>

    from ._utils import (
  File "/app/storage/cwd/langgenius/volcengine_maas-0.0.33@1624226bfdfe432e65fe6ade86aa33ba2d192c5696159fa86e28e2947b7d8652/.venv/lib/python3.12/site-packages/volcenginesdkarkruntime/_utils/__init__.py", line 13, in <module>

    from ._utils import (
  File "/app/storage/cwd/langgenius/volcengine_maas-0.0.33@1624226bfdfe432e65fe6ade86aa33ba2d192c5696159fa86e28e2947b7d8652/.venv/lib/python3.12/site-packages/volcenginesdkarkruntime/_utils/_utils.py", line 35, in <module>

    import sniffio

ModuleNotFoundError: No module named 'sniffio'



2025/12/01 02:28:52 run.go:185: [INFO]plugin langgenius/volcengine_maas:0.0.33 stopped
Originally created by @easayliu on GitHub (Nov 30, 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 [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/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 1.10.1 ### Plugin version 0.0/33 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Install volcengine_maas on plugin marketplace, it success. when i configure the volcengine_maas and save,it is loading. I found the log on plugin-deemon ### ✔️ Error log ``` log 2025/12/01 02:28:52 run.go:147: [INFO]plugin langgenius/volcengine_maas:0.0.33 started 2025/12/01 02:28:52 run.go:135: [ERROR]plugin langgenius/volcengine_maas:0.0.33 exited with error: exit status 1 e/cwd/langgenius/volcengine_maas-0.0.33@1624226bfdfe432e65fe6ade86aa33ba2d192c5696159fa86e28e2947b7d8652/.venv/lib/python3.12/site-packages/volcenginesdkarkruntime/_client.py", line 27, in <module> from ._models import BaseModel File "/app/storage/cwd/langgenius/volcengine_maas-0.0.33@1624226bfdfe432e65fe6ade86aa33ba2d192c5696159fa86e28e2947b7d8652/.venv/lib/python3.12/site-packages/volcenginesdkarkruntime/_models.py", line 40, in <module> from ._utils import ( File "/app/storage/cwd/langgenius/volcengine_maas-0.0.33@1624226bfdfe432e65fe6ade86aa33ba2d192c5696159fa86e28e2947b7d8652/.venv/lib/python3.12/site-packages/volcenginesdkarkruntime/_utils/__init__.py", line 13, in <module> from ._utils import ( File "/app/storage/cwd/langgenius/volcengine_maas-0.0.33@1624226bfdfe432e65fe6ade86aa33ba2d192c5696159fa86e28e2947b7d8652/.venv/lib/python3.12/site-packages/volcenginesdkarkruntime/_utils/_utils.py", line 35, in <module> import sniffio ModuleNotFoundError: No module named 'sniffio' 2025/12/01 02:28:52 run.go:185: [INFO]plugin langgenius/volcengine_maas:0.0.33 stopped ```
yindo added the bug label 2026-02-16 10:20:41 -05:00
yindo closed this issue 2026-02-16 10:20:41 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Nov 30, 2025):

Hi @easayliu! I'm Dosu and I’m helping the dify-official-plugins team.

The error happens because the volcengine_maas plugin is missing the required Python dependency sniffio, which is not listed in its requirements.txt file or installed by default in the plugin's environment (source).

To fix this, you can manually add sniffio to the plugin's requirements:

  1. Edit the requirements.txt for the plugin (located at /app/storage/cwd/langgenius/volcengine_maas-0.0.33.../requirements.txt or in your plugin source) and add:
    sniffio
    
  2. Rebuild the plugin's Python environment. If you have shell access to the container, you can run:
    source .venv/bin/activate
    pip install sniffio
    
    Or restart the plugin so it reinstalls dependencies from the updated requirements.txt.

This should resolve the startup error. If you update the plugin in the future, check that all required dependencies are listed in requirements.txt to avoid similar issues.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Nov 30, 2025): <!-- Greeting --> Hi @easayliu! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the dify-official-plugins team. <!-- Answer --> The error happens because the volcengine_maas plugin is missing the required Python dependency `sniffio`, which is not listed in its requirements.txt file or installed by default in the plugin's environment ([source](https://github.com/langgenius/dify-official-plugins/blob/3e0b614056d4791eae0b07af9e38b8a9e2b8d016/models/volcengine_maas/requirements.txt#L1-L6)). To fix this, you can manually add `sniffio` to the plugin's requirements: 1. Edit the `requirements.txt` for the plugin (located at `/app/storage/cwd/langgenius/volcengine_maas-0.0.33.../requirements.txt` or in your plugin source) and add: ``` sniffio ``` 2. Rebuild the plugin's Python environment. If you have shell access to the container, you can run: ``` source .venv/bin/activate pip install sniffio ``` Or restart the plugin so it reinstalls dependencies from the updated requirements.txt. This should resolve the startup error. If you update the plugin in the future, check that all required dependencies are listed in requirements.txt to avoid similar issues. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/dc9f7669-6fe4-4fe6-9a99-212499c44582?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/dc9f7669-6fe4-4fe6-9a99-212499c44582?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/dc9f7669-6fe4-4fe6-9a99-212499c44582?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/dc9f7669-6fe4-4fe6-9a99-212499c44582?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/dc9f7669-6fe4-4fe6-9a99-212499c44582?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/dc9f7669-6fe4-4fe6-9a99-212499c44582?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/dc9f7669-6fe4-4fe6-9a99-212499c44582?feedback_type=other)</sup> [![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=The%20error%20happens%20because%20the%20volcengine_maas%20plugin%20is%20missing%20the%20required%20Python%20dependency%20%60sniffio%60%2C%20which%20is%20not%20listed%20in%20its%20requirements.txt%20file%20or%20installed%20by%20default%20in%20the%20plugin%27s%20environment%C2%A0%28%5Bsource%5D%28https%3A//github.com/langgenius/dify-official-plugins/blob/3e0b614056d4791eae0b07af9e38b8a9e2b8d016/models/volcengine_maas/requirements.txt%23L1-L6%29%29.%0A%0ATo%20fix%20this%2C%20you%20can%20manually%20add%20%60sniffio%60%20to%20the%20plugin%27s%20requirements%3A%0A%0A1.%20Edit%20the%20%60requirements.txt%60%20for%20the%20plugin%20%28located%20at%20%60/app/storage/cwd/langgenius/volcengine_maas-0.0.33.../requirements.txt%60%20or%20in%20your%20plugin%20source%29%20and%20add%3A%0A%20%20%20%60%60%60%0A%20%20%20sniffio%0A%20%20%20%60%60%60%0A2.%20Rebuild%20the%20plugin%27s%20Python%20environment.%20If%20you%20have%20shell%20access%20to%20the%20container%2C%20you%20can%20run%3A%0A%20%20%20%60%60%60%0A%20%20%20source%20.venv/bin/activate%0A%20%20%20pip%20install%20sniffio%0A%20%20%20%60%60%60%0A%20%20%20Or%20restart%20the%20plugin%20so%20it%20reinstalls%20dependencies%20from%20the%20updated%20requirements.txt.%0A%0AThis%20should%20resolve%20the%20startup%20error.%20If%20you%20update%20the%20plugin%20in%20the%20future%2C%20check%20that%20all%20required%20dependencies%20are%20listed%20in%20requirements.txt%20to%20avoid%20similar%20issues.)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify-official-plugins/issues/2155)
Author
Owner

@nadazero commented on GitHub (Dec 1, 2025):

官方发布前完全不测试的么?只要运行就能必现的bug.......

@nadazero commented on GitHub (Dec 1, 2025): 官方发布前完全不测试的么?只要运行就能必现的bug.......
Author
Owner

@hjlarry commented on GitHub (Dec 2, 2025):

try 0.0.34

@hjlarry commented on GitHub (Dec 2, 2025): try 0.0.34
Author
Owner

@snailq commented on GitHub (Dec 2, 2025):

langgenius/zhipuai version 0.0.19
langgenius/zhipuai_tool version 0.0.2
存在同样的问题

@snailq commented on GitHub (Dec 2, 2025): langgenius/zhipuai version 0.0.19 langgenius/zhipuai_tool version 0.0.2 存在同样的问题
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#841