IPv6 target address not working #83

Closed
opened 2026-04-05 17:00:50 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @jess-sch on 3/22/2026

Describe the Bug

When trying to use an IPv6 address as target through Newt, I get a "Bad Gateway" error.

Environment

  • OS Type & Version: NixOS 25.11 mixed with unstable overlays
  • Pangolin Version: 1.15.3
  • Gerbil Version: 1.3.0
  • Traefik Version: 3.6.10
  • Newt Version: 1.10.3 (in Docker on Synology with host networking)
  • Olm Version: none

To Reproduce

  1. Create a public resource pointing to an HTTP service on an IPv6 address reachable by the Newt server.
  2. Go to that resource
  3. Receive a "Bad Gateway" error
Image

Note that the website prevents me from entering an IPv6 address that is encapsulated with [] , so the unencapsulated form seems to be correct in this context.

Also notable:

  • The health checks by Newt are successful, so there is no connectivity issue between Newt and the target
  • An IPv4 target through the same Newt site is reachable without issue.

Unfortunately, even after enabling debug logging in Newt, and looking at the logs for pangolin, gerbil and traefik, I was unable to find any indication of where things are going wrong.

Expected Behavior

There is no "Bad Gateway" error, the HTTP service is available through Pangolin.

Workaround

Create an internal AAAA DNS entry for the target IP and point Pangolin to that. This indicates to me that the issue is caused by some component not parsing the target address correctly - I assume some component expects the aforementioned brackets around the IPv6 address and fails because they're missing.

*Originally created by @jess-sch on 3/22/2026* ### Describe the Bug When trying to use an IPv6 address as target through Newt, I get a "Bad Gateway" error. ### Environment - OS Type & Version: NixOS 25.11 mixed with unstable overlays - Pangolin Version: 1.15.3 - Gerbil Version: 1.3.0 - Traefik Version: 3.6.10 - Newt Version: 1.10.3 (in Docker on Synology with host networking) - Olm Version: none ### To Reproduce 1. Create a public resource pointing to an HTTP service on an IPv6 address reachable by the Newt server. 2. Go to that resource 3. Receive a "Bad Gateway" error <img width="1848" height="444" alt="Image" src="https://github.com/user-attachments/assets/a16032e5-efe0-4d2c-bdd5-b59473aa49a9" /> Note that the website prevents me from entering an IPv6 address that is encapsulated with `[]` , so the unencapsulated form seems to be correct in this context. Also notable: * The health checks by Newt are successful, so there is no connectivity issue between Newt and the target * An IPv4 target through the same Newt site is reachable without issue. Unfortunately, even after enabling debug logging in Newt, and looking at the logs for pangolin, gerbil and traefik, I was unable to find any indication of where things are going wrong. ### Expected Behavior There is no "Bad Gateway" error, the HTTP service is available through Pangolin. ### Workaround Create an internal AAAA DNS entry for the target IP and point Pangolin to that. This indicates to me that the issue is caused by some component not parsing the target address correctly - I assume some component expects the aforementioned brackets around the IPv6 address and fails because they're missing.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#83