Idle timeout kicks me out after 30s and have to restart pangolin #336

Closed
opened 2026-04-05 17:06:26 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @danieldonaldson on 1/23/2026

Describe the Bug

I have to constantly restart pangolin-cli for it to keep accessing my site.

I have pangolin running on one VPS. I have dokploy running on another. I can run pangolin up and access the dokploy web interface via: http://dokploy-admin.pangolin:3000/ and I can run through all the settings, etc. Once I leave it for ~30 seconds I cannot connect again until I run pangolin down && pangolin up

These are the logs:
Newt on the dokploy server:

 INFO: 2026/01/23 14:43:44 Connecting to endpoint: redacted.com
INFO: 2026/01/23 14:43:45 Tunnel connection to server established successfully!
INFO: 2026/01/23 14:43:46 Peer HcLfBztK8rohMGVFtiYMee7YxwiBX72FD0240aXbMgQ= added successfully
INFO: 2026/01/23 14:43:46 Added target subnet from 100.90.128.1/32 to 100.96.128.8/32 rewrite to dokploy with port ranges: [{3000 3000 tcp}]
INFO: 2026/01/23 14:43:46 Client connectivity setup. Ready to accept connections from clients!
INFO: 2026/01/23 14:52:12 Peer HcLfBztK8rohMGVFtiYMee7YxwiBX72FD0240aXbMgQ= removed successfully
INFO: 2026/01/23 14:52:12 Triggering on-demand hole punch to 1 exit nodes
INFO: 2026/01/23 14:52:12 Successfully sent on-demand hole punch to 1/1 exit nodes
INFO: 2026/01/23 14:52:12 Peer YaViA5onq8/lllGWoJNin5wsFj+HK2tyTsD/rQeqGkg= added successfully
INFO: 2026/01/23 14:52:20 TCP Forwarder: Handling connection 100.90.128.1:35256 -> 10.0.1.7:3000
INFO: 2026/01/23 14:52:20 TCP Forwarder: Successfully connected to 10.0.1.7:3000, starting bidirectional copy

Gerbil on pangolin server:

INFO: 2026/01/23 14:43:44 Clearing connections for added peer with WG IP: 100.89.128.4
INFO: 2026/01/23 14:43:44 Cleared 0 connections for WG IP: 100.89.128.4
INFO: 2026/01/23 14:43:44 Peer 9rMzcFhbOm7FW9St9LhHilcGoGGJpRPTv10w6QbewBE= added successfully
INFO: 2026/01/23 14:43:45 Cleared 0 sessions for WG IP: 102.209.118.151
INFO: 2026/01/23 14:43:46 Cleared 0 sessions for WG IP: 102.209.118.151
INFO: 2026/01/23 14:43:46 Updated 1 proxy mappings from 100.89.128.4:54643 to 100.89.128.4:64822
INFO: 2026/01/23 14:43:46 Updated 1 proxy mappings: 100.89.128.4:54643 -> 100.89.128.4:64822
INFO: 2026/01/23 14:43:48 Cleared 0 sessions for WG IP: 102.209.118.151
INFO: 2026/01/23 14:43:49 Cleared 0 sessions for WG IP: 197.95.150.152
INFO: 2026/01/23 14:43:49 Cleared 0 sessions for WG IP: 197.95.150.152
INFO: 2026/01/23 14:43:49 Rebuilt WireGuard session from communication pattern: 1508827352:3050184245 -> 100.89.128.4:64822 (packets: 4)
INFO: 2026/01/23 14:43:50 Cleared 0 sessions for WG IP: 197.95.150.152

Pangolin logs:

2026-01-23T15:02:48+00:00 [info]: Next.js server is running on http://localhost:3002
2026-01-23T15:02:48+00:00 [info]: Establishing websocket connection
2026-01-23T15:02:48+00:00 [info]: Client added to tracking - NEWT ID: iaoo2rby17eeoh2, Connection ID: dee2788f-32af-4cc1-b59c-8172bc031e81, Total connections: 1
2026-01-23T15:02:48+00:00 [info]: WebSocket connection established - NEWT ID: iaoo2rby17eeoh2
2026-01-23T15:02:48+00:00 [info]: Establishing websocket connection
2026-01-23T15:02:48+00:00 [info]: Client added to tracking - OLM ID: llb3f0hjzsi40tl, Connection ID: d48411f8-adf0-4eb6-b6f3-c136654fb2c7, Total connections: 1
2026-01-23T15:02:48+00:00 [info]: WebSocket connection established - OLM ID: llb3f0hjzsi40tl
2026-01-23T15:03:10+00:00 [info]: Kicking offline olm client 1 due to inactivity
2026-01-23T15:03:10+00:00 [info]: All connections removed for OLM ID: llb3f0hjzsi40tl
2026-01-23T15:03:10+00:00 [info]: Client disconnected - OLM ID: llb3f0hjzsi40tl

See the important bit above 2026-01-23T15:03:10+00:00 [info]: Kicking offline olm client 1 due to inactivity

Environment

  • OS Type & Version: (e.g., Ubuntu 22.04)
  • Pangolin Version: 1.14.1
  • Gerbil Version: 1.3.0
  • Traefik Version: 3.6
  • Newt Version: 1.8.1
  • Olm Version: (if applicable) ?

To Reproduce

See above

