mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-21 17:34:41 -05:00
Redirect loop on additional domains #243
Closed
opened 2025-11-13 11:54:06 -06:00 by GiteaMirror
·
10 comments
No Branch/Tag Specified
main
refactor/batch-status-requests
dependabot/npm_and_yarn/npm-dependencies-8b2d4a9f3a
dependabot/docker/docker-dependencies-6cbd4d48e0
dependabot/go_modules/install/go-install-dependencies-3804ca7238
dev
dependabot/npm_and_yarn/axios-1.18.0
crowdin_dev
fix/labels-dropdown-flicker
dependabot/github_actions/github-actions-dependencies-2ee11778c9
feat/remember-last-idp-on-smart-login-form
dependabot/npm_and_yarn/multi-5f1280885e
fix/non-semver-version-error
private-resource-page
resource-launcher
backhaul
exit-node-reconnect
feat/command-palette
ssh
delete-account
msg-delivery
org-only-idp
cicd
patch
site-targets-auto-login
1.21.0
1.21.0-rc.0
1.20.0
1.20.0-rc.0
1.19.4
1.19.3
1.19.2
1.19.1
1.19.0
1.19.0-rc.1
1.19.0-rc.0
1.18.4
1.18.3
1.18.2
1.18.1
1.18.0
1.18.0-rc.0
1.17.1
1.17.0
1.17.0-rc.0
1.16.2
1.16.1
1.16.0
1.16.0-rc.0
1.15.4
1.15.3
1.15.2
1.15.1
1.15.0
1.15.0-rc.0
1.14.1
1.14.0
1.14.0-rc.0
1.13.1
1.13.0
1.13.0-rc.0
1.12.3
1.12.2
1.12.1
1.12.0
1.12.0-rc.0
1.11.1
1.11.0
1.10.3
1.10.2
1.10.1
1.10.0
1.9.4
1.9.3
1.9.2
1.9.1
1.9.0
1.8.0
1.7.3
1.7.2
1.7.1
1.7.0
1.6.2
1.6.1
1.6.0
1.5.1
1.5.0
1.4.0
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0
1.0.1
1.0.0
1.0.0-beta.15
1.0.0-beta.14
1.0.0-beta.13
1.0.0-beta.12
1.0.0-beta.11
1.0.0-beta.10
1.0.0-beta.9
1.0.0-beta.8
1.0.0-beta.7
1.0.0-beta.6
1.0.0-beta.5
1.0.0-beta.4
1.0.0-beta.3
1.0.0-beta.2
1.0.0-beta.1
Labels
Clear labels
api
authentication
bug
config
dependencies
docker
documentation
enhancement
good first issue
help wanted
Improvement
Look Into
needs investigating
networking
new feature
non-critical bug
potential bug
pull-request
question
reverse proxy
Security
stale
ui
wontfix
Mirrored from GitHub Pull Request
No labels
needs investigating
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/pangolin#243
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @bhagen55 on GitHub (Apr 17, 2025).
Originally assigned to: @miloschwartz on GitHub.
Hello!
I have been using Pangolin and it has been flawless with a single domain.
I tried adding two additional domains and have not been able to get them working.
I have set up a simple resource that points to a static HTML site hosted by a NGINX docker container.
If I point the resource at my first domain in "General Settings", the page loads fine. If I point it at one of my secondary domains, it gets into a redirect loop.
(redacted my domain and IP addresses)
I do have Crowdsec enabled, but I don't see anything related in it's logs when I try to load the page.
I am running Pangolin v1.2.0 in a docker compose stack.
Here is the domains section of my config:
@oschwartz10612 commented on GitHub (Apr 20, 2025):
If you attempt to visit the 2nd domain with an incognito window or private window does it work?
@bhagen55 commented on GitHub (Apr 21, 2025):
It does not work in incognito or with a fresh cache.
@miloschwartz commented on GitHub (Apr 22, 2025):
A few more question to try to pin point the problem:
Are Pangolin and Badger both fully up to date?
When you start Traefik do you see any errors related to requesting and confirming a certificate? Make sure DNS is set up for those extra domains and they can gain a valid cert all through the same cert resolver (
letsencrypt).During the redirect loop, do you see any errors or anything printed in the Pangolin server logs? If you enable
debuglog level for Pangolin, do you see it continuously requesting session cookies during the redirect loop?@bhagen55 commented on GitHub (Apr 23, 2025):
I am using
image: fosrl/pangolin:1.2.0and badger:I believe those are up to date.
Good call on the SSL side of things, I turned off SSL on one of the problem domains and it loads fine via normal HTTP. I will poke around the Traefik logs to see if I can figure out what is wrong with cert requests.
@bhagen55 commented on GitHub (Apr 23, 2025):
Forgot to add that I did try setting the Pangolin log level to
debugbut did not see any debug output when trying to access the problem domain and getting stuck in a redirect. I did see the usualVerify Session:andResource allowed because no authafter turning off SSL.@bhagen55 commented on GitHub (Apr 23, 2025):
SSL certificate fetching doesn't seem to be the issue. I looked at my
acme.jsonand it all looks correct, including for the problem domains.I tried deleting it, and traefik was able to re-request them all just fine.
@github-actions[bot] commented on GitHub (May 8, 2025):
This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
@bhagen55 commented on GitHub (May 20, 2025):
I haven't had any luck debugging this further. I have updated to Pangolin 1.4.0 and Traefik 3.4.0, and tried removing and re-adding the extra domains.
Any thoughts on additional debugging/troubleshooting steps I can take?
@alexandrescieux commented on GitHub (Jun 1, 2025):
I encounter the same redirect loop for every resource when 'Enable SSL' is turned on.
I deployed Pangolin in a k3s cluster with Traefik as the Ingress Controller.
It works flawlessly over HTTPS with 'Enable SSL' disabled, as long as I let the Traefik Ingress Controller handle the SSL termination alone (using plain HTTP after the Ingress).
@bhagen55 commented on GitHub (Oct 16, 2025):
I am pretty sure this was a Cloudflare configuration issue, I should have investigated that first 🙃
Some combination of turning off TLS termination at Cloudflare (that I didn't even realize was enabled) and turning off Cloudflare proxying causes the redirect error to go away.