Skip to content

AwsHttpServletResponse includes headers with NULL values wich causes 502 ALB responses #1522

Closed

Description

@ekruczek

AwsHttpServletResponse:setHeader method doesn't check if header values are null. This causes 502 ALB responses.

We have come across this issue after the update to SpringBoot 3.5.5 while testing exception handlers.
This bug can affect more versions as it is caused by springweb-mvc bugfix spring-projects/spring-framework@6bd12e8

Activity

  1. erikpragt-connectid commented on Sep 15, 2025

    @erikpragt-connectid

    Hi @ekruczek , we have exactly the same issue:

    spring-projects/spring-framework#35459

    We also have an AWS case for this: CASE 175756065000332

    Would be great if someone could apply your patch. I'll contact AWS.

  2. reedham-aws commented on Sep 18, 2025

    @reedham-aws
    Contributor

    Closed by #1523, which has been merged and released in version 2.1.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions