Skip to content

Max outbound streams is 100, 100 open  #248

@valiant1x

Description

@valiant1x

I tried looking through GitHub issues and documentation for an explanation of how to increase this limit but did not find any answers. We use httpx.AsyncClient(http2=True) Async client with HTTP/2 in high concurrency scenarios. It is necessary to keep streams open when the target website goes into queue mode. At this point, if running more than 100 concurrent requests, we encounter this error. How can we resolve it?

I have tried initializing the AsyncClient with httpx.Limits(max_connections=None, max_keepalive_connections=None) but this did not make a difference.

httpx version: 0.16.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions