run-llama / llama_parse

Parse files for optimal RAG
https://www.llamaindex.ai
MIT License
1.81k stars 160 forks source link

Server issues #176

Open gabelegorburu opened 1 month ago

gabelegorburu commented 1 month ago

The last 2-days the server has been having issues. I get this error when trying to use the API.

"HTTP/1.1 404 Not Found"

Jordanm37 commented 1 month ago

likewise, some successful, most unsuccessful: INFO:root:Creating new index INFO:app.engine.loaders:Loading documents from loader: file, config: {'use_llama_parse': True} INFO:httpx:HTTP Request: POST https://api.cloud.llamaindex.ai/api/parsing/upload "HTTP/1.1 200 OK" Started parsing the file under job_id 13bc7534-3b7e-4783-a6ca-2a836577d75b INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/13bc7534-3b7e-4783-a6ca-2a836577d75b/result/markdown "HTTP/1.1 200 OK" INFO:httpx:HTTP Request: POST https://api.cloud.llamaindex.ai/api/parsing/upload "HTTP/1.1 200 OK" Started parsing the file under job_id 4a833a1e-f0c9-40ad-a9fe-7e4bc23783ec INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/4a833a1e-f0c9-40ad-a9fe-7e4bc23783ec/result/markdown "HTTP/1.1 200 OK" INFO:httpx:HTTP Request: POST https://api.cloud.llamaindex.ai/api/parsing/upload "HTTP/1.1 200 OK" Started parsing the file under job_id 1ff2fd46-2cbc-4726-b881-a65b427ef88d INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/1ff2fd46-2cbc-4726-b881-a65b427ef88d/result/markdown "HTTP/1.1 200 OK" INFO:httpx:HTTP Request: POST https://api.cloud.llamaindex.ai/api/parsing/upload "HTTP/1.1 200 OK" Started parsing the file under job_id ea14e76d-33eb-4881-a2a5-9d83d1a983b5 INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/ea14e76d-33eb-4881-a2a5-9d83d1a983b5/result/markdown "HTTP/1.1 200 OK" INFO:httpx:HTTP Request: POST https://api.cloud.llamaindex.ai/api/parsing/upload "HTTP/1.1 200 OK" Started parsing the file under job_id 06e0e3bb-56e4-4036-a2aa-33d59f72b739 INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/06e0e3bb-56e4-4036-a2aa-33d59f72b739/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/06e0e3bb-56e4-4036-a2aa-33d59f72b739/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/06e0e3bb-56e4-4036-a2aa-33d59f72b739/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/06e0e3bb-56e4-4036-a2aa-33d59f72b739/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/06e0e3bb-56e4-4036-a2aa-33d59f72b739/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/06e0e3bb-56e4-4036-a2aa-33d59f72b739/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/06e0e3bb-56e4-4036-a2aa-33d59f72b739/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/06e0e3bb-56e4-4036-a2aa-33d59f72b739/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/06e0e3bb-56e4-4036-a2aa-33d59f72b739/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/06e0e3bb-56e4-4036-a2aa-33d59f72b739/result/markdown "HTTP/1.1 404 Not Found" .INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/06e0e3bb-56e4-4036-a2aa-33d59f72b739/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/06e0e3bb-56e4-4036-a2aa-33d59f72b739/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/06e0e3bb-56e4-4036-a2aa-33d59f72b739/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/06e0e3bb-56e4-4036-a2aa-33d59f72b739/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/06e0e3bb-56e4-4036-a2aa-33d59f72b739/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/06e0e3bb-56e4-4036-a2aa-33d59f72b739/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/06e0e3bb-56e4-4036-a2aa-33d59f72b739/result/markdown "HTTP/1.1 200 OK" INFO:httpx:HTTP Request: POST https://api.cloud.llamaindex.ai/api/parsing/upload "HTTP/1.1 200 OK" Started parsing the file under job_id 02222a56-cd01-4e25-9fdd-0abd3a7e6b8d INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" .INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" .INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/02222a56-cd01-4e25-9fdd-0abd3a7e6b8d/result/markdown "HTTP/1.1 200 OK" INFO:httpx:HTTP Request: POST https://api.cloud.llamaindex.ai/api/parsing/upload "HTTP/1.1 200 OK" Started parsing the file under job_id 117aa1f9-d463-47e5-885a-8c9cbded081e INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/117aa1f9-d463-47e5-885a-8c9cbded081e/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/117aa1f9-d463-47e5-885a-8c9cbded081e/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/117aa1f9-d463-47e5-885a-8c9cbded081e/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/117aa1f9-d463-47e5-885a-8c9cbded081e/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/117aa1f9-d463-47e5-885a-8c9cbded081e/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/117aa1f9-d463-47e5-885a-8c9cbded081e/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/117aa1f9-d463-47e5-885a-8c9cbded081e/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/117aa1f9-d463-47e5-885a-8c9cbded081e/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/117aa1f9-d463-47e5-885a-8c9cbded081e/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/117aa1f9-d463-47e5-885a-8c9cbded081e/result/markdown "HTTP/1.1 404 Not Found" .INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/117aa1f9-d463-47e5-885a-8c9cbded081e/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/117aa1f9-d463-47e5-885a-8c9cbded081e/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/117aa1f9-d463-47e5-885a-8c9cbded081e/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/117aa1f9-d463-47e5-885a-8c9cbded081e/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/117aa1f9-d463-47e5-885a-8c9cbded081e/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/117aa1f9-d463-47e5-885a-8c9cbded081e/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/117aa1f9-d463-47e5-885a-8c9cbded081e/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/117aa1f9-d463-47e5-885a-8c9cbded081e/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/117aa1f9-d463-47e5-885a-8c9cbded081e/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/117aa1f9-d463-47e5-885a-8c9cbded081e/result/markdown "HTTP/1.1 404 Not Found" .INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/117aa1f9-d463-47e5-885a-8c9cbded081e/result/markdown "HTTP/1.1 200 OK" INFO:httpx:HTTP Request: POST https://api.cloud.llamaindex.ai/api/parsing/upload "HTTP/1.1 200 OK" Started parsing the file under job_id d1f83ead-1eeb-417c-a9a9-b010dfaec5be INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/d1f83ead-1eeb-417c-a9a9-b010dfaec5be/result/markdown "HTTP/1.1 200 OK" INFO:httpx:HTTP Request: POST https://api.cloud.llamaindex.ai/api/parsing/upload "HTTP/1.1 200 OK" Started parsing the file under job_id f756ee62-baf9-4509-b87e-a98e3df58d1b INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/f756ee62-baf9-4509-b87e-a98e3df58d1b/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/f756ee62-baf9-4509-b87e-a98e3df58d1b/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/f756ee62-baf9-4509-b87e-a98e3df58d1b/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/f756ee62-baf9-4509-b87e-a98e3df58d1b/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/f756ee62-baf9-4509-b87e-a98e3df58d1b/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/f756ee62-baf9-4509-b87e-a98e3df58d1b/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/f756ee62-baf9-4509-b87e-a98e3df58d1b/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: GET https://api.cloud.llamaindex.ai/api/parsing/job/f756ee62-baf9-4509-b87e-a98e3df58d1b/result/markdown "HTTP/1.1 404 Not Found" INFO:httpx:HTTP Request: G

boluo2019 commented 1 month ago

The last 2-days the server has been having issues. I get this error when trying to use the API.

"HTTP/1.1 404 Not Found"

我今天测试也遇到报错了,在cloud上看到的是这样的状态,不知道是正常还是异常:

image

我的代码如下:

import os
    os.environ["LLAMA_CLOUD_API_KEY"] = "我的key"
    pdf_file_name = './chinese_pdf.pdf'
    if not os.path.exists(pdf_file_name):
        raise FileNotFoundError(f"file not found {os.path.abspath(pdf_file_name)}")
    else:
        print(f"{os.path.abspath(pdf_file_name)}")
    parser = LlamaParse(
        result_type=ResultType.MD,
        language=Language.SIMPLIFIED_CHINESE,
        verbose=True,
        num_workers=1,
    )
    documents = parser.load_data(pdf_file_name)
    print(documents)

执行结果如下:

/xxx/pdf_parser_test/chinese_pdf.pdf
Started parsing the file under job_id 2401dc84-c871-46d2-b087-33e18a1943bb
Error while parsing the file './chinese_pdf.pdf': 'traceback' object is not callable

debug到中间有报404

image