Skip to content

[Bug] Gateway timeout on 401 #598

@simonhir

Description

@simonhir

Bug description

If the gateway receives an 401 from the backend the request between client and gateway is loading indefinitely.

Expected behaviour

The 401 is passed through from backend to client.

Steps for reproduction

  1. modify backend to always return 401 (aud claim or different keycloak hostname between gateway and backend)
  2. Make call to gateway -> logs schows 401 from backend to gateway, but response between client and gateway is still loading

Affected version

1.6.0

Affected component

refarch-gateway

Last working version (optional)

Perhaps before Spring Boot 3.5.

Operating system

No response

Browser

No response

Relevant log output (optional)

Screenshots (optional)

No response

Additional context (optional)

No response

No duplicate

  • I confirm that this issue is not a duplicate

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

Component: API-GatewayIssues regarding the API GatewayPriority: MediumThe issue contains work with medium priority.Type: BugThe issue is a bug

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions