Unable to connect site: Ping attempt failed: failed to read ICMP packet: i/o timeout #1809

Closed
opened 2026-04-05 19:41:59 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @mrusso99 on 2/4/2025

Hi, as title says, when i connect a new site with newt i am not able to complete the connection due to ping fails.

I am currently on a hetzner VPS with the following firewall rules:

  • Allow any request on any port from personal public ip
  • allow ICMP from personal public ip

Here are the logs from pangolin

pangolin  | 2025-02-04T18:28:01.384Z [debug]: POST /api/v1/auth/newt/get-token
pangolin  | 2025-02-04T18:28:01.592Z [info]: Establishing websocket connection
pangolin  | 2025-02-04T18:28:01.593Z [info]: Client added to tracking - Newt ID: xw3pxhapfy0ll79, Total connections: 1
pangolin  | 2025-02-04T18:28:01.598Z [info]: WebSocket connection established - Newt ID: xw3pxhapfy0ll79
pangolin  | 2025-02-04T18:28:01.627Z [info]: Handling register message!
pangolin  | 2025-02-04T18:28:01.643Z [info]: Public key mismatch. Deleting old peer...
gerbil    | INFO: 2025/02/04 18:28:01 Peer REDACTED removed successfully
pangolin  | 2025-02-04T18:28:01.695Z [info]: Peer deleted successfully: {"0":"P","1":"e","2":"e","3":"r","4":" ","5":"r","6":"e","7":"m","8":"o","9":"v","10":"e","11":"d","12":" ","13":"s","14":"u","15":"c","16":"c","17":"e","18":"s","19":"s","20":"f","21":"u","22":"l","23":"l","24":"y"}
gerbil    | INFO: 2025/02/04 18:28:01 Peer REDACTED added successfully
pangolin  | 2025-02-04T18:28:01.701Z [info]: Peer added successfully: {"0":"P","1":"e","2":"e","3":"r","4":" ","5":"a","6":"d","7":"d","8":"e","9":"d","10":" ","11":"s","12":"u","13":"c","14":"c","15":"e","16":"s","17":"s","18":"f","19":"u","20":"l","21":"l","22":"y"}

Here are the newt logs


