dify 1.0.0 cannot create apps using templates #9034

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

Originally created by @Rongbeixu on GitHub (Mar 4, 2025).

Originally assigned to: @crazywoola on GitHub.

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

2025-03-04T06:38:23.316934352Z 2025-03-04 06:38:23.315 WARNING [Dummy-1] [version.py:37] - Check update version error: HTTPSConnectionPool(host='updates.dify.ai', port=443): Max retries exceeded with url: /?current_version=1.0.0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4916d85310>: Failed to establish a new connection: [Errno 101] Network is unreachable')).
2025-03-04T06:38:31.788127156Z 2025-03-04 06:38:31.781 ERROR [Dummy-2] [app_dsl_service.py:299] - Failed to import app
2025-03-04T06:38:31.788150480Z Traceback (most recent call last):
2025-03-04T06:38:31.788154988Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 198, in _new_conn
2025-03-04T06:38:31.788158836Z sock = connection.create_connection(
2025-03-04T06:38:31.788162222Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-04T06:38:31.788165779Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/util/connection.py", line 85, in create_connection
2025-03-04T06:38:31.788169656Z raise err
2025-03-04T06:38:31.788173062Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/util/connection.py", line 73, in create_connection
2025-03-04T06:38:31.788176719Z sock.connect(sa)
2025-03-04T06:38:31.788180116Z File "/app/api/.venv/lib/python3.12/site-packages/gevent/_socketcommon.py", line 586, in connect
2025-03-04T06:38:31.788183702Z self._internal_connect(address)
2025-03-04T06:38:31.788187079Z File "/app/api/.venv/lib/python3.12/site-packages/gevent/_socketcommon.py", line 651, in _internal_connect
2025-03-04T06:38:31.788190545Z raise _SocketError(result, strerror(result))
2025-03-04T06:38:31.788193892Z OSError: [Errno 101] Network is unreachable
2025-03-04T06:38:31.788207798Z
2025-03-04T06:38:31.788211735Z The above exception was the direct cause of the following exception:
2025-03-04T06:38:31.788215362Z
2025-03-04T06:38:31.788218668Z Traceback (most recent call last):
2025-03-04T06:38:31.788222045Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 787, in urlopen
2025-03-04T06:38:31.788225511Z response = self._make_request(
2025-03-04T06:38:31.788228827Z ^^^^^^^^^^^^^^^^^^^
2025-03-04T06:38:31.788232084Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 488, in _make_request
2025-03-04T06:38:31.788235520Z raise new_e
2025-03-04T06:38:31.788238866Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 464, in _make_request
2025-03-04T06:38:31.788242323Z self._validate_conn(conn)
2025-03-04T06:38:31.788245609Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 1093, in _validate_conn
2025-03-04T06:38:31.788249045Z conn.connect()
2025-03-04T06:38:31.788252282Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 704, in connect
2025-03-04T06:38:31.788255688Z self.sock = sock = self._new_conn()
2025-03-04T06:38:31.788258994Z ^^^^^^^^^^^^^^^^
2025-03-04T06:38:31.788262260Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 213, in _new_conn
2025-03-04T06:38:31.788265687Z raise NewConnectionError(
2025-03-04T06:38:31.788269033Z urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f4910f6b290>: Failed to establish a new connection: [Errno 101] Network is unreachable
2025-03-04T06:38:31.788273101Z
2025-03-04T06:38:31.788277058Z The above exception was the direct cause of the following exception:
2025-03-04T06:38:31.788280625Z
2025-03-04T06:38:31.788283891Z Traceback (most recent call last):
2025-03-04T06:38:31.788287237Z File "/app/api/.venv/lib/python3.12/site-packages/requests/adapters.py", line 486, in send
2025-03-04T06:38:31.788290724Z resp = conn.urlopen(
2025-03-04T06:38:31.788293990Z ^^^^^^^^^^^^^
2025-03-04T06:38:31.788297326Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 841, in urlopen
2025-03-04T06:38:31.788300773Z retries = retries.increment(
2025-03-04T06:38:31.788304069Z ^^^^^^^^^^^^^^^^^^
2025-03-04T06:38:31.788307355Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/util/retry.py", line 519, in increment
2025-03-04T06:38:31.788310882Z raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
2025-03-04T06:38:31.788314258Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-04T06:38:31.788321812Z urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marketplace.dify.ai', port=443): Max retries exceeded with url: /api/v1/plugins/batch (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4910f6b290>: Failed to establish a new connection: [Errno 101] Network is unreachable'))
2025-03-04T06:38:31.788325690Z
2025-03-04T06:38:31.788328986Z During handling of the above exception, another exception occurred:
2025-03-04T06:38:31.788332412Z
2025-03-04T06:38:31.788335608Z Traceback (most recent call last):
2025-03-04T06:38:31.788338895Z File "/app/api/services/app_dsl_service.py", line 267, in import_app
2025-03-04T06:38:31.788342301Z check_dependencies_pending_data = DependenciesAnalysisService.generate_latest_dependencies(
2025-03-04T06:38:31.788345687Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-04T06:38:31.788349074Z File "/app/api/services/plugin/dependencies_analysis.py", line 114, in generate_latest_dependencies
2025-03-04T06:38:31.788352490Z deps = marketplace.batch_fetch_plugin_manifests(dependencies)
2025-03-04T06:38:31.788355847Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-04T06:38:31.788359183Z File "/app/api/core/helper/marketplace.py", line 27, in batch_fetch_plugin_manifests
2025-03-04T06:38:31.788362579Z response = requests.post(url, json={"plugin_ids": plugin_ids})
2025-03-04T06:38:31.788365976Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-04T06:38:31.788369312Z File "/app/api/.venv/lib/python3.12/site-packages/requests/api.py", line 115, in post
2025-03-04T06:38:31.788372768Z return request("post", url, data=data, json=json, **kwargs)
2025-03-04T06:38:31.788376145Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-04T06:38:31.788379701Z File "/app/api/.venv/lib/python3.12/site-packages/requests/api.py", line 59, in request
2025-03-04T06:38:31.788383218Z return session.request(method=method, url=url, **kwargs)
2025-03-04T06:38:31.788386604Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-04T06:38:31.788389951Z File "/app/api/.venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
2025-03-04T06:38:31.788393357Z resp = self.send(prep, **send_kwargs)
2025-03-04T06:38:31.788396683Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-04T06:38:31.788400000Z File "/app/api/.venv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
2025-03-04T06:38:31.788403486Z r = adapter.send(request, **kwargs)
2025-03-04T06:38:31.788406792Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-03-04T06:38:31.788410139Z File "/app/api/.venv/lib/python3.12/site-packages/requests/adapters.py", line 519, in send
2025-03-04T06:38:31.788427301Z raise ConnectionError(e, request=request)
2025-03-04T06:38:31.788433302Z requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marketplace.dify.ai', port=443): Max retries exceeded with url: /api/v1/plugins/batch (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4910f6b290>: Failed to establish a new connection: [Errno 101] Network is unreachable'))

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @Rongbeixu on GitHub (Mar 4, 2025). Originally assigned to: @crazywoola on GitHub. ### 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 2025-03-04T06:38:23.316934352Z 2025-03-04 06:38:23.315 WARNING [Dummy-1] [version.py:37] - Check update version error: HTTPSConnectionPool(host='updates.dify.ai', port=443): Max retries exceeded with url: /?current_version=1.0.0 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4916d85310>: Failed to establish a new connection: [Errno 101] Network is unreachable')). 2025-03-04T06:38:31.788127156Z 2025-03-04 06:38:31.781 ERROR [Dummy-2] [app_dsl_service.py:299] - Failed to import app 2025-03-04T06:38:31.788150480Z Traceback (most recent call last): 2025-03-04T06:38:31.788154988Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 198, in _new_conn 2025-03-04T06:38:31.788158836Z sock = connection.create_connection( 2025-03-04T06:38:31.788162222Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-03-04T06:38:31.788165779Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/util/connection.py", line 85, in create_connection 2025-03-04T06:38:31.788169656Z raise err 2025-03-04T06:38:31.788173062Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/util/connection.py", line 73, in create_connection 2025-03-04T06:38:31.788176719Z sock.connect(sa) 2025-03-04T06:38:31.788180116Z File "/app/api/.venv/lib/python3.12/site-packages/gevent/_socketcommon.py", line 586, in connect 2025-03-04T06:38:31.788183702Z self._internal_connect(address) 2025-03-04T06:38:31.788187079Z File "/app/api/.venv/lib/python3.12/site-packages/gevent/_socketcommon.py", line 651, in _internal_connect 2025-03-04T06:38:31.788190545Z raise _SocketError(result, strerror(result)) 2025-03-04T06:38:31.788193892Z OSError: [Errno 101] Network is unreachable 2025-03-04T06:38:31.788207798Z 2025-03-04T06:38:31.788211735Z The above exception was the direct cause of the following exception: 2025-03-04T06:38:31.788215362Z 2025-03-04T06:38:31.788218668Z Traceback (most recent call last): 2025-03-04T06:38:31.788222045Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 787, in urlopen 2025-03-04T06:38:31.788225511Z response = self._make_request( 2025-03-04T06:38:31.788228827Z ^^^^^^^^^^^^^^^^^^^ 2025-03-04T06:38:31.788232084Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 488, in _make_request 2025-03-04T06:38:31.788235520Z raise new_e 2025-03-04T06:38:31.788238866Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 464, in _make_request 2025-03-04T06:38:31.788242323Z self._validate_conn(conn) 2025-03-04T06:38:31.788245609Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 1093, in _validate_conn 2025-03-04T06:38:31.788249045Z conn.connect() 2025-03-04T06:38:31.788252282Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 704, in connect 2025-03-04T06:38:31.788255688Z self.sock = sock = self._new_conn() 2025-03-04T06:38:31.788258994Z ^^^^^^^^^^^^^^^^ 2025-03-04T06:38:31.788262260Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connection.py", line 213, in _new_conn 2025-03-04T06:38:31.788265687Z raise NewConnectionError( 2025-03-04T06:38:31.788269033Z urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f4910f6b290>: Failed to establish a new connection: [Errno 101] Network is unreachable 2025-03-04T06:38:31.788273101Z 2025-03-04T06:38:31.788277058Z The above exception was the direct cause of the following exception: 2025-03-04T06:38:31.788280625Z 2025-03-04T06:38:31.788283891Z Traceback (most recent call last): 2025-03-04T06:38:31.788287237Z File "/app/api/.venv/lib/python3.12/site-packages/requests/adapters.py", line 486, in send 2025-03-04T06:38:31.788290724Z resp = conn.urlopen( 2025-03-04T06:38:31.788293990Z ^^^^^^^^^^^^^ 2025-03-04T06:38:31.788297326Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/connectionpool.py", line 841, in urlopen 2025-03-04T06:38:31.788300773Z retries = retries.increment( 2025-03-04T06:38:31.788304069Z ^^^^^^^^^^^^^^^^^^ 2025-03-04T06:38:31.788307355Z File "/app/api/.venv/lib/python3.12/site-packages/urllib3/util/retry.py", line 519, in increment 2025-03-04T06:38:31.788310882Z raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] 2025-03-04T06:38:31.788314258Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-03-04T06:38:31.788321812Z urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marketplace.dify.ai', port=443): Max retries exceeded with url: /api/v1/plugins/batch (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4910f6b290>: Failed to establish a new connection: [Errno 101] Network is unreachable')) 2025-03-04T06:38:31.788325690Z 2025-03-04T06:38:31.788328986Z During handling of the above exception, another exception occurred: 2025-03-04T06:38:31.788332412Z 2025-03-04T06:38:31.788335608Z Traceback (most recent call last): 2025-03-04T06:38:31.788338895Z File "/app/api/services/app_dsl_service.py", line 267, in import_app 2025-03-04T06:38:31.788342301Z check_dependencies_pending_data = DependenciesAnalysisService.generate_latest_dependencies( 2025-03-04T06:38:31.788345687Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-03-04T06:38:31.788349074Z File "/app/api/services/plugin/dependencies_analysis.py", line 114, in generate_latest_dependencies 2025-03-04T06:38:31.788352490Z deps = marketplace.batch_fetch_plugin_manifests(dependencies) 2025-03-04T06:38:31.788355847Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-03-04T06:38:31.788359183Z File "/app/api/core/helper/marketplace.py", line 27, in batch_fetch_plugin_manifests 2025-03-04T06:38:31.788362579Z response = requests.post(url, json={"plugin_ids": plugin_ids}) 2025-03-04T06:38:31.788365976Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-03-04T06:38:31.788369312Z File "/app/api/.venv/lib/python3.12/site-packages/requests/api.py", line 115, in post 2025-03-04T06:38:31.788372768Z return request("post", url, data=data, json=json, **kwargs) 2025-03-04T06:38:31.788376145Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-03-04T06:38:31.788379701Z File "/app/api/.venv/lib/python3.12/site-packages/requests/api.py", line 59, in request 2025-03-04T06:38:31.788383218Z return session.request(method=method, url=url, **kwargs) 2025-03-04T06:38:31.788386604Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-03-04T06:38:31.788389951Z File "/app/api/.venv/lib/python3.12/site-packages/requests/sessions.py", line 589, in request 2025-03-04T06:38:31.788393357Z resp = self.send(prep, **send_kwargs) 2025-03-04T06:38:31.788396683Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-03-04T06:38:31.788400000Z File "/app/api/.venv/lib/python3.12/site-packages/requests/sessions.py", line 703, in send 2025-03-04T06:38:31.788403486Z r = adapter.send(request, **kwargs) 2025-03-04T06:38:31.788406792Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-03-04T06:38:31.788410139Z File "/app/api/.venv/lib/python3.12/site-packages/requests/adapters.py", line 519, in send 2025-03-04T06:38:31.788427301Z raise ConnectionError(e, request=request) 2025-03-04T06:38:31.788433302Z requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marketplace.dify.ai', port=443): Max retries exceeded with url: /api/v1/plugins/batch (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4910f6b290>: Failed to establish a new connection: [Errno 101] Network is unreachable')) ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🐞 bug label 2026-02-21 18:29:48 -05:00
yindo closed this issue 2026-02-21 18:29:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#9034