Skip to content

Timeout Exception When Calling Downstream Services (HttpClient.Timeout). [Assistance with Better Logging] #2849

@chawlaheena21

Description

@chawlaheena21

Our Service is leveraging the SDK to make http calls to downstream service. For some intermittent calls, we are observing the following error -

Incoming exception: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.

The requests didn't reach the downstream service and there was another log - An error occurred while sending the request.

Can you help us understand the underlying cause of this timeout exception?
Is there any specific configuration or condition that could cause the request to be canceled before it reaches the downstream service?

Is it possible to enable more detailed logging (e.g., debug or trace level) in the SDK to help us understand what's happening in the client-side communication and where the timeout is occurring?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions