[Bug]: web dead after the query submitted for V0.22.1
Self Checks
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (Language Policy).
- [x] Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
- [x] Please do not modify this template :) and fill in all the required fields.
RAGFlow workspace code commit ID
noidyet
RAGFlow image version
V0.22.1
Other environment information
5880 ada
Ubuntu 22.04
Actual behavior
Everything is ok for some simple Q&A, but once the query - "please help list all issues about BSOD" is input and web will dead after a while of thinking chain displayed in the web and no other response when I click other icon on the web, and finally I should kill the process of "Isolated Web Co" as below picture and restart the web connection.
Expected behavior
Smooth response from the RAGFlow during the Chat Q&A.
Steps to reproduce
1. Git clone RAGFlow V0.22.1 to local Ubuntu22.04.
2. Start the RAGFlow V0.22.1 successfully with log monitoring for "docker logs -f docker-ragflow-cpu-1".
3. Configure the dataset and Chat successfully.
4. Ask some simple query and get the answer smoothly.
5. Ask the query of "please help list all issues about BSOD", some thinking chain is displayed and several seconds later the output of thinking chain stop and the whole RAGFlow web is dead without any response even you click the other icon.
6. Check the process via top command and kill the RAGFlow web and restart it that can restore the web service from RAGFlow server.
As long as I ask the question of "please help list all issues about BSOD", the RAGFlow web will 100% dead.
Additional information
This is a known regression in RAGFlow v0.22.1: complex queries that trigger extensive reasoning chains (like "please help list all issues about BSOD") can cause a backend deadlock, freezing the web UI and spiking CPU usage. This is due to architectural changes in v0.22.1 (async/Trio refactor), which can deadlock the async task executor, especially when the DeepResearcher module processes multi-step reasoning. The symptoms you described—UI hang after a "thinking" chain, 100% CPU, and needing to kill/restart the process—match the tracked bug exactly. The issue is not caused by your environment or configuration, and is 100% reproducible with certain queries.
Current workarounds: revert to v0.22.0, use the nightly build, or periodically restart the service if it gets stuck. Limiting input size and monitoring database health may reduce frequency, but won't resolve the underlying bug. The maintainers are aware and working on a fix. More details and technical discussion are available in this issue thread and here.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
Pull nightly version of docker image.
Pull nightly version and launch it and find a lot of error in the log as below:
test@test-test-Product:~/ragflow/ragflow-0.22.1/ragflow$ docker logs -f docker-ragflow-cpu-1
[docling] disabled by USE_DOCLING
[mineru] disabled by USE_MINERU
Starting nginx...
Starting ragflow_server...
Starting data sync...
Starting 1 task executor(s) on host 'cfdaab75dc59'...
/ragflow/.venv/lib/python3.12/site-packages/pluginlib/_objects.py:14: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
from pkg_resources import parse_version
/ragflow/.venv/lib/python3.12/site-packages/xgboost/compat.py:105: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
/ragflow/.venv/lib/python3.12/site-packages/xgboost/compat.py:105: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
WARNING:root:SECURITY WARNING: Using auto-generated SECRET_KEY.
WARNING:root:Load term.freq FAIL!
WARNING:root:Realtime synonym is disabled, since no redis connection.
WARNING:root:Load term.freq FAIL!
WARNING:root:Realtime synonym is disabled, since no redis connection.
2025-12-11 11:08:55,360 INFO 21 data_sync_0 log path: /ragflow/logs/data_sync_0.log, log levels: {'peewee': 'WARNING', 'pdfminer': 'WARNING', 'root': 'INFO'}
Traceback (most recent call last):
File "/ragflow/rag/svr/sync_data_source.py", line 717, in <module>
asyncio.run(main)
File "/usr/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/runners.py", line 89, in run
raise ValueError("a coroutine was expected, got {!r}".format(coro))
ValueError: a coroutine was expected, got <function main at 0x78f6967ef920>
/ragflow/.venv/lib/python3.12/site-packages/scholarly/_scholarly.py:312: SyntaxWarning: invalid escape sequence '\d'
m = re.search("cites=[\d+,]*", object["citedby_url"])
/ragflow/.venv/lib/python3.12/site-packages/scholarly/_scholarly.py:312: SyntaxWarning: invalid escape sequence '\d'
m = re.search("cites=[\d+,]*", object["citedby_url"])
/ragflow/graphrag/entity_resolution.py:254: SyntaxWarning: invalid escape sequence '\d'
pattern_int = f"{re.escape(entity_index_delimiter)}(\d+){re.escape(entity_index_delimiter)}"
/ragflow/.venv/lib/python3.12/site-packages/graspologic/align/seedless_procrustes.py:18: SyntaxWarning: invalid escape sequence '\i'
"""
/ragflow/graphrag/entity_resolution.py:254: SyntaxWarning: invalid escape sequence '\d'
pattern_int = f"{re.escape(entity_index_delimiter)}(\d+){re.escape(entity_index_delimiter)}"
/ragflow/.venv/lib/python3.12/site-packages/graspologic/align/seedless_procrustes.py:18: SyntaxWarning: invalid escape sequence '\i'
"""
/ragflow/.venv/lib/python3.12/site-packages/hyppo/kgof/kernel.py:89: SyntaxWarning: invalid escape sequence '\s'
"""
/ragflow/.venv/lib/python3.12/site-packages/hyppo/kgof/kernel.py:128: SyntaxWarning: invalid escape sequence '\s'
"""
/ragflow/.venv/lib/python3.12/site-packages/hyppo/kgof/kernel.py:263: SyntaxWarning: invalid escape sequence '\s'
"""
/ragflow/.venv/lib/python3.12/site-packages/hyppo/kgof/kernel.py:89: SyntaxWarning: invalid escape sequence '\s'
"""
/ragflow/.venv/lib/python3.12/site-packages/hyppo/kgof/kernel.py:128: SyntaxWarning: invalid escape sequence '\s'
"""
/ragflow/.venv/lib/python3.12/site-packages/hyppo/kgof/kernel.py:263: SyntaxWarning: invalid escape sequence '\s'
"""
/ragflow/.venv/lib/python3.12/site-packages/graspologic/match/wrappers.py:74: SyntaxWarning: invalid escape sequence '\s'
"""
/ragflow/.venv/lib/python3.12/site-packages/graspologic/pipeline/embed/adjacency_spectral_embedding.py:37: SyntaxWarning: invalid escape sequence '\S'
"""
/ragflow/.venv/lib/python3.12/site-packages/graspologic/pipeline/embed/laplacian_spectral_embedding.py:38: SyntaxWarning: invalid escape sequence '\S'
"""
/ragflow/.venv/lib/python3.12/site-packages/graspologic/match/wrappers.py:74: SyntaxWarning: invalid escape sequence '\s'
"""
/ragflow/.venv/lib/python3.12/site-packages/graspologic/pipeline/embed/adjacency_spectral_embedding.py:37: SyntaxWarning: invalid escape sequence '\S'
"""
/ragflow/.venv/lib/python3.12/site-packages/graspologic/pipeline/embed/laplacian_spectral_embedding.py:38: SyntaxWarning: invalid escape sequence '\S'
"""
2025-12-11 11:09:10,471 INFO 44 task_executor_cfdaab75dc59_0 log path: /ragflow/logs/task_executor_cfdaab75dc59_0.log, log levels: {'peewee': 'WARNING', 'pdfminer': 'WARNING', 'root': 'INFO'}
2025-12-11 11:09:10,472 INFO 44
____ __ _
/ _/___ ____ ____ _____/ /_(_)___ ____ ________ ______ _____ _____
/ // __ \/ __ `/ _ \/ ___/ __/ / __ \/ __ \ / ___/ _ \/ ___/ | / / _ \/ ___/
_/ // / / / /_/ / __(__ ) /_/ / /_/ / / / / (__ ) __/ / | |/ / __/ /
/___/_/ /_/\__, /\___/____/\__/_/\____/_/ /_/ /____/\___/_/ |___/\___/_/
/____/
2025-12-11 11:09:10,472 INFO 44 RAGFlow version: v0.22.1-176-gf128a1fa
2025-12-11 11:09:10,473 INFO 44 Current configs, from /ragflow/conf/service_conf.yaml:
ragflow: {'host': '0.0.0.0', 'http_port': 9380}
admin: {'host': '0.0.0.0', 'http_port': 9381}
mysql: {'name': 'rag_flow', 'user': 'root', 'password': '********', 'host': 'mysql', 'port': 3306, 'max_connections': 900, 'stale_timeout': 300, 'max_allowed_packet': 1073741824}
minio: {'user': 'rag_flow', 'password': '********', 'host': 'minio:9000'}
es: {'hosts': 'http://es01:9200', 'username': 'elastic', 'password': '********'}
os: {'hosts': 'http://opensearch01:9201', 'username': 'admin', 'password': '********'}
infinity: {'uri': 'infinity:23817', 'db_name': 'default_db'}
redis: {'db': 1, 'password': '********', 'host': 'redis:6379'}
user_default_llm: {'default_models': {'embedding_model': {'api_key': 'xxx', 'base_url': 'http://tei:80'}}}
2025-12-11 11:09:10,474 WARNING 44 SECURITY WARNING: Using auto-generated SECRET_KEY.
2025-12-11 11:09:10,474 INFO 44 Use Elasticsearch http://es01:9200 as the doc engine.
2025-12-11 11:09:10,497 INFO 44 GET http://es01:9200/ [status:200 duration:0.015s]
2025-12-11 11:09:10,499 INFO 44 HEAD http://es01:9200/ [status:200 duration:0.002s]
2025-12-11 11:09:10,500 INFO 44 Elasticsearch http://es01:9200 is healthy.
2025-12-11 11:09:10,506 WARNING 44 Load term.freq FAIL!
2025-12-11 11:09:10,515 WARNING 44 Realtime synonym is disabled, since no redis connection.
2025-12-11 11:09:10,530 WARNING 44 Load term.freq FAIL!
2025-12-11 11:09:10,539 WARNING 44 Realtime synonym is disabled, since no redis connection.
2025-12-11 11:09:10,540 INFO 44 can't import package 'torch'
2025-12-11 11:09:10,540 INFO 44 USE_MINERU='false'. Skipping MinerU installation.
2025-12-11 11:09:10,540 INFO 44 default embedding config: {'model': '', 'factory': '', 'api_key': 'xxx', 'base_url': 'http://tei:80'}
2025-12-11 11:09:10,540 INFO 44 MAX_CONTENT_LENGTH: 134217728
2025-12-11 11:09:10,540 INFO 44 MAX_FILE_COUNT_PER_USER: 0
2025-12-11 11:09:10,546 INFO 44 task_executor_cfdaab75dc59_0 reported heartbeat: {"ip_address": "172.18.0.6", "pid": 44, "name": "task_executor_cfdaab75dc59_0", "now": "2025-12-11T11:09:10.546+08:00", "boot_at": "2025-12-11T11:09:10.461+08:00", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": {}}
2025-12-11 11:09:10,547 INFO 44 task_executor_2de2318cc422_0 expired, removed
/ragflow/.venv/lib/python3.12/site-packages/xgboost/compat.py:105: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
2025-12-11 11:09:11,863 INFO 14 ragflow_server log path: /ragflow/logs/ragflow_server.log, log levels: {'peewee': 'WARNING', 'pdfminer': 'WARNING', 'root': 'INFO'}
2025-12-11 11:09:11,863 INFO 14
____ ___ ______ ______ __
/ __ \ / | / ____// ____// /____ _ __
/ /_/ // /| | / / __ / /_ / // __ \| | /| / /
/ _, _// ___ |/ /_/ // __/ / // /_/ /| |/ |/ /
/_/ |_|/_/ |_|\____//_/ /_/ \____/ |__/|__/
2025-12-11 11:09:11,864 INFO 14 RAGFlow version: v0.22.1-176-gf128a1fa
2025-12-11 11:09:11,864 INFO 14 project base: /ragflow
2025-12-11 11:09:11,864 INFO 14 Current configs, from /ragflow/conf/service_conf.yaml:
ragflow: {'host': '0.0.0.0', 'http_port': 9380}
admin: {'host': '0.0.0.0', 'http_port': 9381}
mysql: {'name': 'rag_flow', 'user': 'root', 'password': '********', 'host': 'mysql', 'port': 3306, 'max_connections': 900, 'stale_timeout': 300, 'max_allowed_packet': 1073741824}
minio: {'user': 'rag_flow', 'password': '********', 'host': 'minio:9000'}
es: {'hosts': 'http://es01:9200', 'username': 'elastic', 'password': '********'}
os: {'hosts': 'http://opensearch01:9201', 'username': 'admin', 'password': '********'}
infinity: {'uri': 'infinity:23817', 'db_name': 'default_db'}
redis: {'db': 1, 'password': '********', 'host': 'redis:6379'}
user_default_llm: {'default_models': {'embedding_model': {'api_key': 'xxx', 'base_url': 'http://tei:80'}}}
2025-12-11 11:09:11,865 WARNING 14 SECURITY WARNING: Using auto-generated SECRET_KEY.
2025-12-11 11:09:11,867 WARNING 14 Load term.freq FAIL!
2025-12-11 11:09:11,871 WARNING 14 Realtime synonym is disabled, since no redis connection.
2025-12-11 11:09:11,873 WARNING 14 Load term.freq FAIL!
2025-12-11 11:09:11,876 WARNING 14 Realtime synonym is disabled, since no redis connection.
2025-12-11 11:09:11,877 INFO 14 MAX_CONTENT_LENGTH: 134217728
2025-12-11 11:09:11,877 INFO 14 MAX_FILE_COUNT_PER_USER: 0
2025-12-11 11:09:13,175 INFO 14 init web data success:1.1559603214263916
2025-12-11 11:09:13,175 INFO 14 Recursively importing plugins from path `/ragflow/plugin/embedded_plugins`
2025-12-11 11:09:13,177 INFO 14 Loaded llm_tools plugin BadCalculatorPlugin version 1.0.0
2025-12-11 11:09:13,177 INFO 14 RAGFlow HTTP server start...
* Serving Quart app 'api.apps'
* Debug mode: False
* Please use an ASGI server (e.g. Hypercorn) directly in production
* Running on http://0.0.0.0:9380 (CTRL + C to quit)
[2025-12-11 11:09:13 +0800] [14] [INFO] Running on http://0.0.0.0:9380 (CTRL + C to quit)
2025-12-11 11:09:13,354 INFO 14 Running on http://0.0.0.0:9380 (CTRL + C to quit)
2025-12-11 11:09:14,177 INFO 14 Starting update_progress thread (delayed)
2025-12-11 11:09:14,179 INFO 14 update_progress lock_value: 32567921-8d87-400a-ac29-c133d061c925
2025-12-11 11:09:14,345 INFO 636 data_sync_0 log path: /ragflow/logs/data_sync_0.log, log levels: {'peewee': 'WARNING', 'pdfminer': 'WARNING', 'root': 'INFO'}
Traceback (most recent call last):
File "/ragflow/rag/svr/sync_data_source.py", line 717, in <module>
asyncio.run(main)
File "/usr/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/runners.py", line 89, in run
raise ValueError("a coroutine was expected, got {!r}".format(coro))
ValueError: a coroutine was expected, got <function main at 0x7aa860b3f920>
2025-12-11 11:09:14,973 WARNING 14 load_user got exception Signature b'WSlHzzrHISlR5QveFmMJ_OiDB1o' does not match
2025-12-11 11:09:14,974 ERROR 14 Unhandled exception during request
Traceback (most recent call last):
File "/ragflow/.venv/lib/python3.12/site-packages/quart/app.py", line 1500, in full_dispatch_request
result = await self.dispatch_request(request_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ragflow/.venv/lib/python3.12/site-packages/quart/app.py", line 1597, in dispatch_request
return await self.ensure_async(handler)(**request_.view_args) # type: ignore[return-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ragflow/api/apps/__init__.py", line 170, in wrapper
raise Unauthorized()
quart_auth.extension.Unauthorized: 401 Unauthorized: The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.
[2025-12-11 11:09:14 +0800] [14] [INFO] 127.0.0.1:44270 POST /v1/dialog/next 1.1 200 72 5845
2025-12-11 11:09:15,090 WARNING 14 load_user got exception Signature b'WSlHzzrHISlR5QveFmMJ_OiDB1o' does not match
2025-12-11 11:09:15,090 WARNING 14 load_user got exception Signature b'WSlHzzrHISlR5QveFmMJ_OiDB1o' does not match
2025-12-11 11:09:15,090 ERROR 14 Unhandled exception during request
Traceback (most recent call last):
File "/ragflow/.venv/lib/python3.12/site-packages/quart/app.py", line 1500, in full_dispatch_request
result = await self.dispatch_request(request_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ragflow/.venv/lib/python3.12/site-packages/quart/app.py", line 1597, in dispatch_request
return await self.ensure_async(handler)(**request_.view_args) # type: ignore[return-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ragflow/api/apps/__init__.py", line 170, in wrapper
raise Unauthorized()
quart_auth.extension.Unauthorized: 401 Unauthorized: The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.
2025-12-11 11:09:15,091 ERROR 14 Unhandled exception during request
Traceback (most recent call last):
File "/ragflow/.venv/lib/python3.12/site-packages/quart/app.py", line 1500, in full_dispatch_request
result = await self.dispatch_request(request_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ragflow/.venv/lib/python3.12/site-packages/quart/app.py", line 1597, in dispatch_request
return await self.ensure_async(handler)(**request_.view_args) # type: ignore[return-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ragflow/api/apps/__init__.py", line 170, in wrapper
raise Unauthorized()
quart_auth.extension.Unauthorized: 401 Unauthorized: The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.
2025-12-11 11:09:15,092 WARNING 14 load_user got exception Signature b'WSlHzzrHISlR5QveFmMJ_OiDB1o' does not match
2025-12-11 11:09:15,093 WARNING 14 load_user got exception Signature b'WSlHzzrHISlR5QveFmMJ_OiDB1o' does not match
2025-12-11 11:09:15,093 ERROR 14 Unhandled exception during request
Traceback (most recent call last):
File "/ragflow/.venv/lib/python3.12/site-packages/quart/app.py", line 1500, in full_dispatch_request
result = await self.dispatch_request(request_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ragflow/.venv/lib/python3.12/site-packages/quart/app.py", line 1597, in dispatch_request
return await self.ensure_async(handler)(**request_.view_args) # type: ignore[return-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ragflow/api/apps/__init__.py", line 170, in wrapper
raise Unauthorized()
quart_auth.extension.Unauthorized: 401 Unauthorized: The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.
2025-12-11 11:09:15,093 ERROR 14 Unhandled exception during request
Traceback (most recent call last):
File "/ragflow/.venv/lib/python3.12/site-packages/quart/app.py", line 1500, in full_dispatch_request
result = await self.dispatch_request(request_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ragflow/.venv/lib/python3.12/site-packages/quart/app.py", line 1597, in dispatch_request
return await self.ensure_async(handler)(**request_.view_args) # type: ignore[return-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ragflow/api/apps/__init__.py", line 170, in wrapper
raise Unauthorized()
quart_auth.extension.Unauthorized: 401 Unauthorized: The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.
[2025-12-11 11:09:15 +0800] [14] [INFO] 127.0.0.1:44274 POST /v1/kb/list 1.1 200 72 6705
[2025-12-11 11:09:15 +0800] [14] [INFO] 127.0.0.1:44276 POST /v1/dialog/next 1.1 200 72 7141
[2025-12-11 11:09:15 +0800] [14] [INFO] 127.0.0.1:44288 GET /v1/user/tenant_info 1.1 200 72 7394
[2025-12-11 11:09:15 +0800] [14] [INFO] 127.0.0.1:44290 GET /v1/user/info 1.1 200 72 8048
[2025-12-11 11:09:15 +0800] [14] [INFO] 127.0.0.1:44300 GET /v1/user/login/channels 1.1 200 41 2949
[2025-12-11 11:09:15 +0800] [14] [INFO] 127.0.0.1:44292 GET /v1/system/config 1.1 200 60 3520
/ragflow/.venv/lib/python3.12/site-packages/xgboost/compat.py:105: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
2025-12-11 11:09:32,385 INFO 1229 data_sync_0 log path: /ragflow/logs/data_sync_0.log, log levels: {'peewee': 'WARNING', 'pdfminer': 'WARNING', 'root': 'INFO'}
Traceback (most recent call last):
File "/ragflow/rag/svr/sync_data_source.py", line 717, in <module>
asyncio.run(main)
File "/usr/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/runners.py", line 89, in run
raise ValueError("a coroutine was expected, got {!r}".format(coro))
ValueError: a coroutine was expected, got <function main at 0x7b206d8fb920>
2025-12-11 11:09:40,557 INFO 44 task_executor_cfdaab75dc59_0 reported heartbeat: {"ip_address": "172.18.0.6", "pid": 44, "name": "task_executor_cfdaab75dc59_0", "now": "2025-12-11T11:09:40.556+08:00", "boot_at": "2025-12-11T11:09:10.461+08:00", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": {}}
/ragflow/.venv/lib/python3.12/site-packages/xgboost/compat.py:105: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
2025-12-11 11:09:50,522 INFO 1362 data_sync_0 log path: /ragflow/logs/data_sync_0.log, log levels: {'peewee': 'WARNING', 'pdfminer': 'WARNING', 'root': 'INFO'}
Traceback (most recent call last):
File "/ragflow/rag/svr/sync_data_source.py", line 717, in <module>
asyncio.run(main)
File "/usr/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/runners.py", line 89, in run
raise ValueError("a coroutine was expected, got {!r}".format(coro))
ValueError: a coroutine was expected, got <function main at 0x77420b453920>
Sorry, /ragflow/rag/svr/sync_data_source.py this file has issues being resolved today, but it did not affect usage of the system.