Newt ping error and still offline #3

Closed
opened 2025-11-19 07:11:32 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @Lokowitz on GitHub (Feb 2, 2025).

Hey guys,
Newt is not able to ping the Pangolin server and the site is still showing as offline.
Fresh install of Pangolin on IONOS VPS - Version beta.11
Fresh Newt install in Homelab - tried with docker and binary on baremetal and LXC.

Gerbil Log

INFO: 2025/02/02 13:14:39 Fetching remote config from http://pangolin:3001/api/v1/gerbil/get-config
INFO: 2025/02/02 13:14:40 Created WireGuard interface wg0
INFO: 2025/02/02 13:14:40 Assigned IP address 100.89.128.1/24 to interface wg0
INFO: 2025/02/02 13:14:40 Attempting to delete existing MSS clamping rule for chain INPUT
INFO: 2025/02/02 13:14:40 Attempting to delete existing MSS clamping rule for chain OUTPUT
INFO: 2025/02/02 13:14:40 Attempting to delete existing MSS clamping rule for chain FORWARD
INFO: 2025/02/02 13:14:40 Adding MSS clamping rule for chain INPUT
INFO: 2025/02/02 13:14:40 Successfully added and verified MSS clamping rule for chain INPUT
INFO: 2025/02/02 13:14:40 Adding MSS clamping rule for chain OUTPUT
INFO: 2025/02/02 13:14:40 Successfully added and verified MSS clamping rule for chain OUTPUT
INFO: 2025/02/02 13:14:40 Adding MSS clamping rule for chain FORWARD
INFO: 2025/02/02 13:14:40 Successfully added and verified MSS clamping rule for chain FORWARD
INFO: 2025/02/02 13:14:40 WireGuard interface wg0 created and configured
INFO: 2025/02/02 13:14:40 Peer <removed>= added successfully
INFO: 2025/02/02 13:14:40 Starting server on :3003
INFO: 2025/02/02 13:15:01 Peer <removed>= removed successfully
INFO: 2025/02/02 13:15:01 Peer <removed>= added successfully

Pangolin Log

2025-02-02T13:14:38.655Z [info]: API server is running on http://localhost:3000
2025-02-02T13:14:38.656Z [info]: Internal server is running on http://localhost:3001
2025-02-02T13:14:38.868Z [info]: Next.js server is running on http://localhost:3002
2025-02-02T13:15:01.515Z [info]: Establishing websocket connection
2025-02-02T13:15:01.522Z [info]: Client added to tracking - Newt ID: <removed>, Total connections: 1
2025-02-02T13:15:01.522Z [info]: WebSocket connection established - Newt ID: <removed>
2025-02-02T13:15:01.544Z [info]: Handling register message!
2025-02-02T13:15:01.547Z [info]: Public key mismatch. Deleting old peer...
2025-02-02T13:15:01.569Z [info]: Peer deleted successfully: <removed>
2025-02-02T13:15:01.574Z [info]: Peer added successfully: <removed>

Newt Log

