AWS VPS stuck at pinging attempt n+ #324

Closed
opened 2025-11-13 11:56:58 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @dannymk on GitHub (May 10, 2025).

Pangolin: v1.2.0 running at: https://myproxyhost.com

Connecting using newt:

newt --id ajdfklajkad12l12 --secret pquiopuqeiouquuqruqpruqryqp --endpoint https://myproxyhost.com

I get this error:

...
2025-05-10T02:02:30Z INF Testing certificate renew... acmeCA=https://acme-v02.api.letsencrypt.org/directory providerName=letsencrypt.acme
2025-05-10T02:02:30Z ERR Provider error, retrying in 742.941798ms error="cannot fetch configuration data: do fetch request: Get "http://pangolin:3001/api/v1/traefik-config": dial tcp 172.18.0.3:3001: connect: connection refused" providerName=http
2025-05-10T02:02:31Z ERR Provider error, retrying in 1.006729189s error="cannot fetch configuration data: do fetch request: Get "http://pangolin:3001/api/v1/traefik-config": dial tcp 172.18.0.3:3001: connect: connection refused" providerName=http
2025-05-10T02:02:32Z ERR Provider error, retrying in 611.320033ms error="cannot fetch configuration data: do fetch request: Get "http://pangolin:3001/api/v1/traefik-config": dial tcp 172.18.0.3:3001: connect: connection refused" providerName=http
....

Then get stuck at:
...
INFO: 2025/05/10 02:17:13 Ping attempt 39
INFO: 2025/05/10 02:17:13 Pinging 100.89.128.1
WARN: 2025/05/10 02:17:23 Ping attempt 39 failed: failed to read ICMP packet: i/o timeout
INFO: 2025/05/10 02:17:28 Pinging 100.89.128.1

I create the certificates and do not use the wildcard automatic certificate by let's encrypt that comes with Pangolin.

It seems it is "mostly" working but I just need that little bit to get the system to work properly.

Are there any guides that do not use the automatic lets encrypt certificates and we can just create the certificates manually and configure every site?

Originally created by @dannymk on GitHub (May 10, 2025). Pangolin: v1.2.0 running at: https://myproxyhost.com Connecting using newt: newt --id ajdfklajkad12l12 --secret pquiopuqeiouquuqruqpruqryqp --endpoint https://myproxyhost.com I get this error: ... 2025-05-10T02:02:30Z INF Testing certificate renew... acmeCA=https://acme-v02.api.letsencrypt.org/directory providerName=letsencrypt.acme 2025-05-10T02:02:30Z ERR Provider error, retrying in 742.941798ms error="cannot fetch configuration data: do fetch request: Get \"http://pangolin:3001/api/v1/traefik-config\": dial tcp 172.18.0.3:3001: connect: connection refused" providerName=http 2025-05-10T02:02:31Z ERR Provider error, retrying in 1.006729189s error="cannot fetch configuration data: do fetch request: Get \"http://pangolin:3001/api/v1/traefik-config\": dial tcp 172.18.0.3:3001: connect: connection refused" providerName=http 2025-05-10T02:02:32Z ERR Provider error, retrying in 611.320033ms error="cannot fetch configuration data: do fetch request: Get \"http://pangolin:3001/api/v1/traefik-config\": dial tcp 172.18.0.3:3001: connect: connection refused" providerName=http .... Then get stuck at: ... INFO: 2025/05/10 02:17:13 Ping attempt 39 INFO: 2025/05/10 02:17:13 Pinging 100.89.128.1 WARN: 2025/05/10 02:17:23 Ping attempt 39 failed: failed to read ICMP packet: i/o timeout INFO: 2025/05/10 02:17:28 Pinging 100.89.128.1 I create the certificates and do not use the wildcard automatic certificate by let's encrypt that comes with Pangolin. It seems it is "mostly" working but I just need that little bit to get the system to work properly. Are there any guides that do not use the automatic lets encrypt certificates and we can just create the certificates manually and configure every site?
GiteaMirror added the stale label 2025-11-13 11:56:58 -06:00
Author
Owner

@oschwartz10612 commented on GitHub (May 13, 2025):

Hi!

Looks like there might be 2 issues here. One is that Traefik cant not reach the internal Pangolin container or pangolin is not running and the other is that newt can not ping the internal address.

For Newt this is almost always firewall or network related. Make sure that you have UDP port 51820 open on the security group of the EC2 and no UFW / iptables / nftables firewall rules blocking that port on the OS.

For Traefik, do you see any errors in the Pangolin logs itself? How do you have your docker compose setup? Could you post it? Did you install with the installer. It looks like the Traefik container can not reach the Pangolin API server.

@oschwartz10612 commented on GitHub (May 13, 2025): Hi! Looks like there might be 2 issues here. One is that Traefik cant not reach the internal Pangolin container or pangolin is not running and the other is that newt can not ping the internal address. For Newt this is almost always firewall or network related. Make sure that you have UDP port 51820 open on the security group of the EC2 and no UFW / iptables / nftables firewall rules blocking that port on the OS. For Traefik, do you see any errors in the Pangolin logs itself? How do you have your docker compose setup? Could you post it? Did you install with the installer. It looks like the Traefik container can not reach the Pangolin API server.
Author
Owner

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

@github-actions[bot] commented on GitHub (May 28, 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 (Jun 11, 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.

@github-actions[bot] commented on GitHub (Jun 11, 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#324