mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-16 01:49:35 -05:00
Pangolin showing Bad Gateway; no route to host #377
Closed
opened 2025-11-13 11:58:34 -06:00 by GiteaMirror
·
7 comments
No Branch/Tag Specified
main
rdp-ssh
dev
dependabot/npm_and_yarn/prod-patch-updates-94425a55d0
dependabot/npm_and_yarn/dev-minor-updates-48f670c3a3
dependabot/go_modules/install/minor-updates-a249525a56
redis
resource-policies
dependabot/npm_and_yarn/next-15.5.18
dependabot/github_actions/sigstore/cosign-installer-4.1.2
dependabot/npm_and_yarn/fast-uri-3.1.2
s3
dependabot/npm_and_yarn/fast-xml-builder-1.2.0
dependabot/npm_and_yarn/axios-1.15.2
dependabot/npm_and_yarn/next-intl-4.9.2
dependabot/docker/node-26-alpine
dependabot/docker/docker/library/node-26-slim
dependabot/npm_and_yarn/multi-7bdfbe8666
dependabot/npm_and_yarn/multi-d2fd79378c
dependabot/npm_and_yarn/uuid-14.0.0
dependabot/npm_and_yarn/postcss-8.5.10
dependabot/github_actions/actions/setup-node-6.4.0
dependabot/npm_and_yarn/next-16.2.1
dependabot/npm_and_yarn/recharts-3.8.1
cross-org-idp
breakout-sites-tables
ssh
delete-account
msg-delivery
org-only-idp
cicd
patch
site-targets-auto-login
1.18.4-s.6
1.18.4-s.5
1.18.4-s.4
1.18.4-s.3
1.18.4-s.2
1.18.4-s.1
1.18.4
1.18.4-s.0
1.18.3-s.3
1.18.3-s.2
1.18.3
1.18.3-s.1
1.18.3-s.0
1.18.2-s.5
1.18.2-s.4
1.18.2-s.3
1.18.2-s.2
1.18.2-s.1
1.18.2
1.18.2-s.0
1.18.1-s.7
1.18.1-s.6
1.18.1-s.5
1.18.1-s.4
1.18.1-s.3
1.18.1-s.2
1.18.1
1.18.1-s.1
1.18.1-s.0
1.18.0-s.2
1.18.0-s.1
1.18.0
1.18.0-s.0
1.17.1-s.7
1.17.1-s.6
1.18.0-rc.0
1.17.1-s.5
1.17.1-s.4
1.17.1-s.3
1.17.1
1.17.1-s.2
1.17.1-s.1
1.17.1-s.0
1.17.0-s.4
1.17.0
1.17.0-s.3
1.17.0-s.2
1.17.0-s.1
1.17.0-s.0
1.17.0-rc.0
1.16.2-s.22
1.16.2-s.21
1.16.2-s.20
1.16.2-s.19
1.16.2-s.18
1.16.2-s.17
1.16.2-s.16
1.16.2-s.15
1.16.2-s.14
1.16.2-s.13
1.16.2-s.12
1.16.2-s.11
1.16.2-s.10
1.16.2-s.9
1.16.2-s.8
1.16.2-s.7
1.16.2-s.6
1.16.2-s.5
1.16.2-s.4
1.16.2-s.3
1.16.2-s.2
1.16.2-s.1
1.16.2
1.16.2-s.0
1.16.1-s.1
1.16.1
1.16.1-s.0
1.16.0
1.16.0-s.1
1.16.0-s.0
1.16.0-rc.0
1.15.4-s.10
1.15.4-s.9
1.15.4-s.8
1.15.4-s.7
1.15.4-s.6
1.15.4-s.5
1.15.4-s.4
1.15.4-s.3
1.15.4-s.2
1.15.4-s.1
1.15.4
1.15.4-s.0
1.15.3
1.15.3-s.1
1.15.3-s.0
1.15.2
1.15.1-s.1
1.15.1-s.0
1.15.1
1.15.0-s.5
1.15.0
1.15.0-s.4
1.15.0-s.3
1.15.0-s.2
1.15.0-s.1
1.15.0-s.0
1.15.0-rc.0
1.14.1-s.3
1.14.1-s.2
1.14.1-s.1
1.14.1-s.0
1.14.1
1.14.0-s.2
1.14.0
1.14.0-rc.0
1.13.1
1.13.1-s.0
1.13.0
1.13.0.s.0
1.13.0-rc.0
1.12.2-s.5
1.12.3
1.12.2-s.4
1.12.2-s.3
1.12.2-s.2
1.12.2-s.1
1.12.2
1.12.2-s.0
1.12.1
1.12.0
1.12.0-s.0
1.12.0-rc.0
1.11.1
1.11.1-s.0
1.11.0-s.5
1.11.0
1.11.0-s.4
1.11.0-s.3
1.11.0-s.2
1.11.0-s.1
1.11.0-s.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 Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/pangolin#377
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.
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 @tknx on GitHub (May 26, 2025).
Pangolin is running on a RackNerd VPS connected to Newt on my Unraid server.
I am getting a Bad Gateway error when I try and access my jellyfin.mydomain.com entry.
I looked at the Newt logs and am getting the following error:
If I ping the server, I get a response... So I feel like it is making it to the VPS at least.
@thijsvanloef commented on GitHub (May 26, 2025):
Hi! Not the maintainer or anything, but are you sure that Jellyfin is running on port
80and not8096?If that is not the issue, how are you running newt and jellyfin?
@tknx commented on GitHub (May 26, 2025):
I did specifically set it up to run on 80, so if I go to 10.0.0.141 it resolves just fine.
Newt is running as a docker on my Unraid setup, when I restart these are the logs:
@thijsvanloef commented on GitHub (May 26, 2025):
what is the output of the following command ran from the newt container?
Are there any firewalls blocking traffic from the newt container to the jellyfin container?
@kmanwar89 commented on GitHub (May 26, 2025):
Bad gateway means the reverse proxy (Pangolin) cannot reach the downstream server (Jellyfin). Every time I've encountered this, it's because of a bad port mapping definition on my end, and usually I can resolve it by just validating what port the container is expecting to listen on. Sometimes, like in the case of a Splunk server, I just have to give it time to come online/finish its startup job.
Assuming your traffic flow (like mine) is going:
User --> Pangolin in VPS --> Downstream host
Make sure your downstream host (Unraid) does not have another service on port 80. Can you check to see how Jellyfin is running on that server, and what ports are exposed? Can you share your Docker run command/compose file? I'm not familiar with Unraid but that would be a starting point.
On a standard Linux server, I would do a command like
sudo netstat -tunpal | grep 80to see what's running on 80, and adocker compose psif using a standard Docker Compose file to see what ports are exposed by the container. I'd also use adocker container inspect <container name>to see if anything stands out in the docker config.Quick A/B troubleshooting step - if you run Jellyfin on a standard Linux machine, could be a VM or a spare machine, does it work with the same Pangolin VPS setup? Does the Pangolin UI show the Site as "online"?
Do any OTHER services on your Unraid machine work through the same setup? If yes, that points to an issue with Jellyfin; if no, that points to an issue with Unraid more broadly, and can be troubleshot through the A/B test mentioned above.
@tknx commented on GitHub (May 26, 2025):
@thijsvanloef I don't have netcat available in the Newt docker and couldn't get docker exec to run it either
@kmanwar89 both Newt and jellyfin are dockers running on the same Unraid server. Is it docker to docker communication that might be the issue? Do they need to be on their own docker network together?
@kmanwar89 commented on GitHub (May 27, 2025):
Inherently, Newt needs to be able to talk to Jellyfin in order to pass the traffic through to it. I usually create a "tunnel" and a "services" docker network - newt (or cloudflare tunnels) belongs to both, and services only belong to the "services" one. That way, newt is the only service that can talk to all downstream apps, and serves as a "killswitch" in case of issues - one point of entry into the network.
If you can share command output, or answer the questions I posted previously (which are pretty extensive from a troubleshooting perspective), that will help answer your future questions. Sharing configs, or a network diagram of how you have things laid out, is even better than going back and forth.
@tknx commented on GitHub (May 27, 2025):
After some examination, I think all of my dockers are suddenly having problems talking to one another, so this may not be a Pangolin/Newt issue at all.
I'll close this for now as I dig into this further...