newt  | DEBUG: 2025/02/02 13:24:59 Public key: <removed>
newt  | INFO: 2025/02/02 13:24:59 Sent registration message
newt  | INFO: 2025/02/02 13:25:00 Received registration message
newt  | INFO: 2025/02/02 13:25:00 Received: {Type:newt/wg/connect Data:map[endpoint:<removed> publicKey:<removed> serverIP:100.89.128.1 targets:map[tcp:[] udp:[]] tunnelIP:100.89.128.4]}
newt  | DEBUG: wireguard: 2025/02/02 13:25:00 Routine: encryption worker 1 - started
newt  | DEBUG: wireguard: 2025/02/02 13:25:00 Routine: decryption worker 1 - started
newt  | DEBUG: wireguard: 2025/02/02 13:25:00 Routine: handshake worker 1 - started
newt  | DEBUG: wireguard: 2025/02/02 13:25:00 Routine: TUN reader - started
newt  | DEBUG: wireguard: 2025/02/02 13:25:00 Routine: event worker - started
newt  | DEBUG: wireguard: 2025/02/02 13:25:00 Interface up requested
newt  | DEBUG: wireguard: 2025/02/02 13:25:00 UDP bind has been updated
newt  | DEBUG: wireguard: 2025/02/02 13:25:00 Interface state was Down, requested Up, now Up
newt  | DEBUG: wireguard: 2025/02/02 13:25:00 Routine: receive incoming v6 - started
newt  | DEBUG: wireguard: 2025/02/02 13:25:00 Routine: receive incoming v4 - started
newt  | DEBUG: wireguard: 2025/02/02 13:25:00 UAPI: Updating private key
newt  | DEBUG: wireguard: 2025/02/02 13:25:00 peer(qdqQ…7qxs) - UAPI: Created
newt  | DEBUG: wireguard: 2025/02/02 13:25:00 peer(qdqQ…7qxs) - UAPI: Adding allowedip
newt  | DEBUG: wireguard: 2025/02/02 13:25:00 peer(qdqQ…7qxs) - UAPI: Updating endpoint
newt  | DEBUG: wireguard: 2025/02/02 13:25:00 peer(qdqQ…7qxs) - UAPI: Updating persistent keepalive interval
newt  | DEBUG: wireguard: 2025/02/02 13:25:00 peer(qdqQ…7qxs) - Starting
newt  | DEBUG: wireguard: 2025/02/02 13:25:00 peer(qdqQ…7qxs) - Sending keepalive packet
newt  | DEBUG: wireguard: 2025/02/02 13:25:00 peer(qdqQ…7qxs) - Sending handshake initiation
newt  | INFO: 2025/02/02 13:25:00 WireGuard device created. Lets ping the server now...
newt  | INFO: 2025/02/02 13:25:00 Ping attempt 1 of 5
newt  | INFO: 2025/02/02 13:25:00 Pinging 100.89.128.1
newt  | DEBUG: wireguard: 2025/02/02 13:25:00 peer(qdqQ…7qxs) - Routine: sequential sender - started
newt  | DEBUG: wireguard: 2025/02/02 13:25:00 peer(qdqQ…7qxs) - Routine: sequential receiver - started
newt  | DEBUG: wireguard: 2025/02/02 13:25:05 peer(qdqQ…7qxs) - Sending handshake initiation
newt  | DEBUG: wireguard: 2025/02/02 13:25:10 peer(qdqQ…7qxs) - Sending handshake initiation
newt  | WARN: 2025/02/02 13:25:10 Ping attempt 1 failed: failed to read ICMP packet: i/o timeout
newt  | INFO: 2025/02/02 13:25:12 Ping attempt 2 of 5
newt  | INFO: 2025/02/02 13:25:12 Pinging 100.89.128.1
newt  | DEBUG: wireguard: 2025/02/02 13:25:15 peer(qdqQ…7qxs) - Sending handshake initiation
newt  | DEBUG: wireguard: 2025/02/02 13:25:20 peer(qdqQ…7qxs) - Sending handshake initiation
newt  | WARN: 2025/02/02 13:25:22 Ping attempt 2 failed: failed to read ICMP packet: i/o timeout
newt  | INFO: 2025/02/02 13:25:24 Ping attempt 3 of 5
newt  | INFO: 2025/02/02 13:25:24 Pinging 100.89.128.1
newt  | DEBUG: wireguard: 2025/02/02 13:25:25 peer(qdqQ…7qxs) - Sending handshake initiation
newt  | DEBUG: wireguard: 2025/02/02 13:25:30 peer(qdqQ…7qxs) - Sending handshake initiation
newt  | WARN: 2025/02/02 13:25:34 Ping attempt 3 failed: failed to read ICMP packet: i/o timeout
newt  | DEBUG: wireguard: 2025/02/02 13:25:35 peer(qdqQ…7qxs) - Sending handshake initiation
newt  | INFO: 2025/02/02 13:25:36 Ping attempt 4 of 5
newt  | INFO: 2025/02/02 13:25:36 Pinging 100.89.128.1
newt  | DEBUG: wireguard: 2025/02/02 13:25:40 peer(qdqQ…7qxs) - Sending handshake initiation
newt  | DEBUG: wireguard: 2025/02/02 13:25:45 peer(qdqQ…7qxs) - Sending handshake initiation
newt  | WARN: 2025/02/02 13:25:46 Ping attempt 4 failed: failed to read ICMP packet: i/o timeout
newt  | INFO: 2025/02/02 13:25:48 Ping attempt 5 of 5
newt  | INFO: 2025/02/02 13:25:48 Pinging 100.89.128.1
newt  | DEBUG: wireguard: 2025/02/02 13:25:50 peer(qdqQ…7qxs) - Sending handshake initiation
newt  | DEBUG: wireguard: 2025/02/02 13:25:55 peer(qdqQ…7qxs) - Sending handshake initiation
newt  | WARN: 2025/02/02 13:25:58 Ping attempt 5 failed: failed to read ICMP packet: i/o timeout
newt  | ERROR: 2025/02/02 13:25:58 Failed to ping 100.89.128.1: all ping attempts failed after 5 tries, last error: failed to read ICMP packet: i/o timeout
newt  | INFO: 2025/02/02 13:25:58 Starting ping check
Originally created by @Lokowitz on GitHub (Feb 2, 2025). Hey guys, Newt is not able to ping the Pangolin server and the site is still showing as offline. Fresh install of Pangolin on IONOS VPS - Version beta.11 Fresh Newt install in Homelab - tried with docker and binary on baremetal and LXC. ## Gerbil Log ``` INFO: 2025/02/02 13:14:39 Fetching remote config from http://pangolin:3001/api/v1/gerbil/get-config INFO: 2025/02/02 13:14:40 Created WireGuard interface wg0 INFO: 2025/02/02 13:14:40 Assigned IP address 100.89.128.1/24 to interface wg0 INFO: 2025/02/02 13:14:40 Attempting to delete existing MSS clamping rule for chain INPUT INFO: 2025/02/02 13:14:40 Attempting to delete existing MSS clamping rule for chain OUTPUT INFO: 2025/02/02 13:14:40 Attempting to delete existing MSS clamping rule for chain FORWARD INFO: 2025/02/02 13:14:40 Adding MSS clamping rule for chain INPUT INFO: 2025/02/02 13:14:40 Successfully added and verified MSS clamping rule for chain INPUT INFO: 2025/02/02 13:14:40 Adding MSS clamping rule for chain OUTPUT INFO: 2025/02/02 13:14:40 Successfully added and verified MSS clamping rule for chain OUTPUT INFO: 2025/02/02 13:14:40 Adding MSS clamping rule for chain FORWARD INFO: 2025/02/02 13:14:40 Successfully added and verified MSS clamping rule for chain FORWARD INFO: 2025/02/02 13:14:40 WireGuard interface wg0 created and configured INFO: 2025/02/02 13:14:40 Peer <removed>= added successfully INFO: 2025/02/02 13:14:40 Starting server on :3003 INFO: 2025/02/02 13:15:01 Peer <removed>= removed successfully INFO: 2025/02/02 13:15:01 Peer <removed>= added successfully ``` ## Pangolin Log ``` 2025-02-02T13:14:38.655Z [info]: API server is running on http://localhost:3000 2025-02-02T13:14:38.656Z [info]: Internal server is running on http://localhost:3001 2025-02-02T13:14:38.868Z [info]: Next.js server is running on http://localhost:3002 2025-02-02T13:15:01.515Z [info]: Establishing websocket connection 2025-02-02T13:15:01.522Z [info]: Client added to tracking - Newt ID: <removed>, Total connections: 1 2025-02-02T13:15:01.522Z [info]: WebSocket connection established - Newt ID: <removed> 2025-02-02T13:15:01.544Z [info]: Handling register message! 2025-02-02T13:15:01.547Z [info]: Public key mismatch. Deleting old peer... 2025-02-02T13:15:01.569Z [info]: Peer deleted successfully: <removed> 2025-02-02T13:15:01.574Z [info]: Peer added successfully: <removed> ``` ## Newt Log ``` newt | DEBUG: 2025/02/02 13:24:59 Public key: <removed> newt | INFO: 2025/02/02 13:24:59 Sent registration message newt | INFO: 2025/02/02 13:25:00 Received registration message newt | INFO: 2025/02/02 13:25:00 Received: {Type:newt/wg/connect Data:map[endpoint:<removed> publicKey:<removed> serverIP:100.89.128.1 targets:map[tcp:[] udp:[]] tunnelIP:100.89.128.4]} newt | DEBUG: wireguard: 2025/02/02 13:25:00 Routine: encryption worker 1 - started newt | DEBUG: wireguard: 2025/02/02 13:25:00 Routine: decryption worker 1 - started newt | DEBUG: wireguard: 2025/02/02 13:25:00 Routine: handshake worker 1 - started newt | DEBUG: wireguard: 2025/02/02 13:25:00 Routine: TUN reader - started newt | DEBUG: wireguard: 2025/02/02 13:25:00 Routine: event worker - started newt | DEBUG: wireguard: 2025/02/02 13:25:00 Interface up requested newt | DEBUG: wireguard: 2025/02/02 13:25:00 UDP bind has been updated newt | DEBUG: wireguard: 2025/02/02 13:25:00 Interface state was Down, requested Up, now Up newt | DEBUG: wireguard: 2025/02/02 13:25:00 Routine: receive incoming v6 - started newt | DEBUG: wireguard: 2025/02/02 13:25:00 Routine: receive incoming v4 - started newt | DEBUG: wireguard: 2025/02/02 13:25:00 UAPI: Updating private key newt | DEBUG: wireguard: 2025/02/02 13:25:00 peer(qdqQ…7qxs) - UAPI: Created newt | DEBUG: wireguard: 2025/02/02 13:25:00 peer(qdqQ…7qxs) - UAPI: Adding allowedip newt | DEBUG: wireguard: 2025/02/02 13:25:00 peer(qdqQ…7qxs) - UAPI: Updating endpoint newt | DEBUG: wireguard: 2025/02/02 13:25:00 peer(qdqQ…7qxs) - UAPI: Updating persistent keepalive interval newt | DEBUG: wireguard: 2025/02/02 13:25:00 peer(qdqQ…7qxs) - Starting newt | DEBUG: wireguard: 2025/02/02 13:25:00 peer(qdqQ…7qxs) - Sending keepalive packet newt | DEBUG: wireguard: 2025/02/02 13:25:00 peer(qdqQ…7qxs) - Sending handshake initiation newt | INFO: 2025/02/02 13:25:00 WireGuard device created. Lets ping the server now... newt | INFO: 2025/02/02 13:25:00 Ping attempt 1 of 5 newt | INFO: 2025/02/02 13:25:00 Pinging 100.89.128.1 newt | DEBUG: wireguard: 2025/02/02 13:25:00 peer(qdqQ…7qxs) - Routine: sequential sender - started newt | DEBUG: wireguard: 2025/02/02 13:25:00 peer(qdqQ…7qxs) - Routine: sequential receiver - started newt | DEBUG: wireguard: 2025/02/02 13:25:05 peer(qdqQ…7qxs) - Sending handshake initiation newt | DEBUG: wireguard: 2025/02/02 13:25:10 peer(qdqQ…7qxs) - Sending handshake initiation newt | WARN: 2025/02/02 13:25:10 Ping attempt 1 failed: failed to read ICMP packet: i/o timeout newt | INFO: 2025/02/02 13:25:12 Ping attempt 2 of 5 newt | INFO: 2025/02/02 13:25:12 Pinging 100.89.128.1 newt | DEBUG: wireguard: 2025/02/02 13:25:15 peer(qdqQ…7qxs) - Sending handshake initiation newt | DEBUG: wireguard: 2025/02/02 13:25:20 peer(qdqQ…7qxs) - Sending handshake initiation newt | WARN: 2025/02/02 13:25:22 Ping attempt 2 failed: failed to read ICMP packet: i/o timeout newt | INFO: 2025/02/02 13:25:24 Ping attempt 3 of 5 newt | INFO: 2025/02/02 13:25:24 Pinging 100.89.128.1 newt | DEBUG: wireguard: 2025/02/02 13:25:25 peer(qdqQ…7qxs) - Sending handshake initiation newt | DEBUG: wireguard: 2025/02/02 13:25:30 peer(qdqQ…7qxs) - Sending handshake initiation newt | WARN: 2025/02/02 13:25:34 Ping attempt 3 failed: failed to read ICMP packet: i/o timeout newt | DEBUG: wireguard: 2025/02/02 13:25:35 peer(qdqQ…7qxs) - Sending handshake initiation newt | INFO: 2025/02/02 13:25:36 Ping attempt 4 of 5 newt | INFO: 2025/02/02 13:25:36 Pinging 100.89.128.1 newt | DEBUG: wireguard: 2025/02/02 13:25:40 peer(qdqQ…7qxs) - Sending handshake initiation newt | DEBUG: wireguard: 2025/02/02 13:25:45 peer(qdqQ…7qxs) - Sending handshake initiation newt | WARN: 2025/02/02 13:25:46 Ping attempt 4 failed: failed to read ICMP packet: i/o timeout newt | INFO: 2025/02/02 13:25:48 Ping attempt 5 of 5 newt | INFO: 2025/02/02 13:25:48 Pinging 100.89.128.1 newt | DEBUG: wireguard: 2025/02/02 13:25:50 peer(qdqQ…7qxs) - Sending handshake initiation newt | DEBUG: wireguard: 2025/02/02 13:25:55 peer(qdqQ…7qxs) - Sending handshake initiation newt | WARN: 2025/02/02 13:25:58 Ping attempt 5 failed: failed to read ICMP packet: i/o timeout newt | ERROR: 2025/02/02 13:25:58 Failed to ping 100.89.128.1: all ping attempts failed after 5 tries, last error: failed to read ICMP packet: i/o timeout newt | INFO: 2025/02/02 13:25:58 Starting ping check ```
Author
Owner

@Lokowitz commented on GitHub (Feb 2, 2025):

Ah i am an idiot... i changed the wireguard port in the config.yml but not in the compose.yml.
Working now.

@Lokowitz commented on GitHub (Feb 2, 2025): Ah i am an idiot... i changed the wireguard port in the config.yml but not in the compose.yml. Working now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/newt#3