[GH-ISSUE #928] Unable to access dashboard #6494

Closed
opened 2026-04-25 15:23:43 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @Chrisj76au on GitHub (Jun 18, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/928

Yesterday I rebooted the VPS and now the site dose not work.

This page isn’t working
If the problem continues, contact the site owner.
HTTP ERROR 521

At the time the only thing change was I install security updates and installed fail2ban for SSH only after seeing in wazuh 75,391 authentication failure attempts. I tried disabling the fail2ban service to make sure that wasn't the issue but no go.

I was running version 1.40 but decided to upgrade to 1.51 to see if that would resolve the issue.
when I do a docker compose up I get the following

root@racknerd:# docker compose down
[+] Running 4/4
✔ Container traefik Removed 0.0s
✔ Container gerbil Removed 0.0s
✔ Container pangolin Removed 1.0s
✔ Network pangolin Removed 0.1s
root@racknerd
# docker compose up -d
[+] Running 3/4
✔ Network pangolin Created 0.1s
✔ Container pangolin Healthy 10.8s
⠴ Container gerbil Starting 11.1s
✔ Container traefik Created 0.0s

Error response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint gerbil (8735da57ebb70726c0cbd0b8f09cb9913c7c623a1a71b6b1c88fdefbfd19a16d): failed to bind host port for 0.0.0.0:51820:172.18.0.3:51820/udp: address already in use

Run docker logs

root@racknerd:~# sudo docker compose logs -f
pangolin |
pangolin | > @fosrl/pangolin@0.0.0 start:sqlite
pangolin | > DB_TYPE=sqlite NODE_OPTIONS=--enable-source-maps NODE_ENV=development ENVIRONMENT=prod sh -c 'node dist/migrations.mjs && node dist/server.mjs'
pangolin |
pangolin | Starting migrations from version 1.5.0
pangolin | Migrations to run:
pangolin | All migrations completed successfully
pangolin | 2025-06-18T00:59:26.597Z [warn]: Email SMTP configuration is missing. Emails will not be sent.
pangolin | 2025-06-18T00:59:27.722Z [info]: API server is running on http://localhost:3000
pangolin | 2025-06-18T00:59:27.723Z [info]: Internal server is running on http://localhost:3001
pangolin | 2025-06-18T00:59:28.828Z [info]: Next.js server is running on http://localhost:3002

Run Docker PS to check the running status

root@racknerd:~# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4e9362fe26c0 fosrl/pangolin:1.5.1 "docker-entrypoint.s…" 2 minutes ago Up 2 minutes (healthy) pangolin

I've tried to see how to clear the binding on for port 51820 but is not in use.

root@racknerd:# ss -4np | grep 51820
root@racknerd:
#
root@racknerd~# sudo lsof -i -P -n | grep 51820
root@racknerd:~#

I've also restarted the docker socket and still no go.

any suggestion on why this has stopped working.

Originally created by @Chrisj76au on GitHub (Jun 18, 2025). Original GitHub issue: https://github.com/fosrl/pangolin/issues/928 Yesterday I rebooted the VPS and now the site dose not work. **This page isn’t working If the problem continues, contact the site owner. HTTP ERROR 521** At the time the only thing change was I install security updates and installed fail2ban for SSH only after seeing in wazuh 75,391 authentication failure attempts. I tried disabling the fail2ban service to make sure that wasn't the issue but no go. I was running version 1.40 but decided to upgrade to 1.51 to see if that would resolve the issue. when I do a docker compose up I get the following root@racknerd:~# docker compose down [+] Running 4/4 ✔ Container traefik Removed 0.0s ✔ Container gerbil Removed 0.0s ✔ Container pangolin Removed 1.0s ✔ Network pangolin Removed 0.1s root@racknerd~# docker compose up -d [+] Running 3/4 ✔ Network pangolin Created 0.1s ✔ Container pangolin Healthy 10.8s ⠴ Container gerbil Starting 11.1s ✔ Container traefik Created 0.0s **Error response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint gerbil (8735da57ebb70726c0cbd0b8f09cb9913c7c623a1a71b6b1c88fdefbfd19a16d): failed to bind host port for 0.0.0.0:51820:172.18.0.3:51820/udp: address already in use** Run docker logs root@racknerd:~# sudo docker compose logs -f pangolin | pangolin | > @fosrl/pangolin@0.0.0 start:sqlite pangolin | > DB_TYPE=sqlite NODE_OPTIONS=--enable-source-maps NODE_ENV=development ENVIRONMENT=prod sh -c 'node dist/migrations.mjs && node dist/server.mjs' pangolin | pangolin | Starting migrations from version 1.5.0 pangolin | Migrations to run: pangolin | All migrations completed successfully pangolin | 2025-06-18T00:59:26.597Z [warn]: Email SMTP configuration is missing. Emails will not be sent. pangolin | 2025-06-18T00:59:27.722Z [info]: API server is running on http://localhost:3000 pangolin | 2025-06-18T00:59:27.723Z [info]: Internal server is running on http://localhost:3001 pangolin | 2025-06-18T00:59:28.828Z [info]: Next.js server is running on http://localhost:3002 Run Docker PS to check the running status root@racknerd:~# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 4e9362fe26c0 fosrl/pangolin:1.5.1 "docker-entrypoint.s…" 2 minutes ago Up 2 minutes (healthy) pangolin I've tried to see how to clear the binding on for port 51820 but is not in use. root@racknerd:~# ss -4np | grep 51820 root@racknerd:~# root@racknerd~# sudo lsof -i -P -n | grep 51820 root@racknerd:~# I've also restarted the docker socket and still no go. any suggestion on why this has stopped working.
GiteaMirror added the stale label 2026-04-25 15:23:43 -05:00
Author
Owner

@oschwartz10612 commented on GitHub (Jun 18, 2025):

Hum okay sorry you are having this issue.

The HTTP ERROR 521 is probably coming from Cloudflare or your WAF if I had to guess. Do you have CF in front of your deployment? Just good to know.

It does seem like something is bound to port 51820 on the VPS - not sure what. Could you try the following two articles about how to see what is binding to the port and let us know what is using it?

https://www.cyberciti.biz/faq/what-process-has-open-linux-port/
https://www.tecmint.com/find-out-which-process-listening-on-a-particular-port/

I find sometimes another VPS reboot can solve some of these Linux transient port bind issues.

<!-- gh-comment-id:2984324682 --> @oschwartz10612 commented on GitHub (Jun 18, 2025): Hum okay sorry you are having this issue. The HTTP ERROR 521 is probably coming from Cloudflare or your WAF if I had to guess. Do you have CF in front of your deployment? Just good to know. It does seem like _something_ is bound to port 51820 on the VPS - not sure what. Could you try the following two articles about how to see what is binding to the port and let us know what is using it? https://www.cyberciti.biz/faq/what-process-has-open-linux-port/ https://www.tecmint.com/find-out-which-process-listening-on-a-particular-port/ I find sometimes another VPS reboot can solve some of these Linux transient port bind issues.
Author
Owner

@github-actions[bot] commented on GitHub (Jul 3, 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.

<!-- gh-comment-id:3029824763 --> @github-actions[bot] commented on GitHub (Jul 3, 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.
Author
Owner

@github-actions[bot] commented on GitHub (Jul 17, 2025):

This issue has been automatically closed due to inactivity. If you believe this is still relevant, please open a new issue with up-to-date information.

<!-- gh-comment-id:3081937590 --> @github-actions[bot] commented on GitHub (Jul 17, 2025): This issue has been automatically closed due to inactivity. If you believe this is still relevant, please open a new issue with up-to-date information.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#6494