URLs longer than 76* characters never make it to their destination
- Dominant language
- TypeScript
- Stars
- 22.8k
- Forks
- 783
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 52
Description
Thanks so much for this amazing project.
## Bug Description
I am trying to make requests to my tunneled service:
- newt forwarding to `localhost:7777`, and is successfully forwarding most requests
- I have a services listening on `https://abcdef.tld`
Trying 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
1. Set up HTTP listener, have a service it's meant to forward to
2. Set up a site that points to that listener
3. Try make a request with say a path >100 chars.
4. Observe that no requests are making it to the endpoint on the remote machine. Continue removing chars and making requests until it finally works.
## 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
- **Pangolin Version**: `1.8.0`
- **OS**: Ubuntu 24 LTS - MacOS 15.6 for clients
## Error Messages
N/A
## Additional Context
Functional and non-functional requests have the same traefik log:
```
2025-08-12T17:46:54Z DBG fmt/print.go:305 > Badger: Valid session module=github.com/fosrl/badger plugin=plugin-badger runtime=
2025-08-12T17:46:54Z DBG github.com/traefik/traefik/v3/pkg/server/service/loadbalancer/wrr/wrr.go:207 > Service selected by WRR: 8ad00bcbee50905d
...
2025-08-12T17:47:00Z DBG fmt/print.go:305 > Badger: Valid session module=github.com/fosrl/badger plugin=plugin-badger runtime=
2025-08-12T17:47:00Z DBG github.com/traefik/traefik/v3/pkg/server/service/loadbalancer/wrr/wrr.go:207 > Service selected by WRR: 8ad00bcbee50905d
```
Happy to provide more data if needed.
Contributor guide
Research direction
Reproduce the issue using Pangolin 1.8.0 with an HTTP listener forwarding to localhost:7777, comparing requests below and above the reported URL-length threshold. Start by tracing the request from Traefik through the tunnel and check where longer URLs stop progressing. Done means URLs over 100 characters reach the remote endpoint without errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100