Expected Behavior

Does not disconnect after 30 seconds

*Originally created by @danieldonaldson on 1/23/2026* ### Describe the Bug I have to constantly restart pangolin-cli for it to keep accessing my site. I have pangolin running on one VPS. I have dokploy running on another. I can run `pangolin up` and access the dokploy web interface via: `http://dokploy-admin.pangolin:3000/ `and I can run through all the settings, etc. Once I leave it for ~30 seconds I cannot connect again until I run `pangolin down && pangolin up` These are the logs: Newt on the dokploy server: ``` INFO: 2026/01/23 14:43:44 Connecting to endpoint: redacted.com INFO: 2026/01/23 14:43:45 Tunnel connection to server established successfully! INFO: 2026/01/23 14:43:46 Peer HcLfBztK8rohMGVFtiYMee7YxwiBX72FD0240aXbMgQ= added successfully INFO: 2026/01/23 14:43:46 Added target subnet from 100.90.128.1/32 to 100.96.128.8/32 rewrite to dokploy with port ranges: [{3000 3000 tcp}] INFO: 2026/01/23 14:43:46 Client connectivity setup. Ready to accept connections from clients! INFO: 2026/01/23 14:52:12 Peer HcLfBztK8rohMGVFtiYMee7YxwiBX72FD0240aXbMgQ= removed successfully INFO: 2026/01/23 14:52:12 Triggering on-demand hole punch to 1 exit nodes INFO: 2026/01/23 14:52:12 Successfully sent on-demand hole punch to 1/1 exit nodes INFO: 2026/01/23 14:52:12 Peer YaViA5onq8/lllGWoJNin5wsFj+HK2tyTsD/rQeqGkg= added successfully INFO: 2026/01/23 14:52:20 TCP Forwarder: Handling connection 100.90.128.1:35256 -> 10.0.1.7:3000 INFO: 2026/01/23 14:52:20 TCP Forwarder: Successfully connected to 10.0.1.7:3000, starting bidirectional copy ``` Gerbil on pangolin server: ``` INFO: 2026/01/23 14:43:44 Clearing connections for added peer with WG IP: 100.89.128.4 INFO: 2026/01/23 14:43:44 Cleared 0 connections for WG IP: 100.89.128.4 INFO: 2026/01/23 14:43:44 Peer 9rMzcFhbOm7FW9St9LhHilcGoGGJpRPTv10w6QbewBE= added successfully INFO: 2026/01/23 14:43:45 Cleared 0 sessions for WG IP: 102.209.118.151 INFO: 2026/01/23 14:43:46 Cleared 0 sessions for WG IP: 102.209.118.151 INFO: 2026/01/23 14:43:46 Updated 1 proxy mappings from 100.89.128.4:54643 to 100.89.128.4:64822 INFO: 2026/01/23 14:43:46 Updated 1 proxy mappings: 100.89.128.4:54643 -> 100.89.128.4:64822 INFO: 2026/01/23 14:43:48 Cleared 0 sessions for WG IP: 102.209.118.151 INFO: 2026/01/23 14:43:49 Cleared 0 sessions for WG IP: 197.95.150.152 INFO: 2026/01/23 14:43:49 Cleared 0 sessions for WG IP: 197.95.150.152 INFO: 2026/01/23 14:43:49 Rebuilt WireGuard session from communication pattern: 1508827352:3050184245 -> 100.89.128.4:64822 (packets: 4) INFO: 2026/01/23 14:43:50 Cleared 0 sessions for WG IP: 197.95.150.152 ``` Pangolin logs: ``` 2026-01-23T15:02:48+00:00 [info]: Next.js server is running on http://localhost:3002 2026-01-23T15:02:48+00:00 [info]: Establishing websocket connection 2026-01-23T15:02:48+00:00 [info]: Client added to tracking - NEWT ID: iaoo2rby17eeoh2, Connection ID: dee2788f-32af-4cc1-b59c-8172bc031e81, Total connections: 1 2026-01-23T15:02:48+00:00 [info]: WebSocket connection established - NEWT ID: iaoo2rby17eeoh2 2026-01-23T15:02:48+00:00 [info]: Establishing websocket connection 2026-01-23T15:02:48+00:00 [info]: Client added to tracking - OLM ID: llb3f0hjzsi40tl, Connection ID: d48411f8-adf0-4eb6-b6f3-c136654fb2c7, Total connections: 1 2026-01-23T15:02:48+00:00 [info]: WebSocket connection established - OLM ID: llb3f0hjzsi40tl 2026-01-23T15:03:10+00:00 [info]: Kicking offline olm client 1 due to inactivity 2026-01-23T15:03:10+00:00 [info]: All connections removed for OLM ID: llb3f0hjzsi40tl 2026-01-23T15:03:10+00:00 [info]: Client disconnected - OLM ID: llb3f0hjzsi40tl ``` See the important bit above `2026-01-23T15:03:10+00:00 [info]: Kicking offline olm client 1 due to inactivity` ### Environment - OS Type & Version: (e.g., Ubuntu 22.04) - Pangolin Version: 1.14.1 - Gerbil Version: 1.3.0 - Traefik Version: 3.6 - Newt Version: 1.8.1 - Olm Version: (if applicable) ? ### To Reproduce See above ### Expected Behavior Does not disconnect after 30 seconds
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#336