INFO: 2025/02/04 18:28:01 Sent registration message
INFO: 2025/02/04 18:28:01 Received registration message
INFO: 2025/02/04 18:28:01 Received: {Type:newt/wg/connect Data:map[endpoint:pangolin.domain:51820 publicKey:TIn8JRa2F2c3hP0LsNfKP/E4NjDTtltUGG8GTtdV02A= serverIP:100.89.128.1 targets:map[tcp:[] udp:[]] tunnelIP:100.89.128.4]}
INFO: 2025/02/04 18:28:01 WireGuard device created. Lets ping the server now...
INFO: 2025/02/04 18:28:01 Ping attempt 1 of 5
INFO: 2025/02/04 18:28:01 Pinging 100.89.128.1
WARN: 2025/02/04 18:28:11 Ping attempt 1 failed: failed to read ICMP packet: i/o timeout
INFO: 2025/02/04 18:28:13 Ping attempt 2 of 5
INFO: 2025/02/04 18:28:13 Pinging 100.89.128.1
WARN: 2025/02/04 18:28:23 Ping attempt 2 failed: failed to read ICMP packet: i/o timeout
INFO: 2025/02/04 18:28:25 Ping attempt 3 of 5
INFO: 2025/02/04 18:28:25 Pinging 100.89.128.1
WARN: 2025/02/04 18:28:35 Ping attempt 3 failed: failed to read ICMP packet: i/o timeout
INFO: 2025/02/04 18:28:37 Ping attempt 4 of 5
INFO: 2025/02/04 18:28:37 Pinging 100.89.128.1
WARN: 2025/02/04 18:28:47 Ping attempt 4 failed: failed to read ICMP packet: i/o timeout
INFO: 2025/02/04 18:28:49 Ping attempt 5 of 5
INFO: 2025/02/04 18:28:49 Pinging 100.89.128.1
WARN: 2025/02/04 18:28:59 Ping attempt 5 failed: failed to read ICMP packet: i/o timeout
ERROR: 2025/02/04 18:28:59 Failed to ping 100.89.128.1: all ping attempts failed after 5 tries, last error: failed to read ICMP packet: i/o timeout
INFO: 2025/02/04 18:28:59 Starting ping check
ERROR: 2025/02/04 18:29:01 Ping failed: use of closed network connection
*Originally created by @mrusso99 on 2/4/2025* Hi, as title says, when i connect a new site with newt i am not able to complete the connection due to ping fails. I am currently on a hetzner VPS with the following firewall rules: - Allow any request on any port from personal public ip - allow ICMP from personal public ip Here are the logs from pangolin ``` pangolin | 2025-02-04T18:28:01.384Z [debug]: POST /api/v1/auth/newt/get-token pangolin | 2025-02-04T18:28:01.592Z [info]: Establishing websocket connection pangolin | 2025-02-04T18:28:01.593Z [info]: Client added to tracking - Newt ID: xw3pxhapfy0ll79, Total connections: 1 pangolin | 2025-02-04T18:28:01.598Z [info]: WebSocket connection established - Newt ID: xw3pxhapfy0ll79 pangolin | 2025-02-04T18:28:01.627Z [info]: Handling register message! pangolin | 2025-02-04T18:28:01.643Z [info]: Public key mismatch. Deleting old peer... gerbil | INFO: 2025/02/04 18:28:01 Peer REDACTED removed successfully pangolin | 2025-02-04T18:28:01.695Z [info]: Peer deleted successfully: {"0":"P","1":"e","2":"e","3":"r","4":" ","5":"r","6":"e","7":"m","8":"o","9":"v","10":"e","11":"d","12":" ","13":"s","14":"u","15":"c","16":"c","17":"e","18":"s","19":"s","20":"f","21":"u","22":"l","23":"l","24":"y"} gerbil | INFO: 2025/02/04 18:28:01 Peer REDACTED added successfully pangolin | 2025-02-04T18:28:01.701Z [info]: Peer added successfully: {"0":"P","1":"e","2":"e","3":"r","4":" ","5":"a","6":"d","7":"d","8":"e","9":"d","10":" ","11":"s","12":"u","13":"c","14":"c","15":"e","16":"s","17":"s","18":"f","19":"u","20":"l","21":"l","22":"y"} ``` Here are the newt logs ``` INFO: 2025/02/04 18:28:01 Sent registration message INFO: 2025/02/04 18:28:01 Received registration message INFO: 2025/02/04 18:28:01 Received: {Type:newt/wg/connect Data:map[endpoint:pangolin.domain:51820 publicKey:TIn8JRa2F2c3hP0LsNfKP/E4NjDTtltUGG8GTtdV02A= serverIP:100.89.128.1 targets:map[tcp:[] udp:[]] tunnelIP:100.89.128.4]} INFO: 2025/02/04 18:28:01 WireGuard device created. Lets ping the server now... INFO: 2025/02/04 18:28:01 Ping attempt 1 of 5 INFO: 2025/02/04 18:28:01 Pinging 100.89.128.1 WARN: 2025/02/04 18:28:11 Ping attempt 1 failed: failed to read ICMP packet: i/o timeout INFO: 2025/02/04 18:28:13 Ping attempt 2 of 5 INFO: 2025/02/04 18:28:13 Pinging 100.89.128.1 WARN: 2025/02/04 18:28:23 Ping attempt 2 failed: failed to read ICMP packet: i/o timeout INFO: 2025/02/04 18:28:25 Ping attempt 3 of 5 INFO: 2025/02/04 18:28:25 Pinging 100.89.128.1 WARN: 2025/02/04 18:28:35 Ping attempt 3 failed: failed to read ICMP packet: i/o timeout INFO: 2025/02/04 18:28:37 Ping attempt 4 of 5 INFO: 2025/02/04 18:28:37 Pinging 100.89.128.1 WARN: 2025/02/04 18:28:47 Ping attempt 4 failed: failed to read ICMP packet: i/o timeout INFO: 2025/02/04 18:28:49 Ping attempt 5 of 5 INFO: 2025/02/04 18:28:49 Pinging 100.89.128.1 WARN: 2025/02/04 18:28:59 Ping attempt 5 failed: failed to read ICMP packet: i/o timeout ERROR: 2025/02/04 18:28:59 Failed to ping 100.89.128.1: all ping attempts failed after 5 tries, last error: failed to read ICMP packet: i/o timeout INFO: 2025/02/04 18:28:59 Starting ping check ERROR: 2025/02/04 18:29:01 Ping failed: use of closed network connection ```
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1809