1 validation error for DifyPluginEnv #13823

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

Originally created by @rty813 on GitHub (May 13, 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

1.1.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

upgrade openai_api_compatible from 0.0.5 to 0.0.16

✔️ Expected Behavior

plugin run normal

Actual Behavior

throw exception

plugin_daemon-1  | 2025/05/13 09:08:34 run.go:143: [INFO]plugin langgenius/openai_api_compatible:0.0.16 started
plugin_daemon-1  | 2025/05/13 09:08:35 run.go:131: [ERROR]plugin langgenius/openai_api_compatible:0.0.16 exited with error: exit status 1
plugin_daemon-1  | 611b8984ad9f4cd4457/main.py", line 3, in <module>
plugin_daemon-1  | 
plugin_daemon-1  |     plugin = Plugin(DifyPluginEnv())
plugin_daemon-1  |                     ^^^^^^^^^^^^^^^
plugin_daemon-1  |   File "/app/storage/cwd/langgenius/openai_api_compatible-0.0.16@77274df8fe2632cac66bfd153fcc75aa5e96abbe92b5c611b8984ad9f4cd4457/.venv/lib/python3.12/site-packages/pydantic_settings/main.py", line 176, in __init__
plugin_daemon-1  | 
plugin_daemon-1  |     super().__init__(
plugin_daemon-1  |   File "/app/storage/cwd/langgenius/openai_api_compatible-0.0.16@77274df8fe2632cac66bfd153fcc75aa5e96abbe92b5c611b8984ad9f4cd4457/.venv/lib/python3.12/site-packages/pydantic/main.py", line 253, in __init__
plugin_daemon-1  | 
plugin_daemon-1  |     validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
plugin_daemon-1  | 
plugin_daemon-1  |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
plugin_daemon-1  | 
plugin_daemon-1  | pydantic_core._pydantic_core.ValidationError: 1 validation error for DifyPluginEnv
plugin_daemon-1  | REMOTE_INSTALL_URL
plugin_daemon-1  |   Field required [type=missing, input_value={'INSTALL_METHOD': 'local'}, input_type=dict]
plugin_daemon-1  |     For further information visit https://errors.pydantic.dev/2.11/v/missing
plugin_daemon-1  | 
plugin_daemon-1  | 
plugin_daemon-1  | 
plugin_daemon-1  | 2025/05/13 09:08:35 run.go:186: [INFO]plugin langgenius/openai_api_compatible:0.0.16 stopped
Originally created by @rty813 on GitHub (May 13, 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 1.1.3 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce upgrade openai_api_compatible from 0.0.5 to 0.0.16 ### ✔️ Expected Behavior plugin run normal ### ❌ Actual Behavior throw exception ``` plugin_daemon-1 | 2025/05/13 09:08:34 run.go:143: [INFO]plugin langgenius/openai_api_compatible:0.0.16 started plugin_daemon-1 | 2025/05/13 09:08:35 run.go:131: [ERROR]plugin langgenius/openai_api_compatible:0.0.16 exited with error: exit status 1 plugin_daemon-1 | 611b8984ad9f4cd4457/main.py", line 3, in <module> plugin_daemon-1 | plugin_daemon-1 | plugin = Plugin(DifyPluginEnv()) plugin_daemon-1 | ^^^^^^^^^^^^^^^ plugin_daemon-1 | File "/app/storage/cwd/langgenius/openai_api_compatible-0.0.16@77274df8fe2632cac66bfd153fcc75aa5e96abbe92b5c611b8984ad9f4cd4457/.venv/lib/python3.12/site-packages/pydantic_settings/main.py", line 176, in __init__ plugin_daemon-1 | plugin_daemon-1 | super().__init__( plugin_daemon-1 | File "/app/storage/cwd/langgenius/openai_api_compatible-0.0.16@77274df8fe2632cac66bfd153fcc75aa5e96abbe92b5c611b8984ad9f4cd4457/.venv/lib/python3.12/site-packages/pydantic/main.py", line 253, in __init__ plugin_daemon-1 | plugin_daemon-1 | validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self) plugin_daemon-1 | plugin_daemon-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ plugin_daemon-1 | plugin_daemon-1 | pydantic_core._pydantic_core.ValidationError: 1 validation error for DifyPluginEnv plugin_daemon-1 | REMOTE_INSTALL_URL plugin_daemon-1 | Field required [type=missing, input_value={'INSTALL_METHOD': 'local'}, input_type=dict] plugin_daemon-1 | For further information visit https://errors.pydantic.dev/2.11/v/missing plugin_daemon-1 | plugin_daemon-1 | plugin_daemon-1 | plugin_daemon-1 | 2025/05/13 09:08:35 run.go:186: [INFO]plugin langgenius/openai_api_compatible:0.0.16 stopped ```
yindo added the 🐞 bug label 2026-02-21 19:14:02 -05:00
yindo closed this issue 2026-02-21 19:14:02 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (May 13, 2025):

I found a similar unsolved discussion regarding configuration issues with the OpenAI plugin. You can check it out here [1].

Regarding the validation error you're encountering, it seems that the REMOTE_INSTALL_URL field is required but missing in your configuration. You should ensure that this field is properly set in your environment or configuration file. This error indicates that the plugin expects a REMOTE_INSTALL_URL value, which is not provided, leading to the validation failure.

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 (May 13, 2025): <!-- Answer --> I found a similar unsolved discussion regarding configuration issues with the OpenAI plugin. You can check it out [here](https://github.com/langgenius/dify/discussions/18034) <sup>[[1]](https://github.com/langgenius/dify/discussions/18034)</sup>. Regarding the validation error you're encountering, it seems that the `REMOTE_INSTALL_URL` field is required but missing in your configuration. You should ensure that this field is properly set in your environment or configuration file. This error indicates that the plugin expects a `REMOTE_INSTALL_URL` value, which is not provided, leading to the validation failure. <!-- 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/6fa4855a-8cf6-4310-b21f-a860db26375c?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/6fa4855a-8cf6-4310-b21f-a860db26375c?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/6fa4855a-8cf6-4310-b21f-a860db26375c?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/6fa4855a-8cf6-4310-b21f-a860db26375c?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/6fa4855a-8cf6-4310-b21f-a860db26375c?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/6fa4855a-8cf6-4310-b21f-a860db26375c?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/6fa4855a-8cf6-4310-b21f-a860db26375c?feedback_type=other)</sup>
Author
Owner

@yongxingMa commented on GitHub (May 13, 2025):

2025/05/13 09:15:24 run.go:144: [INFO]plugin langgenius/openai_api_compatible:0.0.16 started
2025/05/13 09:15:24 run.go:132: [ERROR]plugin langgenius/openai_api_compatible:0.0.16 exited with error: exit status 1
2025-05-13T17:15:24.918529756+08:00 b8984ad9f4cd4457/main.py", line 3, in <module>
2025-05-13T17:15:24.918532972+08:00 
2025-05-13T17:15:24.918535049+08:00     plugin = Plugin(DifyPluginEnv())
2025-05-13T17:15:24.918536784+08:00 
                    ^^^^^^^^^^^^^^^
2025-05-13T17:15:24.918540970+08:00 
2025-05-13T17:15:24.918550333+08:00   File "/app/storage/cwd/langgenius/openai_api_compatible-0.0.16@77274df8fe2632cac66bfd153fcc75aa5e96abbe92b5c611b8984ad9f4cd4457/.venv/lib/python3.12/site-packages/pydantic_settings/main.py", line 176, in __init__
2025-05-13T17:15:24.918552499+08:00 
    super().__init__(
2025-05-13T17:15:24.918556656+08:00 
  File "/app/storage/cwd/langgenius/openai_api_compatible-0.0.16@77274df8fe2632cac66bfd153fcc75aa5e96abbe92b5c611b8984ad9f4cd4457/.venv/lib/python3.12/site-packages/pydantic/main.py", line 253, in __init__
2025-05-13T17:15:24.918562446+08:00 
    validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
2025-05-13T17:15:24.918567745+08:00 
2025-05-13T17:15:24.918569996+08:00                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

pydantic_core._pydantic_core.ValidationError: 1 validation error for DifyPluginEnv
2025-05-13T17:15:24.918575160+08:00 REMOTE_INSTALL_URL
  Field required [type=missing, input_value={'INSTALL_METHOD': 'local'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.11/v/missing

2025-05-13T17:15:24.918607411+08:00 

2025-05-13T17:15:24.918611612+08:00 2025/05/13 09:15:24 run.go:182: [INFO]plugin langgenius/openai_api_compatible:0.0.16 stopped
@yongxingMa commented on GitHub (May 13, 2025): ``` 2025/05/13 09:15:24 run.go:144: [INFO]plugin langgenius/openai_api_compatible:0.0.16 started 2025/05/13 09:15:24 run.go:132: [ERROR]plugin langgenius/openai_api_compatible:0.0.16 exited with error: exit status 1 2025-05-13T17:15:24.918529756+08:00 b8984ad9f4cd4457/main.py", line 3, in <module> 2025-05-13T17:15:24.918532972+08:00 2025-05-13T17:15:24.918535049+08:00 plugin = Plugin(DifyPluginEnv()) 2025-05-13T17:15:24.918536784+08:00 ^^^^^^^^^^^^^^^ 2025-05-13T17:15:24.918540970+08:00 2025-05-13T17:15:24.918550333+08:00 File "/app/storage/cwd/langgenius/openai_api_compatible-0.0.16@77274df8fe2632cac66bfd153fcc75aa5e96abbe92b5c611b8984ad9f4cd4457/.venv/lib/python3.12/site-packages/pydantic_settings/main.py", line 176, in __init__ 2025-05-13T17:15:24.918552499+08:00 super().__init__( 2025-05-13T17:15:24.918556656+08:00 File "/app/storage/cwd/langgenius/openai_api_compatible-0.0.16@77274df8fe2632cac66bfd153fcc75aa5e96abbe92b5c611b8984ad9f4cd4457/.venv/lib/python3.12/site-packages/pydantic/main.py", line 253, in __init__ 2025-05-13T17:15:24.918562446+08:00 validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self) 2025-05-13T17:15:24.918567745+08:00 2025-05-13T17:15:24.918569996+08:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pydantic_core._pydantic_core.ValidationError: 1 validation error for DifyPluginEnv 2025-05-13T17:15:24.918575160+08:00 REMOTE_INSTALL_URL Field required [type=missing, input_value={'INSTALL_METHOD': 'local'}, input_type=dict] For further information visit https://errors.pydantic.dev/2.11/v/missing 2025-05-13T17:15:24.918607411+08:00 2025-05-13T17:15:24.918611612+08:00 2025/05/13 09:15:24 run.go:182: [INFO]plugin langgenius/openai_api_compatible:0.0.16 stopped ```
Author
Owner

@crazywoola commented on GitHub (May 13, 2025):

Please upgrade to latest version.

https://github.com/langgenius/dify/blob/3ecc1e0228594ba8fcc21e5148ed9708877af59d/docker/docker-compose.yaml#L633-L634

@crazywoola commented on GitHub (May 13, 2025): Please upgrade to latest version. https://github.com/langgenius/dify/blob/3ecc1e0228594ba8fcc21e5148ed9708877af59d/docker/docker-compose.yaml#L633-L634
Author
Owner

@yongxingMa commented on GitHub (May 13, 2025):

I have updated to version dify-plugin-daemon:0.0.9-local and still have this problem

[ERROR]plugin langgenius/openai_api_compatible:0.0.16 exited with error: exit status 1
2025-05-13T18:02:49.575397094+08:00 1b8984ad9f4cd4457/main.py", line 3, in <module>
2025-05-13T18:02:49.575399423+08:00 
2025-05-13T18:02:49.575401830+08:00     plugin = Plugin(DifyPluginEnv())
2025-05-13T18:02:49.575404284+08:00 
2025-05-13T18:02:49.575406128+08:00                     ^^^^^^^^^^^^^^^
2025-05-13T18:02:49.575407730+08:00 
2025-05-13T18:02:49.575410034+08:00   File "/app/storage/cwd/langgenius/openai_api_compatible-0.0.16@77274df8fe2632cac66bfd153fcc75aa5e96abbe92b5c611b8984ad9f4cd4457/.venv/lib/python3.12/site-packages/pydantic_settings/main.py", line 176, in __init__
2025-05-13T18:02:49.575411800+08:00 
2025-05-13T18:02:49.575413977+08:00     super().__init__(
2025-05-13T18:02:49.575416523+08:00   File "/app/storage/cwd/langgenius/openai_api_compatible-0.0.16@77274df8fe2632cac66bfd153fcc75aa5e96abbe92b5c611b8984ad9f4cd4457/.venv/lib/python3.12/site-packages/pydantic/main.py", line 253, in __init__

2025-05-13T18:02:49.575419822+08:00     validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
2025-05-13T18:02:49.575421523+08:00 
2025-05-13T18:02:49.575428572+08:00                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-05-13T18:02:49.575430099+08:00 
2025-05-13T18:02:49.575438141+08:00 pydantic_core._pydantic_core.ValidationError: 1 validation error for DifyPluginEnv
2025-05-13T18:02:49.575440770+08:00 REMOTE_INSTALL_URL
2025-05-13T18:02:49.575443411+08:00   Field required [type=missing, input_value={'INSTALL_METHOD': 'local'}, input_type=dict]
2025-05-13T18:02:49.575445857+08:00     For further information visit https://errors.pydantic.dev/2.11/v/missing
@yongxingMa commented on GitHub (May 13, 2025): I have updated to version dify-plugin-daemon:0.0.9-local and still have this problem ``` [ERROR]plugin langgenius/openai_api_compatible:0.0.16 exited with error: exit status 1 2025-05-13T18:02:49.575397094+08:00 1b8984ad9f4cd4457/main.py", line 3, in <module> 2025-05-13T18:02:49.575399423+08:00 2025-05-13T18:02:49.575401830+08:00 plugin = Plugin(DifyPluginEnv()) 2025-05-13T18:02:49.575404284+08:00 2025-05-13T18:02:49.575406128+08:00 ^^^^^^^^^^^^^^^ 2025-05-13T18:02:49.575407730+08:00 2025-05-13T18:02:49.575410034+08:00 File "/app/storage/cwd/langgenius/openai_api_compatible-0.0.16@77274df8fe2632cac66bfd153fcc75aa5e96abbe92b5c611b8984ad9f4cd4457/.venv/lib/python3.12/site-packages/pydantic_settings/main.py", line 176, in __init__ 2025-05-13T18:02:49.575411800+08:00 2025-05-13T18:02:49.575413977+08:00 super().__init__( 2025-05-13T18:02:49.575416523+08:00 File "/app/storage/cwd/langgenius/openai_api_compatible-0.0.16@77274df8fe2632cac66bfd153fcc75aa5e96abbe92b5c611b8984ad9f4cd4457/.venv/lib/python3.12/site-packages/pydantic/main.py", line 253, in __init__ 2025-05-13T18:02:49.575419822+08:00 validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self) 2025-05-13T18:02:49.575421523+08:00 2025-05-13T18:02:49.575428572+08:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-05-13T18:02:49.575430099+08:00 2025-05-13T18:02:49.575438141+08:00 pydantic_core._pydantic_core.ValidationError: 1 validation error for DifyPluginEnv 2025-05-13T18:02:49.575440770+08:00 REMOTE_INSTALL_URL 2025-05-13T18:02:49.575443411+08:00 Field required [type=missing, input_value={'INSTALL_METHOD': 'local'}, input_type=dict] 2025-05-13T18:02:49.575445857+08:00 For further information visit https://errors.pydantic.dev/2.11/v/missing ```
Author
Owner

@yongxingMa commented on GitHub (May 13, 2025):

@crazywoola

@yongxingMa commented on GitHub (May 13, 2025): @crazywoola
Author
Owner

@yuyuan1019 commented on GitHub (May 13, 2025):

same problem

@yuyuan1019 commented on GitHub (May 13, 2025): same problem
Author
Owner

@ENCHIGO commented on GitHub (May 13, 2025):

Please upgrade to latest version.

dify/docker/docker-compose.yaml

Lines 633 to 634 in 3ecc1e0

plugin_daemon:
image: langgenius/dify-plugin-daemon:0.0.9-local

same problem

@ENCHIGO commented on GitHub (May 13, 2025): > Please upgrade to latest version. > > [dify/docker/docker-compose.yaml](https://github.com/langgenius/dify/blob/3ecc1e0228594ba8fcc21e5148ed9708877af59d/docker/docker-compose.yaml#L633-L634) > > Lines 633 to 634 in [3ecc1e0](/langgenius/dify/commit/3ecc1e0228594ba8fcc21e5148ed9708877af59d) > > plugin_daemon: > image: langgenius/dify-plugin-daemon:0.0.9-local same problem
Author
Owner

@user-cjw commented on GitHub (May 13, 2025):

@crazywoola using given image does not solve the problem

CONTAINER ID   IMAGE                                       COMMAND                  CREATED         STATUS                    PORTS                                                                          NAMES
213b8b01368c   nginx:latest                                "sh -c 'cp /docker-e…"   7 minutes ago   Up 7 minutes              0.0.0.0:80->80/tcp, [::]:80->80/tcp, 0.0.0.0:443->443/tcp, [::]:443->443/tcp   docker-nginx-1
d737aa2beaec   langgenius/dify-plugin-daemon:0.0.9-local   "/bin/bash -c /app/e…"   7 minutes ago   Up 7 minutes              0.0.0.0:5003->5003/tcp, [::]:5003->5003/tcp                                    docker-plugin_daemon-1
142980bf19b8   langgenius/dify-api:1.3.1                   "/bin/bash /entrypoi…"   7 minutes ago   Up 7 minutes              5001/tcp                                                                       docker-api-1
c5a517991c72   langgenius/dify-api:1.3.1                   "/bin/bash /entrypoi…"   7 minutes ago   Up 7 minutes              5001/tcp                                                                       docker-worker-1
f122ce3fe7ce   parser-models                               "uv run uvicorn main…"   7 minutes ago   Up 7 minutes              5010/tcp                                                                       docker-models-1
cea49562ad67   postgres:15-alpine                          "docker-entrypoint.s…"   7 minutes ago   Up 7 minutes (healthy)    5432/tcp                                                                       docker-db-1
afdabe0079c8   ubuntu/squid:latest                         "sh -c 'cp /docker-e…"   7 minutes ago   Up 7 minutes              3128/tcp                                                                       docker-ssrf_proxy-1
012cc6bf9c40   langgenius/dify-sandbox:0.2.11              "/main"                  7 minutes ago   Up 7 minutes (healthy)                                                                                   docker-sandbox-1
38795fb534ef   langgenius/dify-web:1.3.1                   "/bin/sh ./entrypoin…"   7 minutes ago   Up 7 minutes              3000/tcp                                                                       docker-web-1
01733ce883f3   redis:6-alpine                              "docker-entrypoint.s…"   7 minutes ago   Up 7 minutes (healthy)    6379/tcp                                                                       docker-redis-1
10f7afb940fd   semitechnologies/weaviate:1.19.0            "/bin/weaviate --hos…"   7 minutes ago   Up 7 minutes                                                                                             docker-weaviate-1
2025/05/13 10:10:12 run.go:144: [INFO]plugin langgenius/openai_api_compatible:0.0.16 started
2025/05/13 10:10:12 run.go:132: [ERROR]plugin langgenius/openai_api_compatible:0.0.16 exited with error: exit status 1
11b8984ad9f4cd4457/main.py", line 3, in <module>

    plugin = Plugin(DifyPluginEnv())
                    ^^^^^^^^^^^^^^^

  File "/app/storage/cwd/langgenius/openai_api_compatible-0.0.16@77274df8fe2632cac66bfd153fcc75aa5e96abbe92b5c611b8984ad9f4cd4457/.venv/lib/python3.12/site-packages/pydantic_settings/main.py", line 176, in __init__

    super().__init__(
  File "/app/storage/cwd/langgenius/openai_api_compatible-0.0.16@77274df8fe2632cac66bfd153fcc75aa5e96abbe92b5c611b8984ad9f4cd4457/.venv/lib/python3.12/site-packages/pydantic/main.py", line 253, in __init__

    validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)

                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

pydantic_core._pydantic_core.ValidationError: 1 validation error for DifyPluginEnv
REMOTE_INSTALL_URL
  Field required [type=missing, input_value={'INSTALL_METHOD': 'local'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.11/v/missing



2025/05/13 10:10:12 run.go:182: [INFO]plugin langgenius/openai_api_compatible:0.0.16 stopped
@user-cjw commented on GitHub (May 13, 2025): @crazywoola using given image does not solve the problem ``` CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 213b8b01368c nginx:latest "sh -c 'cp /docker-e…" 7 minutes ago Up 7 minutes 0.0.0.0:80->80/tcp, [::]:80->80/tcp, 0.0.0.0:443->443/tcp, [::]:443->443/tcp docker-nginx-1 d737aa2beaec langgenius/dify-plugin-daemon:0.0.9-local "/bin/bash -c /app/e…" 7 minutes ago Up 7 minutes 0.0.0.0:5003->5003/tcp, [::]:5003->5003/tcp docker-plugin_daemon-1 142980bf19b8 langgenius/dify-api:1.3.1 "/bin/bash /entrypoi…" 7 minutes ago Up 7 minutes 5001/tcp docker-api-1 c5a517991c72 langgenius/dify-api:1.3.1 "/bin/bash /entrypoi…" 7 minutes ago Up 7 minutes 5001/tcp docker-worker-1 f122ce3fe7ce parser-models "uv run uvicorn main…" 7 minutes ago Up 7 minutes 5010/tcp docker-models-1 cea49562ad67 postgres:15-alpine "docker-entrypoint.s…" 7 minutes ago Up 7 minutes (healthy) 5432/tcp docker-db-1 afdabe0079c8 ubuntu/squid:latest "sh -c 'cp /docker-e…" 7 minutes ago Up 7 minutes 3128/tcp docker-ssrf_proxy-1 012cc6bf9c40 langgenius/dify-sandbox:0.2.11 "/main" 7 minutes ago Up 7 minutes (healthy) docker-sandbox-1 38795fb534ef langgenius/dify-web:1.3.1 "/bin/sh ./entrypoin…" 7 minutes ago Up 7 minutes 3000/tcp docker-web-1 01733ce883f3 redis:6-alpine "docker-entrypoint.s…" 7 minutes ago Up 7 minutes (healthy) 6379/tcp docker-redis-1 10f7afb940fd semitechnologies/weaviate:1.19.0 "/bin/weaviate --hos…" 7 minutes ago Up 7 minutes docker-weaviate-1 ``` ``` 2025/05/13 10:10:12 run.go:144: [INFO]plugin langgenius/openai_api_compatible:0.0.16 started 2025/05/13 10:10:12 run.go:132: [ERROR]plugin langgenius/openai_api_compatible:0.0.16 exited with error: exit status 1 11b8984ad9f4cd4457/main.py", line 3, in <module> plugin = Plugin(DifyPluginEnv()) ^^^^^^^^^^^^^^^ File "/app/storage/cwd/langgenius/openai_api_compatible-0.0.16@77274df8fe2632cac66bfd153fcc75aa5e96abbe92b5c611b8984ad9f4cd4457/.venv/lib/python3.12/site-packages/pydantic_settings/main.py", line 176, in __init__ super().__init__( File "/app/storage/cwd/langgenius/openai_api_compatible-0.0.16@77274df8fe2632cac66bfd153fcc75aa5e96abbe92b5c611b8984ad9f4cd4457/.venv/lib/python3.12/site-packages/pydantic/main.py", line 253, in __init__ validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pydantic_core._pydantic_core.ValidationError: 1 validation error for DifyPluginEnv REMOTE_INSTALL_URL Field required [type=missing, input_value={'INSTALL_METHOD': 'local'}, input_type=dict] For further information visit https://errors.pydantic.dev/2.11/v/missing 2025/05/13 10:10:12 run.go:182: [INFO]plugin langgenius/openai_api_compatible:0.0.16 stopped ```
Author
Owner

@liaoweiguo commented on GitHub (May 13, 2025):

same problem

@liaoweiguo commented on GitHub (May 13, 2025): same problem
Author
Owner

@hl1221hl commented on GitHub (May 13, 2025):

same problem

@hl1221hl commented on GitHub (May 13, 2025): same problem
Author
Owner

@agnils commented on GitHub (May 13, 2025):

the same issue, This issue can be resolved by using openai_api_compatible 0.0.10

@agnils commented on GitHub (May 13, 2025): the same issue, This issue can be resolved by using openai_api_compatible 0.0.10
Author
Owner

@JovanNj commented on GitHub (May 13, 2025):

Why is this issue closed? There is still problem with with Openai, and with Gemini plugins.

@JovanNj commented on GitHub (May 13, 2025): Why is this issue closed? There is still problem with with Openai, and with Gemini plugins.
Author
Owner

@rty813 commented on GitHub (May 13, 2025):

@crazywoola dify-plugin-daemon:0.0.9-local still have this problem

@rty813 commented on GitHub (May 13, 2025): @crazywoola `dify-plugin-daemon:0.0.9-local` still have this problem
Author
Owner

@crazywoola commented on GitHub (May 13, 2025):

https://github.com/langgenius/dify/issues/19623#issuecomment-2876194673

Please check the environment variables accordingly.

@crazywoola commented on GitHub (May 13, 2025): https://github.com/langgenius/dify/issues/19623#issuecomment-2876194673 Please check the environment variables accordingly.
Author
Owner

@rty813 commented on GitHub (May 13, 2025):

Do you mean the dify/docker/.env file?

@rty813 commented on GitHub (May 13, 2025): Do you mean the dify/docker/.env file?
Author
Owner

@JovanNj commented on GitHub (May 13, 2025):

I think I managed to solve this. Take dockers down, add REMOTE_INSTALL_URL variableto docker-compose and restart dockers. Here are details:

  1. docker compose down
  2. add REMOTE_INSTALL_URL: http://${EXPOSE_PLUGIN_DEBUGGING_HOST:-localhost}:${EXPOSE_PLUGIN_DEBUGGING_PORT:-5003} to /dify/docker/docker-compose.yml to:
    services->worker-> environment,
    services->api->environment,
    services-> plugin_daemon->environment
  3. add REMOTE_INSTALL_URL=http://${EXPOSE_PLUGIN_DEBUGGING_HOST:-localhost}:${EXPOSE_PLUGIN_DEBUGGING_PORT:-5003} to dify/docker/.env file
  4. docker compose up -d

Actually, I am not sure that it is necessary to add it at all these places, but I tested it and it works.
Cheers

@JovanNj commented on GitHub (May 13, 2025): I think I managed to solve this. Take dockers down, add REMOTE_INSTALL_URL variableto docker-compose and restart dockers. Here are details: 1. `docker compose down` 2. add `REMOTE_INSTALL_URL: http://${EXPOSE_PLUGIN_DEBUGGING_HOST:-localhost}:${EXPOSE_PLUGIN_DEBUGGING_PORT:-5003}` to /dify/docker/docker-compose.yml to: services->worker-> environment, services->api->environment, services-> plugin_daemon->environment 3. add `REMOTE_INSTALL_URL=http://${EXPOSE_PLUGIN_DEBUGGING_HOST:-localhost}:${EXPOSE_PLUGIN_DEBUGGING_PORT:-5003}` to dify/docker/.env file 4. `docker compose up -d` Actually, I am not sure that it is necessary to add it at all these places, but I tested it and it works. Cheers
Author
Owner

@rty813 commented on GitHub (May 13, 2025):

I don't understand why REMOTE_INSTALL_URL should be added, is there any reference document?

@rty813 commented on GitHub (May 13, 2025): I don't understand why `REMOTE_INSTALL_URL ` should be added, is there any reference document?
Author
Owner

@yongxingMa commented on GitHub (May 13, 2025):

I solved this problem
adding env in the plugin-daemon service

Image

@yongxingMa commented on GitHub (May 13, 2025): I solved this problem adding env in the plugin-daemon service ![Image](https://github.com/user-attachments/assets/ba925dbb-409b-46b9-af88-05c03255c51d)
Author
Owner
@rty813 commented on GitHub (May 14, 2025): https://github.com/langgenius/dify/issues/19639#issuecomment-2878692943
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#13823