Failed to establish a new connection #9954

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

Originally created by @kenneth-bro on GitHub (Mar 8, 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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
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 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/.venv/lib/python3.12/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5002): Max retries exceeded with url: /plugin/4350a5018fa842dd8bbafb6df804af53/management/install/upload/package (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f421d347170>: Failed to establish a new connection: [Errno 111] Connection refused'))

✔️ Expected Behavior

No response

Actual Behavior

i have set https_proxy success,but request error.

Image

Originally created by @kenneth-bro on GitHub (Mar 8, 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 During handling of the above exception, another exception occurred: Traceback (most recent call last): 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 703, in send r = adapter.send(request, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/.venv/lib/python3.12/site-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5002): Max retries exceeded with url: /plugin/4350a5018fa842dd8bbafb6df804af53/management/install/upload/package (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f421d347170>: Failed to establish a new connection: [Errno 111] Connection refused')) ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior i have set https_proxy success,but request error. ![Image](https://github.com/user-attachments/assets/ce11245e-8749-4c2d-9384-945762b26e94)
yindo added the 🐞 bug🤔 cant-reproduce labels 2026-02-21 18:40:59 -05:00
yindo closed this issue 2026-02-21 18:40:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#9954