Skip to content

Request timeouts reported as ForwarderError.RequestCanceled instead of RequestTimedOut #2662

@MihaZupan

Description

@MihaZupan

Hello,

Confirming the same behavior on the 2.2.0 release, but let me add more details.
But when the request timed out, it returned a 400 instead of a 504.

Trying to configure timeouts with ForwarderRequestConfig.ActivityTimeout on a cluster and Timeout/TimeoutPolicy on a route, but results are different: the first configuration returns 504 Gateway Timeout, second - 400 Bad Request. Shouldn't the results be the same?

@MihaZupan, created a repository, please have a look.
Are you able to create a minimal runnable repro for the issue?

Originally posted by @alekseikhripunov in #2581

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions