mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
After upgrading to v1.0.0, it is unable to have normal conversations and perform embeddings #57
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @opsvr202 on GitHub (Mar 10, 2025).
Self Checks
Dify version
v1.0.0
Plugin version
0.0.2
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Deployment method: Docker deployment
Model provider: Xinference v1.3.0.post2
LLM model: deepseek-r1-distill-qwen-32b, Int4
Embedding model: bge-larger-zh-v1.5
Reranker model: bge-reranker-large
The previous Dify version was v0.15.3
The upgrade process was normal, and there were no abnormal error messages in dify-api after the plugins were installed.
When creating a conversation, the conversation cannot be carried out normally, and dify-api reports an error.
When uploading knowledge base documents, the embedding cannot be carried out normally, and the error message in dify-api is the same as that during the conversation.
✔️ Error log
2025-02-28 16:37:42.914 DEBUG [Thread-2331 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
2025-02-28 16:37:42.919 DEBUG [Thread-2331 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "POST /plugin/6e269332-9839-43C4-B021-7fc860d5b67a/dispatch/model/schema HTTP/1.1" 200 None
2025-02-28 16:37:42.933 DEBUG [Thread-2331 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
2025-02-28 16:37:42.933 DEBUG [Thread-2331 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "POST /plugin/6e269332-9839-43C4-B021-7fc860d5b67a/dispatch/model/schema HTTP/1.1" 200 None
2025-02-28 16:37:42.939 DEBUG [Thread-2331 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
2025-02-28 16:37:42.939 DEBUG [Thread-2331 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "POST /plugin/6e269332-9839-43C4-B021-7fc860d5b67a/dispatch/model/schema HTTP/1.1" 200 None
2025-02-28 16:37:42.939 DEBUG [Thread-2331 (process_request_thread)] [connectionpool.py:241] - Starting new HTTP connection (1): plugin_daemon:5002
2025-02-28 16:37:42.939 DEBUG [Thread-2331 (process_request_thread)] [connectionpool.py:544] - http://plugin_daemon:5002 "POST /plugin/6e269332-9839-43C4-B021-7fc860d5b67a/dispatch/llm/tokens HTTP/1.1" 200 None
2025-02-28 16:37:42.957 ERROR [Thread-2332 (generate_worker)] [generate_worker.py:43] - Unknown Error when generating
Traceback (most recent call last):
File "/app/api/core/app/chat/app_generator.py", line 223, in _generate_worker
runner.run()
File "/app/api/core/app/apps/chat/app_runner.py", line 58, in run
self.get_pre_calculate_rest_tokens()
File "/app/api/core/app/apps/base/app_runner.py", line 86, in get_pre_calculate_rest_tokens
prompt_tokens = model_instance.get_llm_num_tokens(prompt_messages)
File "/app/api/core/model_manager.py", line 195, in get_llm_num_tokens
self._round_robin_invoke(
File "/app/api/core/model_manager.py", line 370, in _round_robin_invoke
return function(*args, **kwargs)
File "/app/api/core/model_runtime/model_providers/_base/large_language_model.py", line 299, in get_num_tokens
return runner.get_llm_num_tokens()
File "/app/api/core/plugin/manager/model.py", line 231, in get_llm_num_tokens
for resp in response:
File "/app/api/core/plugin/manager/base.py", line 189, in _request_with_plugin_daemon_response_stream
self._handle_plugin_daemon_error(error.error_type, error.message)
File "/app/api/core/plugin/manager/base.py", line 221, in _handle_plugin_daemon_error
raise PluginInvokeError(description)
core.plugin.manager.exceptions.PluginInvokeError: PluginInvokeError: {"args": {}, "error_type":"ConnectionError", "message":"HTTPSConnectionPool(host='openapublic.blob.core.windows.net', port=443): Max retries exceeded with url: /gpt-2/encodings/main/vocab.bpe (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f20eccdc9d0>: Failed to resolve 'openapublic.blob.core.windows.net' ([Errno -2] Name or service not known)"))"}
2025-02-28 16:37:42.976 DEBUG [Thread-2331 (process_request_thread)] [process_request_thread.py:45] - error: {"args": {}, "error_type":"ConnectionError", "message":"HTTPSConnectionPool(host='openapublic.blob.core.windows.net', port=443): Max retries exceeded with url: /gpt-2/encodings/main/vocab.bpe (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f17590ec070>: Failed to resolve 'openapublic.blob.core.windows.net' ([Errno -2] Name or service not known)"))"}
2025-02-28 16:37:42.976 ERROR [Thread-2331 (process_request_thread)] [base_app_generator.py:123] - Failed to generate response: converter.
{"args": {}, "error_type":"ConnectionError", "message":"HTTPSConnectionPool(host='openapublic.blob.core.windows.net', port=443): Max retries exceeded with url: /gpt-2/encodings/main/vocab.bpe (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f17590ec070>: Failed to resolve 'openapublic.blob.core.windows.net' ([Errno -2] Name or service not known)"))"}
raise PluginInvokeError(description=message)
core.plugin.manager.exc.PluginInvokeError: PluginInvokeError: {"args": {}, "error_type":"ConnectionError", "message":"HTTPSConnectionPool(host='openapublic.blob.core.windows.net', port=443): Max retries exceeded with url: /gpt - 2/encodings/main/vocab.bpe (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f5e0ccdc9d0>: Failed to resolve 'openapublic.blob.core.windows.net' ([Errno -2] Name or service not known)"))"}
2025-02-28 16:37:42.972 DEBUG [Thread-2331 (process_request_thread)] [based_generate_task_pipeline.py:45] - error: PluginInvokeError: {"args": {}, "error_type":"ConnectionError", "message":"HTTPSConnectionPool(host='openapublic.blob.core.windows.net', port=443): Max retries exceeded with url: /gpt - 2/encodings/main/vocab.bpe (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f5e0ccdc9d0>: Failed to resolve 'openapublic.blob.core.windows.net' ([Errno -2] Name or service not known)"))"}
2025-02-28 16:37:42.976 ERROR [Thread-2331 (process_request_thread)] [base_app_generate_response_converter.py:123] - {"args": {}, "error_type":"ConnectionError", "message":"HTTPSConnectionPool(host='openapublic.blob.core.windows.net', port=443): Max retries exceeded with url: /gpt - 2/encodings/main/vocab.bpe (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f5e0ccdc9d0>: Failed to resolve 'openapublic.blob.core.windows.net' ([Errno -2] Name or service not known)"))"}
2025-02-28 16:37:42.976 INFO [Thread-2331 (process_request_thread)] [_internal.py:97] - 172.20.0.10 -- [28/Feb/2025 08:37:42] "POST /console/api/installed - apps/e27208ae - 6eb4 - 4f72 - 9e08 - 68dc0cfbd523/chat - messages HTTP/1.1" 200 -
2025-02-28 16:37:42.983 INFO [Thread-2332 (process_request_thread)] [_internal.py:97] - 172.20.0.10 -- [28/Feb/2025 08:37:42] "OPTIONS /console/api/installed - apps/e27208ae - 6eb4 - 4f72 - 9e08 - 68dc0cfbd523/messages/answer/placeholder=174075186225/suggested - questions HTTP/1.1" 404 -
2025-02-28 16:37:43.002 INFO [Thread-2334 (process_request_thread)] [_internal.py:97] - 172.20.0.10 -- [28/Feb/2025 08:37:43] "GET /console/api/installed - apps/e27208ae - 6eb4 - 4f72 - 9e08 - 68dc0cfbd523/conversations?limit=10&pinned=false HTTP/1.1" 200 -
"Context canceled"