mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-16 06:08:33 -05:00
[GH-ISSUE #1264] URLs longer than 76* characters never make it to their destination #27451
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lhjt on GitHub (Aug 12, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1264
Thanks so much for this amazing project.
Bug Description
I am trying to make requests to my tunneled service:
localhost:7777, and is successfully forwarding most requestshttps://abcdef.tldTrying to make requests to URLs longer than 76 characters just never make it to their destination (the listener on the remote machine never receives a connection from newt)
Example of a path could be
http://abcdef.tld/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.I was unable to find the exact number (76 happened to be for this domain). If I make a new site with a subdomain that is shorter, then the length limit for the whole URL increases before it stops proxying requests.
Steps to Reproduce
Expected Behavior
The request should make it through like all other requests.
Actual Behavior
Nothing is tunneled. I can see a log in traefik indicating it is attempting to send the data, but nothing happens. No errors in newt either.
Environment
1.8.0Error Messages
N/A
Additional Context
Functional and non-functional requests have the same traefik log:
Happy to provide more data if needed.
@lhjt commented on GitHub (Aug 13, 2025):
Had a look at some more logs and enabled debug logs on pangolin itself. The request seems to be getting through it okay:
For clarity, when I make the request with curl and
-vvvit gets up to the following and just waits forever:@oschwartz10612 commented on GitHub (Aug 16, 2025):
Hum this is very strange. I would be shocked if no urls over this length were working because many people would be complaining that their app does not work. So I wonder if this has to do for some reason with the initial auth url or something else. Once its authed does it allow you to curl with more chars?
Anything unique about your setup you can think of before I try to reproduce?
@lhjt commented on GitHub (Aug 16, 2025):
Thanks for having a look at this @oschwartz10612 - my setup shouldn't be too unusual, bar authentication. I am also surprised that nobody else has run into this issue (meaning it could very well be something on my end)
Please let me know if there are any other details you'd like me to provide 🙂
@oschwartz10612 commented on GitHub (Aug 23, 2025):
Hey sorry for the delay!
I am not super familiar with istio ingress gateway but I wonder if this
is interacting with Pangolin in a way thats causing the failure when the
URL is long. Is it just a proxy in front of Pangolin?
Maybe it could be helpful to do a request from Istio not to Pangolin but
to a whoami instance and paste the result? I wonder if there are some
things it is doing the request.
Could also be some sort of packet sizing problem but I would not think
that would be it.