Internal Server Error: "failed to decrypt settings: data is nil" after creating an endpoint for a plugin #18467

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

Originally created by @Heydaar on GitHub (Sep 28, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • 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, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.9.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. Start with a completely clean, fresh installation of Dify using the official Docker Compose setup.
  2. Complete the initial setup wizard.
  3. Navigate to Tools -> Plugins.
  4. Find the LlamaCloud plugin (from langgenius) and click Install. The installation task completes successfully.
  5. After installation, click on the LlamaCloud plugin to configure it.
  6. Click Add to Tool to create a new endpoint.
  7. In the credentials form, enter any string (e.g., "test") into the API Key field.
  8. Click Save.
  9. Immediately, the UI displays an "Internal Server Error" toast message.
  10. Refreshing the page or navigating back to the Tools section consistently shows the "Internal Server Error" page, making the entire Tools section inaccessible.

The only way to recover is to completely wipe the database volume and start over.

Here is the full API log from the moment I click "Save":

api-1  | 2025-09-28 15:33:10.960 INFO [Thread-2 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:10] "GET /console/api/system-features HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:11.582 INFO [Thread-3 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/workspaces/current/plugin/preferences/fetch HTTP/1.1" 401 -
api-1  | 2025-09-28 15:33:11.583 INFO [Thread-5 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/workspaces HTTP/1.1" 401 -
api-1  | 2025-09-28 15:33:11.583 INFO [Thread-7 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/workspaces/current/models/model-types/text-embedding HTTP/1.1" 401 -
api-1  | 2025-09-28 15:33:11.584 INFO [Thread-4 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/workspaces/current/plugin/list?page=1&page_size=100 HTTP/1.1" 401 -
api-1  | 2025-09-28 15:33:11.584 INFO [Thread-6 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/workspaces/current/models/model-types/llm HTTP/1.1" 401 -
api-1  | 2025-09-28 15:33:11.585 INFO [Thread-8 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/workspaces/current/models/model-types/rerank HTTP/1.1" 401 -
api-1  | 2025-09-28 15:33:11.628 INFO [Thread-9 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/workspaces/current/model-providers HTTP/1.1" 401 -
api-1  | 2025-09-28 15:33:11.634 INFO [Thread-10 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/datasets/retrieval-setting HTTP/1.1" 401 -
api-1  | 2025-09-28 15:33:11.642 INFO [Thread-12 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/features HTTP/1.1" 401 -
api-1  | 2025-09-28 15:33:11.646 INFO [Thread-11 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/account/profile HTTP/1.1" 401 -
api-1  | 2025-09-28 15:33:11.648 INFO [Thread-13 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/workspaces/current HTTP/1.1" 401 -
api-1  | 2025-09-28 15:33:12.064 INFO [Thread-14 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:12] "GET /console/api/system-features HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:12.126 INFO [Thread-15 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:12] "GET /console/api/setup HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:12.169 INFO [Thread-16 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:12] "GET /console/api/init HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:17.831 DEBUG [Thread-17 (process_request_thread)] [opendal_storage.py:45] - file privkeys/d918c43c-f9bc-4030-83d4-04f78632bc45/private.pem saved
api-1  | 2025-09-28 15:33:17.877 INFO [Thread-17 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:17] "POST /console/api/setup HTTP/1.1" 201 -
api-1  | 2025-09-28 15:33:17.973 INFO [Thread-18 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:17] "POST /console/api/login HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:18.255 INFO [Thread-19 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/workspaces HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:18.321 INFO [Thread-23 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/apps?page=1&limit=30&name=&is_created_by_me=false HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:18.331 DEBUG [Thread-20 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:18.337 DEBUG [Thread-24 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:18.339 INFO [Thread-25 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/datasets/retrieval-setting HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:18.335 DEBUG [Thread-21 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:18.342 DEBUG [Thread-22 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:18.380 INFO [Thread-26 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/account/profile HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:18.426 DEBUG [Thread-22 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40
api-1  | 2025-09-28 15:33:18.437 DEBUG [Thread-24 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40
api-1  | 2025-09-28 15:33:18.437 INFO [Thread-27 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/workspaces/current HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:18.439 DEBUG [Thread-21 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40
api-1  | 2025-09-28 15:33:18.439 DEBUG [Thread-20 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40
api-1  | 2025-09-28 15:33:18.468 INFO [Thread-21 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/workspaces/current/models/model-types/text-embedding HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:18.474 INFO [Thread-24 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/workspaces/current/model-providers HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:18.477 INFO [Thread-28 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/workspaces/current/plugin/preferences/fetch HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:18.479 INFO [Thread-22 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/workspaces/current/models/model-types/rerank HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:18.483 INFO [Thread-20 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/workspaces/current/models/model-types/llm HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:18.510 INFO [Thread-29 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/tags?type=app HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:18.513 WARNING [Thread-31 (process_request_thread)] [version.py:66] - Check update version error: httpx.Timeout must either include a default, or set all four parameters explicitly..
api-1  | 2025-09-28 15:33:18.515 INFO [Thread-31 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/version?current_version=1.9.0 HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:18.523 INFO [Thread-30 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/features HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:18.553 DEBUG [Thread-32 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:18.558 DEBUG [Thread-32 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40
api-1  | 2025-09-28 15:33:18.561 DEBUG [Thread-33 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:18.575 INFO [Thread-32 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/datasets?limit=30&page=1 HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:18.580 DEBUG [Thread-33 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/install/tasks?page=1&page_size=100 HTTP/1.1" 200 40
api-1  | 2025-09-28 15:33:18.584 INFO [Thread-33 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/workspaces/current/plugin/tasks?page=1&page_size=100 HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:21.728 DEBUG [Thread-35 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:21.731 DEBUG [Thread-34 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:21.747 DEBUG [Thread-34 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "POST /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/debugging/key HTTP/1.1" 200 84
api-1  | 2025-09-28 15:33:21.751 DEBUG [Thread-35 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/list?page=1&page_size=100&response_type=paged HTTP/1.1" 200 59
api-1  | 2025-09-28 15:33:21.752 INFO [Thread-34 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:21] "GET /console/api/workspaces/current/plugin/debugging-key HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:21.755 INFO [Thread-35 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:21] "GET /console/api/workspaces/current/plugin/list?page=1&page_size=100 HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:36.122 DEBUG [Thread-37 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:36.124 DEBUG [Thread-36 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:36.129 DEBUG [Thread-37 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "POST /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/installation/fetch/batch HTTP/1.1" 200 40
api-1  | 2025-09-28 15:33:36.133 INFO [Thread-37 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:36] "POST /console/api/workspaces/current/plugin/list/installations/ids HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:36.137 DEBUG [Thread-36 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/fetch/manifest?plugin_unique_identifier=langgenius%2Fllamacloud%3A0.0.1%40f04004e053111eb040d912da7dbf77a62d52a3b2c21875f1df3153eb2a3d543f HTTP/1.1" 200 133
api-1  | 2025-09-28 15:33:36.141 DEBUG [Thread-36 (process_request_thread)] [_config.py:82] - load_ssl_context verify=True cert=None trust_env=True http2=False
api-1  | 2025-09-28 15:33:36.144 DEBUG [Thread-36 (process_request_thread)] [_config.py:148] - load_verify_locations cafile='/app/api/.venv/lib/python3.12/site-packages/certifi/cacert.pem'
api-1  | 2025-09-28 15:33:36.180 DEBUG [Thread-36 (process_request_thread)] [_config.py:82] - load_ssl_context verify=True cert=None trust_env=True http2=False
api-1  | 2025-09-28 15:33:36.182 DEBUG [Thread-36 (process_request_thread)] [_config.py:148] - load_verify_locations cafile='/app/api/.venv/lib/python3.12/site-packages/certifi/cacert.pem'
api-1  | 2025-09-28 15:33:36.216 DEBUG [Thread-36 (process_request_thread)] [_config.py:82] - load_ssl_context verify=True cert=None trust_env=True http2=False
api-1  | 2025-09-28 15:33:36.217 DEBUG [Thread-36 (process_request_thread)] [_config.py:148] - load_verify_locations cafile='/app/api/.venv/lib/python3.12/site-packages/certifi/cacert.pem'
api-1  | 2025-09-28 15:33:36.249 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - connect_tcp.started host='ssrf_proxy' port=3128 local_address=None timeout=5.0 socket_options=None
api-1  | 2025-09-28 15:33:36.251 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7f2e71523590>
api-1  | 2025-09-28 15:33:36.251 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - send_request_headers.started request=<Request [b'CONNECT']>
api-1  | 2025-09-28 15:33:36.252 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - send_request_headers.complete
api-1  | 2025-09-28 15:33:36.252 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - send_request_body.started request=<Request [b'CONNECT']>
api-1  | 2025-09-28 15:33:36.252 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - send_request_body.complete
api-1  | 2025-09-28 15:33:36.252 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - receive_response_headers.started request=<Request [b'CONNECT']>
api-1  | 2025-09-28 15:33:36.349 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'Connection established', [])
api-1  | 2025-09-28 15:33:36.350 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - start_tls.started ssl_context=<ssl.SSLContext object at 0x7f2e7133f7d0> server_hostname='marketplace.dify.ai' timeout=5.0
api-1  | 2025-09-28 15:33:36.482 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7f2e71496330>
api-1  | 2025-09-28 15:33:36.483 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - send_request_headers.started request=<Request [b'GET']>
api-1  | 2025-09-28 15:33:36.484 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - send_request_headers.complete
api-1  | 2025-09-28 15:33:36.484 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - send_request_body.started request=<Request [b'GET']>
api-1  | 2025-09-28 15:33:36.484 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - send_request_body.complete
api-1  | 2025-09-28 15:33:36.485 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - receive_response_headers.started request=<Request [b'GET']>
api-1  | 2025-09-28 15:33:36.929 DEBUG [Thread-38 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:36.933 DEBUG [Thread-38 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/fetch/manifest?plugin_unique_identifier=langgenius%2Fllamacloud%3A0.0.1%40f04004e053111eb040d912da7dbf77a62d52a3b2c21875f1df3153eb2a3d543f HTTP/1.1" 200 133
api-1  | 2025-09-28 15:33:36.936 DEBUG [Thread-38 (process_request_thread)] [_config.py:82] - load_ssl_context verify=True cert=None trust_env=True http2=False
api-1  | 2025-09-28 15:33:36.937 DEBUG [Thread-38 (process_request_thread)] [_config.py:148] - load_verify_locations cafile='/app/api/.venv/lib/python3.12/site-packages/certifi/cacert.pem'
api-1  | 2025-09-28 15:33:36.967 DEBUG [Thread-38 (process_request_thread)] [_config.py:82] - load_ssl_context verify=True cert=None trust_env=True http2=False
api-1  | 2025-09-28 15:33:36.969 DEBUG [Thread-38 (process_request_thread)] [_config.py:148] - load_verify_locations cafile='/app/api/.venv/lib/python3.12/site-packages/certifi/cacert.pem'
api-1  | 2025-09-28 15:33:36.999 DEBUG [Thread-38 (process_request_thread)] [_config.py:82] - load_ssl_context verify=True cert=None trust_env=True http2=False
api-1  | 2025-09-28 15:33:37.000 DEBUG [Thread-38 (process_request_thread)] [_config.py:148] - load_verify_locations cafile='/app/api/.venv/lib/python3.12/site-packages/certifi/cacert.pem'
api-1  | 2025-09-28 15:33:37.031 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - connect_tcp.started host='ssrf_proxy' port=3128 local_address=None timeout=5.0 socket_options=None
api-1  | 2025-09-28 15:33:37.033 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7f2e71386c00>
api-1  | 2025-09-28 15:33:37.033 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - send_request_headers.started request=<Request [b'CONNECT']>
api-1  | 2025-09-28 15:33:37.034 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - send_request_headers.complete
api-1  | 2025-09-28 15:33:37.034 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - send_request_body.started request=<Request [b'CONNECT']>
api-1  | 2025-09-28 15:33:37.034 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - send_request_body.complete
api-1  | 2025-09-28 15:33:37.035 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - receive_response_headers.started request=<Request [b'CONNECT']>
api-1  | 2025-09-28 15:33:37.088 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 28 Sep 2025 15:33:37 GMT'), (b'Content-Type', b'application/zip'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Nel', b'{"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}'), (b'cf-cache-status', b'DYNAMIC'), (b'Strict-Transport-Security', b'max-age=31536000; includeSubDomains'), (b'X-Content-Type-Options', b'nosniff'), (b'X-Frame-Options', b'DENY'), (b'Report-To', b'{"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=R6p6nLQ8EajTH5MDGA0sD7xnqd0MOCYQmRl%2FWLd1Lz%2FSYv31KoE%2F%2FgevdqToB5pSJrdfJqV3c0p3l6syFvjUeeCF%2FrZGIEwQDN2QNT6O2xAHDQ%3D%3D"}]}'), (b'Server', b'cloudflare'), (b'CF-RAY', b'98644cd75a85a064-FRA')])
api-1  | 2025-09-28 15:33:37.091 INFO [Thread-36 (process_request_thread)] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/llamacloud:0.0.1@f04004e053111eb040d912da7dbf77a62d52a3b2c21875f1df3153eb2a3d543f "HTTP/1.1 200 OK"
api-1  | 2025-09-28 15:33:37.091 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - receive_response_body.started request=<Request [b'GET']>
api-1  | 2025-09-28 15:33:37.120 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'Connection established', [])
api-1  | 2025-09-28 15:33:37.121 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - start_tls.started ssl_context=<ssl.SSLContext object at 0x7f2e7137c950> server_hostname='marketplace.dify.ai' timeout=5.0
api-1  | 2025-09-28 15:33:37.217 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7f2e71447620>
api-1  | 2025-09-28 15:33:37.217 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - send_request_headers.started request=<Request [b'GET']>
api-1  | 2025-09-28 15:33:37.218 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - send_request_headers.complete
api-1  | 2025-09-28 15:33:37.218 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - send_request_body.started request=<Request [b'GET']>
api-1  | 2025-09-28 15:33:37.218 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - send_request_body.complete
api-1  | 2025-09-28 15:33:37.218 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - receive_response_headers.started request=<Request [b'GET']>
api-1  | 2025-09-28 15:33:37.702 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - receive_response_body.complete
api-1  | 2025-09-28 15:33:37.703 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - response_closed.started
api-1  | 2025-09-28 15:33:37.704 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - response_closed.complete
api-1  | 2025-09-28 15:33:37.718 DEBUG [Thread-36 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:37.720 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 28 Sep 2025 15:33:37 GMT'), (b'Content-Type', b'application/zip'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Nel', b'{"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}'), (b'cf-cache-status', b'DYNAMIC'), (b'Strict-Transport-Security', b'max-age=31536000; includeSubDomains'), (b'X-Content-Type-Options', b'nosniff'), (b'X-Frame-Options', b'DENY'), (b'Report-To', b'{"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=n%2F13nIQDDuWVf1nM2%2F8g54LMhodEE%2BEzlC2rRN1I2WzKDXpVvZiC%2Fbq8wdxXXjhxUVyV3q1PS0ljR7tdM4C2LVMiNrsGcH1Yqz2DF0M2uS8PKg%3D%3D"}]}'), (b'Server', b'cloudflare'), (b'CF-RAY', b'98644cdbeaa1bb5b-FRA')])
api-1  | 2025-09-28 15:33:37.721 INFO [Thread-38 (process_request_thread)] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/llamacloud:0.0.1@f04004e053111eb040d912da7dbf77a62d52a3b2c21875f1df3153eb2a3d543f "HTTP/1.1 200 OK"
api-1  | 2025-09-28 15:33:37.722 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - receive_response_body.started request=<Request [b'GET']>
api-1  | 2025-09-28 15:33:37.920 DEBUG [Thread-36 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "POST /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/install/upload/package HTTP/1.1" 200 1696
api-1  | 2025-09-28 15:33:37.927 INFO [Thread-36 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:37] "GET /console/api/workspaces/current/plugin/marketplace/pkg?plugin_unique_identifier=langgenius/llamacloud:0.0.1@f04004e053111eb040d912da7dbf77a62d52a3b2c21875f1df3153eb2a3d543f HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:38.130 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - receive_response_body.complete
api-1  | 2025-09-28 15:33:38.131 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - response_closed.started
api-1  | 2025-09-28 15:33:38.131 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - response_closed.complete
api-1  | 2025-09-28 15:33:38.143 DEBUG [Thread-38 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:38.344 DEBUG [Thread-38 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "POST /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/install/upload/package HTTP/1.1" 200 1696
api-1  | 2025-09-28 15:33:38.352 DEBUG [Thread-38 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:38.370 DEBUG [Thread-38 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "POST /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/install/identifiers HTTP/1.1" 200 110
api-1  | 2025-09-28 15:33:38.375 INFO [Thread-38 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:38] "POST /console/api/workspaces/current/plugin/install/marketplace HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:38.443 DEBUG [Thread-39 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:38.445 DEBUG [Thread-40 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:38.448 DEBUG [Thread-39 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/install/tasks?page=1&page_size=100 HTTP/1.1" 200 685
api-1  | 2025-09-28 15:33:38.449 DEBUG [Thread-40 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/install/tasks/aa528cf1-2893-4ebc-be7e-b9e2a64ea74a HTTP/1.1" 200 683
api-1  | 2025-09-28 15:33:38.469 INFO [Thread-39 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:38] "GET /console/api/workspaces/current/plugin/tasks?page=1&page_size=100 HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:38.470 INFO [Thread-40 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:38] "GET /console/api/workspaces/current/plugin/tasks/aa528cf1-2893-4ebc-be7e-b9e2a64ea74a HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:43.532 DEBUG [Thread-41 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:43.538 DEBUG [Thread-41 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/install/tasks?page=1&page_size=100 HTTP/1.1" 200 685
api-1  | 2025-09-28 15:33:43.543 INFO [Thread-41 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:43] "GET /console/api/workspaces/current/plugin/tasks?page=1&page_size=100 HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:48.538 DEBUG [Thread-42 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:48.542 DEBUG [Thread-42 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/install/tasks/aa528cf1-2893-4ebc-be7e-b9e2a64ea74a HTTP/1.1" 200 682
api-1  | 2025-09-28 15:33:48.548 INFO [Thread-42 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/plugin/tasks/aa528cf1-2893-4ebc-be7e-b9e2a64ea74a HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:48.609 DEBUG [Thread-43 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:48.612 DEBUG [Thread-43 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/install/tasks?page=1&page_size=100 HTTP/1.1" 200 684
api-1  | 2025-09-28 15:33:48.616 INFO [Thread-43 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/plugin/tasks?page=1&page_size=100 HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:48.727 DEBUG [Thread-44 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:48.737 DEBUG [Thread-44 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/list?page=1&page_size=100&response_type=paged HTTP/1.1" 200 None
api-1  | 2025-09-28 15:33:48.746 DEBUG [Thread-45 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:48.749 INFO [Thread-44 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/plugin/list?page=1&page_size=100 HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:48.753 DEBUG [Thread-45 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40
api-1  | 2025-09-28 15:33:48.768 DEBUG [Thread-46 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:48.766 DEBUG [Thread-47 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:48.776 DEBUG [Thread-46 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40
api-1  | 2025-09-28 15:33:48.782 INFO [Thread-45 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/model-providers HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:48.785 DEBUG [Thread-48 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:48.788 DEBUG [Thread-47 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40
api-1  | 2025-09-28 15:33:48.788 DEBUG [Thread-48 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40
api-1  | 2025-09-28 15:33:48.802 INFO [Thread-46 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/models/model-types/llm HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:48.816 DEBUG [Thread-49 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:48.818 INFO [Thread-47 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/models/model-types/rerank HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:48.836 DEBUG [Thread-49 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/list?page=1&page_size=100&response_type=paged HTTP/1.1" 200 None
api-1  | 2025-09-28 15:33:48.843 INFO [Thread-49 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/plugin/list?page=1&page_size=100 HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:48.855 INFO [Thread-48 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/models/model-types/text-embedding HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:48.886 DEBUG [Thread-50 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:48.897 DEBUG [Thread-50 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40
api-1  | 2025-09-28 15:33:48.917 INFO [Thread-50 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/model-providers HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:48.925 DEBUG [Thread-51 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:48.929 DEBUG [Thread-52 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:48.931 DEBUG [Thread-51 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40
api-1  | 2025-09-28 15:33:48.932 DEBUG [Thread-53 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:48.938 DEBUG [Thread-52 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40
api-1  | 2025-09-28 15:33:48.941 DEBUG [Thread-53 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40
api-1  | 2025-09-28 15:33:48.948 INFO [Thread-51 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/models/model-types/llm HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:48.953 INFO [Thread-52 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/models/model-types/rerank HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:48.954 INFO [Thread-53 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/models/model-types/text-embedding HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:51.215 DEBUG [Thread-54 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:51.222 DEBUG [Thread-54 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/asset/c3053d8b1e9c38f681e11e6a51ef567c2857315bdc9028842177aff168ba8167.svg HTTP/1.1" 200 None
api-1  | 2025-09-28 15:33:51.229 INFO [Thread-54 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:51] "GET /console/api/workspaces/current/plugin/icon?tenant_id=d918c43c-f9bc-4030-83d4-04f78632bc45&filename=c3053d8b1e9c38f681e11e6a51ef567c2857315bdc9028842177aff168ba8167.svg HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:51.235 DEBUG [Thread-55 (process_request_thread)] [_config.py:82] - load_ssl_context verify=True cert=None trust_env=True http2=False
api-1  | 2025-09-28 15:33:51.237 DEBUG [Thread-55 (process_request_thread)] [_config.py:148] - load_verify_locations cafile='/app/api/.venv/lib/python3.12/site-packages/certifi/cacert.pem'
api-1  | 2025-09-28 15:33:51.270 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - connect_tcp.started host='marketplace.dify.ai' port=443 local_address=None timeout=5.0 socket_options=None
api-1  | 2025-09-28 15:33:51.365 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7f2e714d9a00>
api-1  | 2025-09-28 15:33:51.365 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - start_tls.started ssl_context=<ssl.SSLContext object at 0x7f2e5b70e850> server_hostname='marketplace.dify.ai' timeout=5.0
api-1  | 2025-09-28 15:33:51.466 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7f2e714dba40>
api-1  | 2025-09-28 15:33:51.467 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - send_request_headers.started request=<Request [b'POST']>
api-1  | 2025-09-28 15:33:51.468 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - send_request_headers.complete
api-1  | 2025-09-28 15:33:51.468 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - send_request_body.started request=<Request [b'POST']>
api-1  | 2025-09-28 15:33:51.468 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - send_request_body.complete
api-1  | 2025-09-28 15:33:51.469 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - receive_response_headers.started request=<Request [b'POST']>
api-1  | 2025-09-28 15:33:51.667 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 28 Sep 2025 15:33:51 GMT'), (b'Content-Type', b'application/json; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Nel', b'{"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}'), (b'cf-cache-status', b'DYNAMIC'), (b'Strict-Transport-Security', b'max-age=31536000; includeSubDomains'), (b'X-Content-Type-Options', b'nosniff'), (b'X-Frame-Options', b'DENY'), (b'Report-To', b'{"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=Y9ImGL%2BSPZwJC3M6uz7iVGrzX1ZSX8tadKghAXRT4kOim9vZgxHm8K4ZaBuhB1VicIKoTECSwvkk%2BFBatRL6omKHWLeHK82zsk2LjpsmFlFf1w%3D%3D"}]}'), (b'Content-Encoding', b'br'), (b'Server', b'cloudflare'), (b'CF-RAY', b'98644d34fc0133be-FRA')])
api-1  | 2025-09-28 15:33:51.667 INFO [Thread-55 (process_request_thread)] [_client.py:1038] - HTTP Request: POST https://marketplace.dify.ai/api/v1/plugins/batch "HTTP/1.1 200 OK"
api-1  | 2025-09-28 15:33:51.668 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - receive_response_body.started request=<Request [b'POST']>
api-1  | 2025-09-28 15:33:51.670 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - receive_response_body.complete
api-1  | 2025-09-28 15:33:51.670 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - response_closed.started
api-1  | 2025-09-28 15:33:51.671 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - response_closed.complete
api-1  | 2025-09-28 15:33:51.671 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - close.started
api-1  | 2025-09-28 15:33:51.671 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - close.complete
api-1  | 2025-09-28 15:33:51.673 INFO [Thread-55 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:51] "POST /console/api/workspaces/current/plugin/list/latest-versions HTTP/1.1" 200 -
api-1  | 2025-09-28 15:33:51.895 DEBUG [Thread-56 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:33:51.902 DEBUG [Thread-56 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/endpoint/list/plugin?plugin_id=langgenius%2Fllamacloud&page=1&page_size=100 HTTP/1.1" 200 40
api-1  | 2025-09-28 15:33:51.905 INFO [Thread-56 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:51] "GET /console/api/workspaces/current/endpoints/list/plugin?plugin_id=langgenius/llamacloud&page=1&page_size=100 HTTP/1.1" 200 -
api-1  | 2025-09-28 15:34:03.766 DEBUG [Thread-57 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:34:03.816 INFO [Thread-58 (process_request_thread)] [_internal.py:97] - 172.18.0.7 - - [28/Sep/2025 15:34:03] "POST /inner/api/invoke/encrypt HTTP/1.1" 200 -
api-1  | 2025-09-28 15:34:03.821 DEBUG [Thread-57 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "POST /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/endpoint/setup HTTP/1.1" 200 42
api-1  | 2025-09-28 15:34:03.827 INFO [Thread-57 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:34:03] "POST /console/api/workspaces/current/endpoints/create HTTP/1.1" 200 -
api-1  | 2025-09-28 15:34:03.896 DEBUG [Thread-59 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
api-1  | 2025-09-28 15:34:03.912 INFO [Thread-60 (process_request_thread)] [_internal.py:97] - 172.18.0.7 - - [28/Sep/2025 15:34:03] "POST /inner/api/invoke/encrypt HTTP/1.1" 400 -
api-1  | 2025-09-28 15:34:03.939 DEBUG [Thread-59 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/endpoint/list/plugin?plugin_id=langgenius%2Fllamacloud&page=1&page_size=100 HTTP/1.1" 200 160
api-1  | 2025-09-28 15:34:03.945 ERROR [Thread-59 (process_request_thread)] [app.py:875] - Exception on /console/api/workspaces/current/endpoints/list/plugin [GET]
api-1  | Traceback (most recent call last):
api-1  |   File "/app/api/.venv/lib/python3.12/site-packages/flask/app.py", line 917, in full_dispatch_request
api-1  |     rv = self.dispatch_request()
api-1  |          ^^^^^^^^^^^^^^^^^^^^^^^
api-1  |   File "/app/api/.venv/lib/python3.12/site-packages/flask/app.py", line 902, in dispatch_request
api-1  |     return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
api-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1  |   File "/app/api/.venv/lib/python3.12/site-packages/flask_restx/api.py", line 402, in wrapper
api-1  |     resp = resource(*args, **kwargs)
api-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^
api-1  |   File "/app/api/.venv/lib/python3.12/site-packages/flask/views.py", line 110, in view
api-1  |     return current_app.ensure_sync(self.dispatch_request)(**kwargs)  # type: ignore[no-any-return]
api-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1  |   File "/app/api/.venv/lib/python3.12/site-packages/flask_restx/resource.py", line 41, in dispatch_request
api-1  |     resp = meth(*args, **kwargs)
api-1  |            ^^^^^^^^^^^^^^^^^^^^^
api-1  |   File "/app/api/controllers/console/wraps.py", line 215, in decorated
api-1  |     return view(*args, **kwargs)
api-1  |            ^^^^^^^^^^^^^^^^^^^^^
api-1  |   File "/app/api/libs/login.py", line 62, in decorated_view
api-1  |     return current_app.ensure_sync(func)(*args, **kwargs)
api-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1  |   File "/app/api/controllers/console/wraps.py", line 37, in decorated
api-1  |     return view(*args, **kwargs)
api-1  |            ^^^^^^^^^^^^^^^^^^^^^
api-1  |   File "/app/api/controllers/console/workspace/endpoint.py", line 140, in get
api-1  |     "endpoints": EndpointService.list_endpoints_for_single_plugin(
api-1  |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1  |   File "/app/api/services/plugin/endpoint_service.py", line 26, in list_endpoints_for_single_plugin
api-1  |     return PluginEndpointClient().list_endpoints_for_single_plugin(
api-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1  |   File "/app/api/core/plugin/impl/endpoint.py", line 44, in list_endpoints_for_single_plugin
api-1  |     return self._request_with_plugin_daemon_response(
api-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
api-1  |   File "/app/api/core/plugin/impl/base.py", line 170, in _request_with_plugin_daemon_response
api-1  |     self._handle_plugin_daemon_error(error.error_type, error.message)
api-1  |   File "/app/api/core/plugin/impl/base.py", line 248, in _handle_plugin_daemon_error
api-1  |     raise PluginDaemonInternalServerError(description=message)
api-1  | core.plugin.impl.exc.PluginDaemonInternalServerError: req_id: e12ea40199 PluginDaemonInternalServerError: failed to decrypt settings: data is nil
api-1  | 2025-09-28 15:34:03.954 ERROR [Thread-59 (process_request_thread)] [app.py:875] - Exception on /console/api/workspaces/current/endpoints/list/plugin [GET]
api-1  | Traceback (most recent call last):
api-1  |   File "/app/api/.venv/lib/python3.12/site-packages/flask/app.py", line 917, in full_dispatch_request
api-1  |     rv = self.dispatch_request()
api-1  |          ^^^^^^^^^^^^^^^^^^^^^^^
api-1  |   File "/app/api/.venv/lib/python3.12/site-packages/flask/app.py", line 902, in dispatch_request
api-1  |     return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
api-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

✔️ Expected Behavior

After entering the API key and clicking "Save", I expected the endpoint to be created successfully without any errors. I should have been taken back to the plugin's page, where I can see the newly created and configured endpoint listed. The Tools section should remain fully functional.

Actual Behavior

Instead of saving the endpoint, the system immediately returned an "Internal Server Error". The API logs show that the system fails to encrypt the provided credentials, saves a nil value to the database, and then immediately fails again when it tries to decrypt this nil value while reloading the endpoint list.

This corrupts the state of the plugins, and the entire Tools section of Dify becomes permanently inaccessible, showing an "Internal Server Error" page until the database is manually wiped and reset.

Originally created by @Heydaar on GitHub (Sep 28, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [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, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.9.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1. Start with a completely clean, fresh installation of Dify using the official Docker Compose setup. 2. Complete the initial setup wizard. 3. Navigate to `Tools` -> `Plugins`. 4. Find the `LlamaCloud` plugin (from langgenius) and click `Install`. The installation task completes successfully. 5. After installation, click on the `LlamaCloud` plugin to configure it. 6. Click `Add to Tool` to create a new endpoint. 7. In the credentials form, enter any string (e.g., "test") into the `API Key` field. 8. Click `Save`. 9. Immediately, the UI displays an "Internal Server Error" toast message. 10. Refreshing the page or navigating back to the `Tools` section consistently shows the "Internal Server Error" page, making the entire Tools section inaccessible. The only way to recover is to completely wipe the database volume and start over. **Here is the full API log from the moment I click "Save":** ``` api-1 | 2025-09-28 15:33:10.960 INFO [Thread-2 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:10] "GET /console/api/system-features HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:11.582 INFO [Thread-3 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/workspaces/current/plugin/preferences/fetch HTTP/1.1" 401 - api-1 | 2025-09-28 15:33:11.583 INFO [Thread-5 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/workspaces HTTP/1.1" 401 - api-1 | 2025-09-28 15:33:11.583 INFO [Thread-7 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/workspaces/current/models/model-types/text-embedding HTTP/1.1" 401 - api-1 | 2025-09-28 15:33:11.584 INFO [Thread-4 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/workspaces/current/plugin/list?page=1&page_size=100 HTTP/1.1" 401 - api-1 | 2025-09-28 15:33:11.584 INFO [Thread-6 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/workspaces/current/models/model-types/llm HTTP/1.1" 401 - api-1 | 2025-09-28 15:33:11.585 INFO [Thread-8 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/workspaces/current/models/model-types/rerank HTTP/1.1" 401 - api-1 | 2025-09-28 15:33:11.628 INFO [Thread-9 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/workspaces/current/model-providers HTTP/1.1" 401 - api-1 | 2025-09-28 15:33:11.634 INFO [Thread-10 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/datasets/retrieval-setting HTTP/1.1" 401 - api-1 | 2025-09-28 15:33:11.642 INFO [Thread-12 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/features HTTP/1.1" 401 - api-1 | 2025-09-28 15:33:11.646 INFO [Thread-11 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/account/profile HTTP/1.1" 401 - api-1 | 2025-09-28 15:33:11.648 INFO [Thread-13 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:11] "GET /console/api/workspaces/current HTTP/1.1" 401 - api-1 | 2025-09-28 15:33:12.064 INFO [Thread-14 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:12] "GET /console/api/system-features HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:12.126 INFO [Thread-15 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:12] "GET /console/api/setup HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:12.169 INFO [Thread-16 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:12] "GET /console/api/init HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:17.831 DEBUG [Thread-17 (process_request_thread)] [opendal_storage.py:45] - file privkeys/d918c43c-f9bc-4030-83d4-04f78632bc45/private.pem saved api-1 | 2025-09-28 15:33:17.877 INFO [Thread-17 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:17] "POST /console/api/setup HTTP/1.1" 201 - api-1 | 2025-09-28 15:33:17.973 INFO [Thread-18 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:17] "POST /console/api/login HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:18.255 INFO [Thread-19 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/workspaces HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:18.321 INFO [Thread-23 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/apps?page=1&limit=30&name=&is_created_by_me=false HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:18.331 DEBUG [Thread-20 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:18.337 DEBUG [Thread-24 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:18.339 INFO [Thread-25 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/datasets/retrieval-setting HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:18.335 DEBUG [Thread-21 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:18.342 DEBUG [Thread-22 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:18.380 INFO [Thread-26 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/account/profile HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:18.426 DEBUG [Thread-22 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40 api-1 | 2025-09-28 15:33:18.437 DEBUG [Thread-24 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40 api-1 | 2025-09-28 15:33:18.437 INFO [Thread-27 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/workspaces/current HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:18.439 DEBUG [Thread-21 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40 api-1 | 2025-09-28 15:33:18.439 DEBUG [Thread-20 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40 api-1 | 2025-09-28 15:33:18.468 INFO [Thread-21 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/workspaces/current/models/model-types/text-embedding HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:18.474 INFO [Thread-24 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/workspaces/current/model-providers HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:18.477 INFO [Thread-28 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/workspaces/current/plugin/preferences/fetch HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:18.479 INFO [Thread-22 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/workspaces/current/models/model-types/rerank HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:18.483 INFO [Thread-20 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/workspaces/current/models/model-types/llm HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:18.510 INFO [Thread-29 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/tags?type=app HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:18.513 WARNING [Thread-31 (process_request_thread)] [version.py:66] - Check update version error: httpx.Timeout must either include a default, or set all four parameters explicitly.. api-1 | 2025-09-28 15:33:18.515 INFO [Thread-31 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/version?current_version=1.9.0 HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:18.523 INFO [Thread-30 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/features HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:18.553 DEBUG [Thread-32 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:18.558 DEBUG [Thread-32 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40 api-1 | 2025-09-28 15:33:18.561 DEBUG [Thread-33 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:18.575 INFO [Thread-32 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/datasets?limit=30&page=1 HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:18.580 DEBUG [Thread-33 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/install/tasks?page=1&page_size=100 HTTP/1.1" 200 40 api-1 | 2025-09-28 15:33:18.584 INFO [Thread-33 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:18] "GET /console/api/workspaces/current/plugin/tasks?page=1&page_size=100 HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:21.728 DEBUG [Thread-35 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:21.731 DEBUG [Thread-34 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:21.747 DEBUG [Thread-34 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "POST /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/debugging/key HTTP/1.1" 200 84 api-1 | 2025-09-28 15:33:21.751 DEBUG [Thread-35 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/list?page=1&page_size=100&response_type=paged HTTP/1.1" 200 59 api-1 | 2025-09-28 15:33:21.752 INFO [Thread-34 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:21] "GET /console/api/workspaces/current/plugin/debugging-key HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:21.755 INFO [Thread-35 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:21] "GET /console/api/workspaces/current/plugin/list?page=1&page_size=100 HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:36.122 DEBUG [Thread-37 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:36.124 DEBUG [Thread-36 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:36.129 DEBUG [Thread-37 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "POST /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/installation/fetch/batch HTTP/1.1" 200 40 api-1 | 2025-09-28 15:33:36.133 INFO [Thread-37 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:36] "POST /console/api/workspaces/current/plugin/list/installations/ids HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:36.137 DEBUG [Thread-36 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/fetch/manifest?plugin_unique_identifier=langgenius%2Fllamacloud%3A0.0.1%40f04004e053111eb040d912da7dbf77a62d52a3b2c21875f1df3153eb2a3d543f HTTP/1.1" 200 133 api-1 | 2025-09-28 15:33:36.141 DEBUG [Thread-36 (process_request_thread)] [_config.py:82] - load_ssl_context verify=True cert=None trust_env=True http2=False api-1 | 2025-09-28 15:33:36.144 DEBUG [Thread-36 (process_request_thread)] [_config.py:148] - load_verify_locations cafile='/app/api/.venv/lib/python3.12/site-packages/certifi/cacert.pem' api-1 | 2025-09-28 15:33:36.180 DEBUG [Thread-36 (process_request_thread)] [_config.py:82] - load_ssl_context verify=True cert=None trust_env=True http2=False api-1 | 2025-09-28 15:33:36.182 DEBUG [Thread-36 (process_request_thread)] [_config.py:148] - load_verify_locations cafile='/app/api/.venv/lib/python3.12/site-packages/certifi/cacert.pem' api-1 | 2025-09-28 15:33:36.216 DEBUG [Thread-36 (process_request_thread)] [_config.py:82] - load_ssl_context verify=True cert=None trust_env=True http2=False api-1 | 2025-09-28 15:33:36.217 DEBUG [Thread-36 (process_request_thread)] [_config.py:148] - load_verify_locations cafile='/app/api/.venv/lib/python3.12/site-packages/certifi/cacert.pem' api-1 | 2025-09-28 15:33:36.249 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - connect_tcp.started host='ssrf_proxy' port=3128 local_address=None timeout=5.0 socket_options=None api-1 | 2025-09-28 15:33:36.251 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7f2e71523590> api-1 | 2025-09-28 15:33:36.251 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - send_request_headers.started request=<Request [b'CONNECT']> api-1 | 2025-09-28 15:33:36.252 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - send_request_headers.complete api-1 | 2025-09-28 15:33:36.252 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - send_request_body.started request=<Request [b'CONNECT']> api-1 | 2025-09-28 15:33:36.252 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - send_request_body.complete api-1 | 2025-09-28 15:33:36.252 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - receive_response_headers.started request=<Request [b'CONNECT']> api-1 | 2025-09-28 15:33:36.349 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'Connection established', []) api-1 | 2025-09-28 15:33:36.350 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - start_tls.started ssl_context=<ssl.SSLContext object at 0x7f2e7133f7d0> server_hostname='marketplace.dify.ai' timeout=5.0 api-1 | 2025-09-28 15:33:36.482 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7f2e71496330> api-1 | 2025-09-28 15:33:36.483 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - send_request_headers.started request=<Request [b'GET']> api-1 | 2025-09-28 15:33:36.484 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - send_request_headers.complete api-1 | 2025-09-28 15:33:36.484 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - send_request_body.started request=<Request [b'GET']> api-1 | 2025-09-28 15:33:36.484 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - send_request_body.complete api-1 | 2025-09-28 15:33:36.485 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - receive_response_headers.started request=<Request [b'GET']> api-1 | 2025-09-28 15:33:36.929 DEBUG [Thread-38 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:36.933 DEBUG [Thread-38 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/fetch/manifest?plugin_unique_identifier=langgenius%2Fllamacloud%3A0.0.1%40f04004e053111eb040d912da7dbf77a62d52a3b2c21875f1df3153eb2a3d543f HTTP/1.1" 200 133 api-1 | 2025-09-28 15:33:36.936 DEBUG [Thread-38 (process_request_thread)] [_config.py:82] - load_ssl_context verify=True cert=None trust_env=True http2=False api-1 | 2025-09-28 15:33:36.937 DEBUG [Thread-38 (process_request_thread)] [_config.py:148] - load_verify_locations cafile='/app/api/.venv/lib/python3.12/site-packages/certifi/cacert.pem' api-1 | 2025-09-28 15:33:36.967 DEBUG [Thread-38 (process_request_thread)] [_config.py:82] - load_ssl_context verify=True cert=None trust_env=True http2=False api-1 | 2025-09-28 15:33:36.969 DEBUG [Thread-38 (process_request_thread)] [_config.py:148] - load_verify_locations cafile='/app/api/.venv/lib/python3.12/site-packages/certifi/cacert.pem' api-1 | 2025-09-28 15:33:36.999 DEBUG [Thread-38 (process_request_thread)] [_config.py:82] - load_ssl_context verify=True cert=None trust_env=True http2=False api-1 | 2025-09-28 15:33:37.000 DEBUG [Thread-38 (process_request_thread)] [_config.py:148] - load_verify_locations cafile='/app/api/.venv/lib/python3.12/site-packages/certifi/cacert.pem' api-1 | 2025-09-28 15:33:37.031 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - connect_tcp.started host='ssrf_proxy' port=3128 local_address=None timeout=5.0 socket_options=None api-1 | 2025-09-28 15:33:37.033 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7f2e71386c00> api-1 | 2025-09-28 15:33:37.033 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - send_request_headers.started request=<Request [b'CONNECT']> api-1 | 2025-09-28 15:33:37.034 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - send_request_headers.complete api-1 | 2025-09-28 15:33:37.034 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - send_request_body.started request=<Request [b'CONNECT']> api-1 | 2025-09-28 15:33:37.034 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - send_request_body.complete api-1 | 2025-09-28 15:33:37.035 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - receive_response_headers.started request=<Request [b'CONNECT']> api-1 | 2025-09-28 15:33:37.088 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 28 Sep 2025 15:33:37 GMT'), (b'Content-Type', b'application/zip'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Nel', b'{"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}'), (b'cf-cache-status', b'DYNAMIC'), (b'Strict-Transport-Security', b'max-age=31536000; includeSubDomains'), (b'X-Content-Type-Options', b'nosniff'), (b'X-Frame-Options', b'DENY'), (b'Report-To', b'{"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=R6p6nLQ8EajTH5MDGA0sD7xnqd0MOCYQmRl%2FWLd1Lz%2FSYv31KoE%2F%2FgevdqToB5pSJrdfJqV3c0p3l6syFvjUeeCF%2FrZGIEwQDN2QNT6O2xAHDQ%3D%3D"}]}'), (b'Server', b'cloudflare'), (b'CF-RAY', b'98644cd75a85a064-FRA')]) api-1 | 2025-09-28 15:33:37.091 INFO [Thread-36 (process_request_thread)] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/llamacloud:0.0.1@f04004e053111eb040d912da7dbf77a62d52a3b2c21875f1df3153eb2a3d543f "HTTP/1.1 200 OK" api-1 | 2025-09-28 15:33:37.091 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - receive_response_body.started request=<Request [b'GET']> api-1 | 2025-09-28 15:33:37.120 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'Connection established', []) api-1 | 2025-09-28 15:33:37.121 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - start_tls.started ssl_context=<ssl.SSLContext object at 0x7f2e7137c950> server_hostname='marketplace.dify.ai' timeout=5.0 api-1 | 2025-09-28 15:33:37.217 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7f2e71447620> api-1 | 2025-09-28 15:33:37.217 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - send_request_headers.started request=<Request [b'GET']> api-1 | 2025-09-28 15:33:37.218 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - send_request_headers.complete api-1 | 2025-09-28 15:33:37.218 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - send_request_body.started request=<Request [b'GET']> api-1 | 2025-09-28 15:33:37.218 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - send_request_body.complete api-1 | 2025-09-28 15:33:37.218 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - receive_response_headers.started request=<Request [b'GET']> api-1 | 2025-09-28 15:33:37.702 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - receive_response_body.complete api-1 | 2025-09-28 15:33:37.703 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - response_closed.started api-1 | 2025-09-28 15:33:37.704 DEBUG [Thread-36 (process_request_thread)] [_trace.py:47] - response_closed.complete api-1 | 2025-09-28 15:33:37.718 DEBUG [Thread-36 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:37.720 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 28 Sep 2025 15:33:37 GMT'), (b'Content-Type', b'application/zip'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Nel', b'{"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}'), (b'cf-cache-status', b'DYNAMIC'), (b'Strict-Transport-Security', b'max-age=31536000; includeSubDomains'), (b'X-Content-Type-Options', b'nosniff'), (b'X-Frame-Options', b'DENY'), (b'Report-To', b'{"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=n%2F13nIQDDuWVf1nM2%2F8g54LMhodEE%2BEzlC2rRN1I2WzKDXpVvZiC%2Fbq8wdxXXjhxUVyV3q1PS0ljR7tdM4C2LVMiNrsGcH1Yqz2DF0M2uS8PKg%3D%3D"}]}'), (b'Server', b'cloudflare'), (b'CF-RAY', b'98644cdbeaa1bb5b-FRA')]) api-1 | 2025-09-28 15:33:37.721 INFO [Thread-38 (process_request_thread)] [_client.py:1038] - HTTP Request: GET https://marketplace.dify.ai/api/v1/plugins/download?unique_identifier=langgenius/llamacloud:0.0.1@f04004e053111eb040d912da7dbf77a62d52a3b2c21875f1df3153eb2a3d543f "HTTP/1.1 200 OK" api-1 | 2025-09-28 15:33:37.722 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - receive_response_body.started request=<Request [b'GET']> api-1 | 2025-09-28 15:33:37.920 DEBUG [Thread-36 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "POST /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/install/upload/package HTTP/1.1" 200 1696 api-1 | 2025-09-28 15:33:37.927 INFO [Thread-36 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:37] "GET /console/api/workspaces/current/plugin/marketplace/pkg?plugin_unique_identifier=langgenius/llamacloud:0.0.1@f04004e053111eb040d912da7dbf77a62d52a3b2c21875f1df3153eb2a3d543f HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:38.130 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - receive_response_body.complete api-1 | 2025-09-28 15:33:38.131 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - response_closed.started api-1 | 2025-09-28 15:33:38.131 DEBUG [Thread-38 (process_request_thread)] [_trace.py:47] - response_closed.complete api-1 | 2025-09-28 15:33:38.143 DEBUG [Thread-38 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:38.344 DEBUG [Thread-38 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "POST /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/install/upload/package HTTP/1.1" 200 1696 api-1 | 2025-09-28 15:33:38.352 DEBUG [Thread-38 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:38.370 DEBUG [Thread-38 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "POST /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/install/identifiers HTTP/1.1" 200 110 api-1 | 2025-09-28 15:33:38.375 INFO [Thread-38 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:38] "POST /console/api/workspaces/current/plugin/install/marketplace HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:38.443 DEBUG [Thread-39 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:38.445 DEBUG [Thread-40 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:38.448 DEBUG [Thread-39 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/install/tasks?page=1&page_size=100 HTTP/1.1" 200 685 api-1 | 2025-09-28 15:33:38.449 DEBUG [Thread-40 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/install/tasks/aa528cf1-2893-4ebc-be7e-b9e2a64ea74a HTTP/1.1" 200 683 api-1 | 2025-09-28 15:33:38.469 INFO [Thread-39 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:38] "GET /console/api/workspaces/current/plugin/tasks?page=1&page_size=100 HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:38.470 INFO [Thread-40 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:38] "GET /console/api/workspaces/current/plugin/tasks/aa528cf1-2893-4ebc-be7e-b9e2a64ea74a HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:43.532 DEBUG [Thread-41 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:43.538 DEBUG [Thread-41 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/install/tasks?page=1&page_size=100 HTTP/1.1" 200 685 api-1 | 2025-09-28 15:33:43.543 INFO [Thread-41 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:43] "GET /console/api/workspaces/current/plugin/tasks?page=1&page_size=100 HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:48.538 DEBUG [Thread-42 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:48.542 DEBUG [Thread-42 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/install/tasks/aa528cf1-2893-4ebc-be7e-b9e2a64ea74a HTTP/1.1" 200 682 api-1 | 2025-09-28 15:33:48.548 INFO [Thread-42 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/plugin/tasks/aa528cf1-2893-4ebc-be7e-b9e2a64ea74a HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:48.609 DEBUG [Thread-43 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:48.612 DEBUG [Thread-43 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/install/tasks?page=1&page_size=100 HTTP/1.1" 200 684 api-1 | 2025-09-28 15:33:48.616 INFO [Thread-43 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/plugin/tasks?page=1&page_size=100 HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:48.727 DEBUG [Thread-44 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:48.737 DEBUG [Thread-44 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/list?page=1&page_size=100&response_type=paged HTTP/1.1" 200 None api-1 | 2025-09-28 15:33:48.746 DEBUG [Thread-45 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:48.749 INFO [Thread-44 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/plugin/list?page=1&page_size=100 HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:48.753 DEBUG [Thread-45 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40 api-1 | 2025-09-28 15:33:48.768 DEBUG [Thread-46 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:48.766 DEBUG [Thread-47 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:48.776 DEBUG [Thread-46 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40 api-1 | 2025-09-28 15:33:48.782 INFO [Thread-45 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/model-providers HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:48.785 DEBUG [Thread-48 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:48.788 DEBUG [Thread-47 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40 api-1 | 2025-09-28 15:33:48.788 DEBUG [Thread-48 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40 api-1 | 2025-09-28 15:33:48.802 INFO [Thread-46 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/models/model-types/llm HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:48.816 DEBUG [Thread-49 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:48.818 INFO [Thread-47 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/models/model-types/rerank HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:48.836 DEBUG [Thread-49 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/list?page=1&page_size=100&response_type=paged HTTP/1.1" 200 None api-1 | 2025-09-28 15:33:48.843 INFO [Thread-49 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/plugin/list?page=1&page_size=100 HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:48.855 INFO [Thread-48 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/models/model-types/text-embedding HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:48.886 DEBUG [Thread-50 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:48.897 DEBUG [Thread-50 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40 api-1 | 2025-09-28 15:33:48.917 INFO [Thread-50 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/model-providers HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:48.925 DEBUG [Thread-51 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:48.929 DEBUG [Thread-52 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:48.931 DEBUG [Thread-51 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40 api-1 | 2025-09-28 15:33:48.932 DEBUG [Thread-53 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:48.938 DEBUG [Thread-52 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40 api-1 | 2025-09-28 15:33:48.941 DEBUG [Thread-53 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/management/models?page=1&page_size=256 HTTP/1.1" 200 40 api-1 | 2025-09-28 15:33:48.948 INFO [Thread-51 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/models/model-types/llm HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:48.953 INFO [Thread-52 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/models/model-types/rerank HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:48.954 INFO [Thread-53 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:48] "GET /console/api/workspaces/current/models/model-types/text-embedding HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:51.215 DEBUG [Thread-54 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:51.222 DEBUG [Thread-54 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/asset/c3053d8b1e9c38f681e11e6a51ef567c2857315bdc9028842177aff168ba8167.svg HTTP/1.1" 200 None api-1 | 2025-09-28 15:33:51.229 INFO [Thread-54 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:51] "GET /console/api/workspaces/current/plugin/icon?tenant_id=d918c43c-f9bc-4030-83d4-04f78632bc45&filename=c3053d8b1e9c38f681e11e6a51ef567c2857315bdc9028842177aff168ba8167.svg HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:51.235 DEBUG [Thread-55 (process_request_thread)] [_config.py:82] - load_ssl_context verify=True cert=None trust_env=True http2=False api-1 | 2025-09-28 15:33:51.237 DEBUG [Thread-55 (process_request_thread)] [_config.py:148] - load_verify_locations cafile='/app/api/.venv/lib/python3.12/site-packages/certifi/cacert.pem' api-1 | 2025-09-28 15:33:51.270 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - connect_tcp.started host='marketplace.dify.ai' port=443 local_address=None timeout=5.0 socket_options=None api-1 | 2025-09-28 15:33:51.365 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - connect_tcp.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7f2e714d9a00> api-1 | 2025-09-28 15:33:51.365 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - start_tls.started ssl_context=<ssl.SSLContext object at 0x7f2e5b70e850> server_hostname='marketplace.dify.ai' timeout=5.0 api-1 | 2025-09-28 15:33:51.466 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - start_tls.complete return_value=<httpcore._backends.sync.SyncStream object at 0x7f2e714dba40> api-1 | 2025-09-28 15:33:51.467 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - send_request_headers.started request=<Request [b'POST']> api-1 | 2025-09-28 15:33:51.468 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - send_request_headers.complete api-1 | 2025-09-28 15:33:51.468 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - send_request_body.started request=<Request [b'POST']> api-1 | 2025-09-28 15:33:51.468 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - send_request_body.complete api-1 | 2025-09-28 15:33:51.469 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - receive_response_headers.started request=<Request [b'POST']> api-1 | 2025-09-28 15:33:51.667 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 28 Sep 2025 15:33:51 GMT'), (b'Content-Type', b'application/json; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Nel', b'{"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}'), (b'cf-cache-status', b'DYNAMIC'), (b'Strict-Transport-Security', b'max-age=31536000; includeSubDomains'), (b'X-Content-Type-Options', b'nosniff'), (b'X-Frame-Options', b'DENY'), (b'Report-To', b'{"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=Y9ImGL%2BSPZwJC3M6uz7iVGrzX1ZSX8tadKghAXRT4kOim9vZgxHm8K4ZaBuhB1VicIKoTECSwvkk%2BFBatRL6omKHWLeHK82zsk2LjpsmFlFf1w%3D%3D"}]}'), (b'Content-Encoding', b'br'), (b'Server', b'cloudflare'), (b'CF-RAY', b'98644d34fc0133be-FRA')]) api-1 | 2025-09-28 15:33:51.667 INFO [Thread-55 (process_request_thread)] [_client.py:1038] - HTTP Request: POST https://marketplace.dify.ai/api/v1/plugins/batch "HTTP/1.1 200 OK" api-1 | 2025-09-28 15:33:51.668 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - receive_response_body.started request=<Request [b'POST']> api-1 | 2025-09-28 15:33:51.670 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - receive_response_body.complete api-1 | 2025-09-28 15:33:51.670 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - response_closed.started api-1 | 2025-09-28 15:33:51.671 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - response_closed.complete api-1 | 2025-09-28 15:33:51.671 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - close.started api-1 | 2025-09-28 15:33:51.671 DEBUG [Thread-55 (process_request_thread)] [_trace.py:47] - close.complete api-1 | 2025-09-28 15:33:51.673 INFO [Thread-55 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:51] "POST /console/api/workspaces/current/plugin/list/latest-versions HTTP/1.1" 200 - api-1 | 2025-09-28 15:33:51.895 DEBUG [Thread-56 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:33:51.902 DEBUG [Thread-56 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/endpoint/list/plugin?plugin_id=langgenius%2Fllamacloud&page=1&page_size=100 HTTP/1.1" 200 40 api-1 | 2025-09-28 15:33:51.905 INFO [Thread-56 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:33:51] "GET /console/api/workspaces/current/endpoints/list/plugin?plugin_id=langgenius/llamacloud&page=1&page_size=100 HTTP/1.1" 200 - api-1 | 2025-09-28 15:34:03.766 DEBUG [Thread-57 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:34:03.816 INFO [Thread-58 (process_request_thread)] [_internal.py:97] - 172.18.0.7 - - [28/Sep/2025 15:34:03] "POST /inner/api/invoke/encrypt HTTP/1.1" 200 - api-1 | 2025-09-28 15:34:03.821 DEBUG [Thread-57 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "POST /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/endpoint/setup HTTP/1.1" 200 42 api-1 | 2025-09-28 15:34:03.827 INFO [Thread-57 (process_request_thread)] [_internal.py:97] - 172.18.0.11 - - [28/Sep/2025 15:34:03] "POST /console/api/workspaces/current/endpoints/create HTTP/1.1" 200 - api-1 | 2025-09-28 15:34:03.896 DEBUG [Thread-59 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002 api-1 | 2025-09-28 15:34:03.912 INFO [Thread-60 (process_request_thread)] [_internal.py:97] - 172.18.0.7 - - [28/Sep/2025 15:34:03] "POST /inner/api/invoke/encrypt HTTP/1.1" 400 - api-1 | 2025-09-28 15:34:03.939 DEBUG [Thread-59 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "GET /plugin/d918c43c-f9bc-4030-83d4-04f78632bc45/endpoint/list/plugin?plugin_id=langgenius%2Fllamacloud&page=1&page_size=100 HTTP/1.1" 200 160 api-1 | 2025-09-28 15:34:03.945 ERROR [Thread-59 (process_request_thread)] [app.py:875] - Exception on /console/api/workspaces/current/endpoints/list/plugin [GET] api-1 | Traceback (most recent call last): api-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask/app.py", line 917, in full_dispatch_request api-1 | rv = self.dispatch_request() api-1 | ^^^^^^^^^^^^^^^^^^^^^^^ api-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask/app.py", line 902, in dispatch_request api-1 | return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ api-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask_restx/api.py", line 402, in wrapper api-1 | resp = resource(*args, **kwargs) api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^ api-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask/views.py", line 110, in view api-1 | return current_app.ensure_sync(self.dispatch_request)(**kwargs) # type: ignore[no-any-return] api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ api-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask_restx/resource.py", line 41, in dispatch_request api-1 | resp = meth(*args, **kwargs) api-1 | ^^^^^^^^^^^^^^^^^^^^^ api-1 | File "/app/api/controllers/console/wraps.py", line 215, in decorated api-1 | return view(*args, **kwargs) api-1 | ^^^^^^^^^^^^^^^^^^^^^ api-1 | File "/app/api/libs/login.py", line 62, in decorated_view api-1 | return current_app.ensure_sync(func)(*args, **kwargs) api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ api-1 | File "/app/api/controllers/console/wraps.py", line 37, in decorated api-1 | return view(*args, **kwargs) api-1 | ^^^^^^^^^^^^^^^^^^^^^ api-1 | File "/app/api/controllers/console/workspace/endpoint.py", line 140, in get api-1 | "endpoints": EndpointService.list_endpoints_for_single_plugin( api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ api-1 | File "/app/api/services/plugin/endpoint_service.py", line 26, in list_endpoints_for_single_plugin api-1 | return PluginEndpointClient().list_endpoints_for_single_plugin( api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ api-1 | File "/app/api/core/plugin/impl/endpoint.py", line 44, in list_endpoints_for_single_plugin api-1 | return self._request_with_plugin_daemon_response( api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ api-1 | File "/app/api/core/plugin/impl/base.py", line 170, in _request_with_plugin_daemon_response api-1 | self._handle_plugin_daemon_error(error.error_type, error.message) api-1 | File "/app/api/core/plugin/impl/base.py", line 248, in _handle_plugin_daemon_error api-1 | raise PluginDaemonInternalServerError(description=message) api-1 | core.plugin.impl.exc.PluginDaemonInternalServerError: req_id: e12ea40199 PluginDaemonInternalServerError: failed to decrypt settings: data is nil api-1 | 2025-09-28 15:34:03.954 ERROR [Thread-59 (process_request_thread)] [app.py:875] - Exception on /console/api/workspaces/current/endpoints/list/plugin [GET] api-1 | Traceback (most recent call last): api-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask/app.py", line 917, in full_dispatch_request api-1 | rv = self.dispatch_request() api-1 | ^^^^^^^^^^^^^^^^^^^^^^^ api-1 | File "/app/api/.venv/lib/python3.12/site-packages/flask/app.py", line 902, in dispatch_request api-1 | return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return] api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ``` ### ✔️ Expected Behavior After entering the API key and clicking "Save", I expected the endpoint to be created successfully without any errors. I should have been taken back to the plugin's page, where I can see the newly created and configured endpoint listed. The Tools section should remain fully functional. ### ❌ Actual Behavior Instead of saving the endpoint, the system immediately returned an "Internal Server Error". The API logs show that the system fails to encrypt the provided credentials, saves a `nil` value to the database, and then immediately fails again when it tries to decrypt this `nil` value while reloading the endpoint list. This corrupts the state of the plugins, and the entire `Tools` section of Dify becomes permanently inaccessible, showing an "Internal Server Error" page until the database is manually wiped and reset.
yindo added the 🐞 bug label 2026-02-21 19:48:01 -05:00
yindo closed this issue 2026-02-21 19:48:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#18467