Skip to content

[BUG] httpx time out at 5 seconds #71

@amararun

Description

@amararun

Wonderful package. very easy to convert my FastAPIs to MCP.

But facing an issue with my long running tasks ....they sometimes runs for upto 3 minutes but getting an httpx timeout in about 5 secs,. Might be that the httpx timeout might be at default of 5 seconds in the package. Would be great to have a timeout config setting

File "/opt/venv/lib/python3.12/site-packages/httpx/_client.py", line 1730, in _send_single_request
2025-04-16T15:07:57.393713343Z httpx.ReadTimeout

To Reproduce
Steps to reproduce the behavior, including example code.

System Info
Please specify the relevant information of your work environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions