LightRAG icon indicating copy to clipboard operation
LightRAG copied to clipboard

[Bug]:limit_async: Error in decorated function: RetryError[<Future at 0x7f2ff3a2d2d0 state=finished raised APITimeoutError>] An error occurred: RetryError[<Future at 0x7f2ff3a2d2d0 state=finished raised APITimeoutError>]

Open fingeng opened this issue 6 months ago • 0 comments

Do you need to file an issue?

  • [x] I have searched the existing issues and this bug is not already filed.
  • [ ] I believe this is a legitimate bug, not just a question or feature request.

Describe the bug

(lightrag) root@LAPTOP-A4Q6SSQG:~/LightRAG# python examples/lightrag_openai_demo.py 2025-05-28 13:11:21 - pipmaster.package_manager - INFO - Targeting pip associated with Python: /root/miniconda3/envs/lightrag/bin/python | Command base: /root/miniconda3/envs/lightrag/bin/python -m pip

LightRAG demo log file: /root/LightRAG/lightrag_demo.log

INFO: Process 6798 Shared-Data created for Single Process INFO: Created new empty graph INFO:nano-vectordb:Init {'embedding_dim': 1536, 'metric': 'cosine', 'storage_file': './dickens/vdb_entities.json'} 0 data INFO:nano-vectordb:Init {'embedding_dim': 1536, 'metric': 'cosine', 'storage_file': './dickens/vdb_relationships.json'} 0 data INFO:nano-vectordb:Init {'embedding_dim': 1536, 'metric': 'cosine', 'storage_file': './dickens/vdb_chunks.json'} 0 data INFO: Process 6798 initialized updated flags for namespace: [full_docs] INFO: Process 6798 ready to initialize storage namespace: [full_docs] INFO: Process 6798 KV load full_docs with 0 records INFO: Process 6798 initialized updated flags for namespace: [text_chunks] INFO: Process 6798 ready to initialize storage namespace: [text_chunks] INFO: Process 6798 KV load text_chunks with 0 records INFO: Process 6798 initialized updated flags for namespace: [entities] INFO: Process 6798 initialized updated flags for namespace: [relationships] INFO: Process 6798 initialized updated flags for namespace: [chunks] INFO: Process 6798 initialized updated flags for namespace: [chunk_entity_relation] INFO: Process 6798 initialized updated flags for namespace: [llm_response_cache] INFO: Process 6798 ready to initialize storage namespace: [llm_response_cache] INFO: Process 6798 KV load llm_response_cache with 0 records INFO: Process 6798 initialized updated flags for namespace: [doc_status] INFO: Process 6798 ready to initialize storage namespace: [doc_status] INFO: Process 6798 doc status load doc_status with 0 records INFO: Process 6798 storage namespace already initialized: [full_docs] INFO: Process 6798 storage namespace already initialized: [text_chunks] INFO: Process 6798 storage namespace already initialized: [llm_response_cache] INFO: Process 6798 storage namespace already initialized: [doc_status] INFO: Process 6798 Pipeline namespace initialized INFO: limit_async: 16 new workers initialized INFO: Storage Initialization completed! INFO:openai._base_client:Retrying request to /embeddings in 0.402493 seconds INFO:openai._base_client:Retrying request to /embeddings in 0.779730 seconds INFO:openai._base_client:Retrying request to /embeddings in 0.380552 seconds INFO:openai._base_client:Retrying request to /embeddings in 0.862378 seconds INFO:openai._base_client:Retrying request to /embeddings in 0.411222 seconds INFO:openai._base_client:Retrying request to /embeddings in 0.857938 seconds ERROR: limit_async: Error in decorated function: RetryError[<Future at 0x7f2ff3a2d2d0 state=finished raised APITimeoutError>] An error occurred: RetryError[<Future at 0x7f2ff3a2d2d0 state=finished raised APITimeoutError>]

Done! INFO: Creating a new event loop in main thread.

Steps to reproduce

No response

Expected Behavior

No response

LightRAG Config Used

没有更改源文件,按照quick start中依序执行命令

Logs and screenshots

No response

Additional Information

  • LightRAG Version:the latest
  • Operating System:Linux Ubuntu
  • Python Version:
  • Related Issues:

fingeng avatar May 28 '25 05:05 fingeng