Skip to content

Time out error while using Ollama #54

@harinisri2001

Description

@harinisri2001

@mandalsouvik3333 I am trying to run the below using ollama

python -m docext.app.app --model_name ollama/llama3.2-vision --max_img_size 1024

But i got the below error:

Error during streaming conversion of page 1: 404 Client Error: Not Found for url: http://127.0.0.1:11434/chat/completions
2025-07-15 15:18:56.722 | INFO | docext.core.pdf2md.pdf2md:convert_to_markdown_stream:142 - Falling back to non-streaming request for page 1

Give Feedback / Get Help: https://github.com/BerriAI/litellm/issues/new
LiteLLM.Info: If you need to debug this error, use `litellm._turn_on_debug()'.

2025-07-15 15:28:57.078 | ERROR | docext.core.pdf2md.pdf2md:convert_to_markdown_stream:155 - Fallback also failed for page 1: litellm.APIConnectionError: OllamaException - litellm.Timeout: Connection timed out after 600.0 seconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions