zowe / zowe/api-layer

Gateway is apparently sensitive to the http "host" header (IPv6 issue)

Open
#4,318 0 comments 0 reactions 1 assignee View on GitHub

@hrishikesh-nalawade is already working on this.

Since Sep 17, 2025.

  • #4367 by @hrishikesh-nalawade — closed without merging
bug Priority: High
Dominant language
Java
Stars
92
Forks
81
Avg merge
1d 9h
Merged PRs (30d)
46

Description

Describe the bug
gateway is apparently sensitive to the http "host" header.

If it is wrong, you may get an http 400 response on for example the jwk url.

if it is correct for ipv6, you'll get an http 500... the fact that ipv6 has colons in the string, but host can also have a port, means that some code parses these strings wrong. looks like gateway is doing that.

result: zss can't get a valid jwk response from gateway at startup when using ipv6  because gateway can't handle the request because of the host header causing some sort of parsing error

Note:- I'll add more details about the issue in sometime

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.