0.15.3 upgrade 1.0.0 ,install install-plugins error #10150

Closed
opened 2026-02-21 18:43:22 -05:00 by yindo · 0 comments
Owner

Originally created by @lqy1101 on GitHub (Mar 10, 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.0.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

root@e5c4016367bf:/app/api# poetry run flask install-plugins
2025-03-10 08:10:24,238.238 INFO [MainThread] [utils.py:162] - NumExpr defaulting to 4 threads.
2025-03-10 08:10:28,046.046 INFO [MainThread] [_client.py:1038] - HTTP Request: GET https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json "HTTP/1.1 200 OK"
Input file [plugins.jsonl]: 
Output file [installed_plugins.jsonl]: 
Workers [100]: 
Starting install plugins.
2025-03-10 08:10:37,817.817 INFO [MainThread] [plugin_migration.py:304] - Extracting unique plugins from plugins.jsonl
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 11/11 [00:01<00:00,  6.07it/s]
2025-03-10 08:10:39,656.656 INFO [MainThread] [plugin_migration.py:342] - Installing 11 plugin instances for fake tenant 040fd572e8e04444947631ac9ed2289d
2025-03-10 08:10:42,649.649 INFO [ThreadPoolExecutor-4_2] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/openai_api_compatible:0.0.7@f20c7275bbcf055ec5d170dd5128e341986e2dcba5266d08fd080d4bdf2288f6 "HTTP/1.1 200 OK"
2025-03-10 08:10:42,666.666 INFO [ThreadPoolExecutor-4_3] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/dingtalk:0.0.2@092f7182110e1b17eca4fcc461742bfd638f0855c4445159aa06cfe1c0b572f2 "HTTP/1.1 200 OK"
2025-03-10 08:10:42,676.676 INFO [ThreadPoolExecutor-4_6] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/minimax:0.0.4@d73cfcfadb5652c327050232649079f74d44bab0eeb2ccdbefcea32ffc7cd2e1 "HTTP/1.1 200 OK"
2025-03-10 08:10:42,724.724 INFO [ThreadPoolExecutor-4_9] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/tongyi:0.0.7@e711a1130dd201552dd6493c59a7b7800f6df46963d98c534ce8a2b33c087b53 "HTTP/1.1 200 OK"
2025-03-10 08:10:42,747.747 INFO [ThreadPoolExecutor-4_8] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/zhipuai:0.0.6@5e84cc1bad9c331a9253124a60662dd82e9cf11dc7200478b21d23036084d326 "HTTP/1.1 200 OK"
2025-03-10 08:10:42,748.748 INFO [ThreadPoolExecutor-4_5] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/deepseek:0.0.5@fd6efd37c2a931911de8ab9ca3ba2da303bef146d45ee87ad896b04b36d09403 "HTTP/1.1 200 OK"
2025-03-10 08:10:42,818.818 INFO [ThreadPoolExecutor-4_1] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/wenxin:0.0.3@01f14a7f686c8c0ac1afd9cf57e645983e1b2a69e8cfbb1329493a2d997307e1 "HTTP/1.1 200 OK"
2025-03-10 08:10:42,887.887 INFO [ThreadPoolExecutor-4_0] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/duckduckgo:0.0.4@58a551e55609297976cd64c753795ec2467524508ec1f4c22aa485b8bd4c334e "HTTP/1.1 200 OK"
2025-03-10 08:10:44,464.464 INFO [ThreadPoolExecutor-4_7] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/spark:0.0.2@2bcb4248ac24c9cd1de59ac96e16f5d47c332fb99121249071f8641987399da8 "HTTP/1.1 200 OK"
2025-03-10 08:10:45,370.370 INFO [ThreadPoolExecutor-4_4] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/chart:0.0.2@fb391d9f13ca1d76ceb2596650dd5f4b7b4b5e97a0be16cb22ed132d98a07f7f "HTTP/1.1 200 OK"
2025-03-10 08:10:46,218.218 INFO [ThreadPoolExecutor-4_6] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/siliconflow:0.0.7@8b9d2f57d314120744c245b6fe4f8701e1a7490a500d9fb74e9e9dceeaea5f70 "HTTP/1.1 200 OK"
2025-03-10 08:11:13,538.538 WARNING [ThreadPoolExecutor-4_0] [ssrf_proxy.py:61] - Request to URL https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/duckduckgo:0.0.4@58a551e55609297976cd64c753795ec2467524508ec1f4c22aa485b8bd4c334e failed on attempt 1: The read operation timed out
2025-03-10 08:11:15,141.141 INFO [ThreadPoolExecutor-4_0] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/duckduckgo:0.0.4@58a551e55609297976cd64c753795ec2467524508ec1f4c22aa485b8bd4c334e "HTTP/1.1 200 OK"
Traceback (most recent call last):
  File "/app/api/.venv/lib/python3.12/site-packages/urllib3/response.py", line 754, in _error_catcher
    yield
  File "/app/api/.venv/lib/python3.12/site-packages/urllib3/response.py", line 900, in _raw_read
    raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
urllib3.exceptions.IncompleteRead: IncompleteRead(0 bytes read, 747 more expected)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/api/.venv/lib/python3.12/site-packages/requests/models.py", line 816, in generate
    yield from self.raw.stream(chunk_size, decode_content=True)
  File "/app/api/.venv/lib/python3.12/site-packages/urllib3/response.py", line 1066, in stream
    data = self.read(amt=amt, decode_content=decode_content)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/api/.venv/lib/python3.12/site-packages/urllib3/response.py", line 955, in read
    data = self._raw_read(amt)
           ^^^^^^^^^^^^^^^^^^^
  File "/app/api/.venv/lib/python3.12/site-packages/urllib3/response.py", line 878, in _raw_read
    with self._error_catcher():
         ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__
    self.gen.throw(value)
  File "/app/api/.venv/lib/python3.12/site-packages/urllib3/response.py", line 778, in _error_catcher
    raise ProtocolError(arg, e) from e
urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(0 bytes read, 747 more expected)', IncompleteRead(0 bytes read, 747 more expected))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/api/.venv/bin/flask", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/app/api/.venv/lib/python3.12/site-packages/flask/cli.py", line 1129, in main
    cli.main()
  File "/app/api/.venv/lib/python3.12/site-packages/click/core.py", line 1082, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/app/api/.venv/lib/python3.12/site-packages/click/core.py", line 1697, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/api/.venv/lib/python3.12/site-packages/click/core.py", line 1443, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/api/.venv/lib/python3.12/site-packages/click/core.py", line 788, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/api/commands.py", line 717, in install_plugins
    PluginMigration.install_plugins(input_file, output_file, workers)
  File "/app/api/services/plugin/plugin_migration.py", line 346, in install_plugins
    response = cls.handle_plugin_instance_install(fake_tenant_id, plugins["plugins"])
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/api/services/plugin/plugin_migration.py", line 449, in handle_plugin_instance_install
    future.result()  # This will raise any exceptions that occurred
    ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 456, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/api/services/plugin/plugin_migration.py", line 443, in download_and_upload
    manager.upload_pkg(tenant_id, plugin_package, verify_signature=True)
  File "/app/api/core/plugin/manager/plugin.py", line 54, in upload_pkg
    return self._request_with_plugin_daemon_response(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/api/core/plugin/manager/base.py", line 138, in _request_with_plugin_daemon_response
    response = self._request(method, path, headers, data, params, files)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/api/core/plugin/manager/base.py", line 63, in _request
    response = requests.request(
               ^^^^^^^^^^^^^^^^^
  File "/app/api/.venv/lib/python3.12/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/api/.venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/api/.venv/lib/python3.12/site-packages/requests/sessions.py", line 747, in send
    r.content
  File "/app/api/.venv/lib/python3.12/site-packages/requests/models.py", line 899, in content
    self._content = b"".join(self.iter_content(CONTENT_CHUNK_SIZE)) or b""
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/api/.venv/lib/python3.12/site-packages/requests/models.py", line 818, in generate
    raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(0 bytes read, 747 more expected)', IncompleteRead(0 bytes read, 747 more expected))
2025-03-10 08:11:31,513.513 WARNING [ThreadPoolExecutor-4_7] [ssrf_proxy.py:61] - Request to URL https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/spark:0.0.2@2bcb4248ac24c9cd1de59ac96e16f5d47c332fb99121249071f8641987399da8 failed on attempt 1: The read operation timed out
2025-03-10 08:11:33,077.077 INFO [ThreadPoolExecutor-4_7] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/spark:0.0.2@2bcb4248ac24c9cd1de59ac96e16f5d47c332fb99121249071f8641987399da8 "HTTP/1.1 200 OK"

✔️ Expected Behavior

upgrade success for 1.0.0

Actual Behavior

requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(0 bytes read, 747 more expected)', IncompleteRead(0 bytes read, 747 more expected))

Originally created by @lqy1101 on GitHub (Mar 10, 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.0.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce ``` root@e5c4016367bf:/app/api# poetry run flask install-plugins 2025-03-10 08:10:24,238.238 INFO [MainThread] [utils.py:162] - NumExpr defaulting to 4 threads. 2025-03-10 08:10:28,046.046 INFO [MainThread] [_client.py:1038] - HTTP Request: GET https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json "HTTP/1.1 200 OK" Input file [plugins.jsonl]: Output file [installed_plugins.jsonl]: Workers [100]: Starting install plugins. 2025-03-10 08:10:37,817.817 INFO [MainThread] [plugin_migration.py:304] - Extracting unique plugins from plugins.jsonl 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 11/11 [00:01<00:00, 6.07it/s] 2025-03-10 08:10:39,656.656 INFO [MainThread] [plugin_migration.py:342] - Installing 11 plugin instances for fake tenant 040fd572e8e04444947631ac9ed2289d 2025-03-10 08:10:42,649.649 INFO [ThreadPoolExecutor-4_2] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/openai_api_compatible:0.0.7@f20c7275bbcf055ec5d170dd5128e341986e2dcba5266d08fd080d4bdf2288f6 "HTTP/1.1 200 OK" 2025-03-10 08:10:42,666.666 INFO [ThreadPoolExecutor-4_3] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/dingtalk:0.0.2@092f7182110e1b17eca4fcc461742bfd638f0855c4445159aa06cfe1c0b572f2 "HTTP/1.1 200 OK" 2025-03-10 08:10:42,676.676 INFO [ThreadPoolExecutor-4_6] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/minimax:0.0.4@d73cfcfadb5652c327050232649079f74d44bab0eeb2ccdbefcea32ffc7cd2e1 "HTTP/1.1 200 OK" 2025-03-10 08:10:42,724.724 INFO [ThreadPoolExecutor-4_9] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/tongyi:0.0.7@e711a1130dd201552dd6493c59a7b7800f6df46963d98c534ce8a2b33c087b53 "HTTP/1.1 200 OK" 2025-03-10 08:10:42,747.747 INFO [ThreadPoolExecutor-4_8] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/zhipuai:0.0.6@5e84cc1bad9c331a9253124a60662dd82e9cf11dc7200478b21d23036084d326 "HTTP/1.1 200 OK" 2025-03-10 08:10:42,748.748 INFO [ThreadPoolExecutor-4_5] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/deepseek:0.0.5@fd6efd37c2a931911de8ab9ca3ba2da303bef146d45ee87ad896b04b36d09403 "HTTP/1.1 200 OK" 2025-03-10 08:10:42,818.818 INFO [ThreadPoolExecutor-4_1] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/wenxin:0.0.3@01f14a7f686c8c0ac1afd9cf57e645983e1b2a69e8cfbb1329493a2d997307e1 "HTTP/1.1 200 OK" 2025-03-10 08:10:42,887.887 INFO [ThreadPoolExecutor-4_0] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/duckduckgo:0.0.4@58a551e55609297976cd64c753795ec2467524508ec1f4c22aa485b8bd4c334e "HTTP/1.1 200 OK" 2025-03-10 08:10:44,464.464 INFO [ThreadPoolExecutor-4_7] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/spark:0.0.2@2bcb4248ac24c9cd1de59ac96e16f5d47c332fb99121249071f8641987399da8 "HTTP/1.1 200 OK" 2025-03-10 08:10:45,370.370 INFO [ThreadPoolExecutor-4_4] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/chart:0.0.2@fb391d9f13ca1d76ceb2596650dd5f4b7b4b5e97a0be16cb22ed132d98a07f7f "HTTP/1.1 200 OK" 2025-03-10 08:10:46,218.218 INFO [ThreadPoolExecutor-4_6] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/siliconflow:0.0.7@8b9d2f57d314120744c245b6fe4f8701e1a7490a500d9fb74e9e9dceeaea5f70 "HTTP/1.1 200 OK" 2025-03-10 08:11:13,538.538 WARNING [ThreadPoolExecutor-4_0] [ssrf_proxy.py:61] - Request to URL https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/duckduckgo:0.0.4@58a551e55609297976cd64c753795ec2467524508ec1f4c22aa485b8bd4c334e failed on attempt 1: The read operation timed out 2025-03-10 08:11:15,141.141 INFO [ThreadPoolExecutor-4_0] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/duckduckgo:0.0.4@58a551e55609297976cd64c753795ec2467524508ec1f4c22aa485b8bd4c334e "HTTP/1.1 200 OK" Traceback (most recent call last): File "/app/api/.venv/lib/python3.12/site-packages/urllib3/response.py", line 754, in _error_catcher yield File "/app/api/.venv/lib/python3.12/site-packages/urllib3/response.py", line 900, in _raw_read raise IncompleteRead(self._fp_bytes_read, self.length_remaining) urllib3.exceptions.IncompleteRead: IncompleteRead(0 bytes read, 747 more expected) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/api/.venv/lib/python3.12/site-packages/requests/models.py", line 816, in generate yield from self.raw.stream(chunk_size, decode_content=True) File "/app/api/.venv/lib/python3.12/site-packages/urllib3/response.py", line 1066, in stream data = self.read(amt=amt, decode_content=decode_content) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/urllib3/response.py", line 955, in read data = self._raw_read(amt) ^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/urllib3/response.py", line 878, in _raw_read with self._error_catcher(): ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__ self.gen.throw(value) File "/app/api/.venv/lib/python3.12/site-packages/urllib3/response.py", line 778, in _error_catcher raise ProtocolError(arg, e) from e urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(0 bytes read, 747 more expected)', IncompleteRead(0 bytes read, 747 more expected)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/api/.venv/bin/flask", line 8, in <module> sys.exit(main()) ^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/flask/cli.py", line 1129, in main cli.main() File "/app/api/.venv/lib/python3.12/site-packages/click/core.py", line 1082, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/click/core.py", line 1697, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/click/core.py", line 1443, in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/click/core.py", line 788, in invoke return __callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/commands.py", line 717, in install_plugins PluginMigration.install_plugins(input_file, output_file, workers) File "/app/api/services/plugin/plugin_migration.py", line 346, in install_plugins response = cls.handle_plugin_instance_install(fake_tenant_id, plugins["plugins"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/services/plugin/plugin_migration.py", line 449, in handle_plugin_instance_install future.result() # This will raise any exceptions that occurred ^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 456, in result return self.__get_result() ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result raise self._exception File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 59, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/services/plugin/plugin_migration.py", line 443, in download_and_upload manager.upload_pkg(tenant_id, plugin_package, verify_signature=True) File "/app/api/core/plugin/manager/plugin.py", line 54, in upload_pkg return self._request_with_plugin_daemon_response( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/plugin/manager/base.py", line 138, in _request_with_plugin_daemon_response response = self._request(method, path, headers, data, params, files) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/plugin/manager/base.py", line 63, in _request response = requests.request( ^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/requests/sessions.py", line 747, in send r.content File "/app/api/.venv/lib/python3.12/site-packages/requests/models.py", line 899, in content self._content = b"".join(self.iter_content(CONTENT_CHUNK_SIZE)) or b"" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/requests/models.py", line 818, in generate raise ChunkedEncodingError(e) requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(0 bytes read, 747 more expected)', IncompleteRead(0 bytes read, 747 more expected)) 2025-03-10 08:11:31,513.513 WARNING [ThreadPoolExecutor-4_7] [ssrf_proxy.py:61] - Request to URL https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/spark:0.0.2@2bcb4248ac24c9cd1de59ac96e16f5d47c332fb99121249071f8641987399da8 failed on attempt 1: The read operation timed out 2025-03-10 08:11:33,077.077 INFO [ThreadPoolExecutor-4_7] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/spark:0.0.2@2bcb4248ac24c9cd1de59ac96e16f5d47c332fb99121249071f8641987399da8 "HTTP/1.1 200 OK" ``` ### ✔️ Expected Behavior upgrade success for 1.0.0 ### ❌ Actual Behavior requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(0 bytes read, 747 more expected)', IncompleteRead(0 bytes read, 747 more expected))
yindo added the 🐞 bug label 2026-02-21 18:43:22 -05:00
yindo closed this issue 2026-02-21 18:43:22 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#10150