Hello,
I am encountering an issue when using ziti-tunnel. After a network interruption and when the network returns to normal, the ziti network fails to recover for unused service.
This type of network interruption may occur in the following scenarios:
-
Long periods of inactivity causing the system to sleep/hibernate
-
Network adapter disabled/enabled
On another computer, I couldn't reproduce the issue.
What could be the reason for this?
Software versions:
-
Ziti 2.0
-
ziti-tunnel-sdk-c v1.18.1, v1.15.1
-
Ziti Desktop Edge: 2.11.2.4
OS: Windows 10
Test method:
-
Start ziti, open website service A, test OK
-
Disable the network adapter, wait 1–2 minutes
-
Enable the network adapter, open website service B and service C, test fails (NG)
Services A, B, and C are all services for which I have permission. In testing, there is a certain probability that it will work, but in most cases it does not.
Tunnel log:
[2026-07-03T08:39:19.245Z] ERROR tunnel-cbs:ziti_tunnel_cbs.c:128 on_ziti_connect() ziti dial failed: connection is closed
[2026-07-03T08:39:19.497Z] ERROR ziti-sdk:connect.c:1100 connect_reply_cb() conn1.452/EtCORhOF/Connecting failed to connect, reason=failed to create service token from JWT: token is unverifiable: error while executing keyfunc: public key not found
[2026-07-03T08:39:19.497Z] ERROR tunnel-cbs:ziti_tunnel_cbs.c:128 on_ziti_connect() ziti dial failed: connection is closed
[2026-07-03T08:39:19.751Z] ERROR ziti-sdk:connect.c:1100 connect_reply_cb() conn1.453/Hq68hP4m/Connecting failed to connect, reason=failed to create service token from JWT: token is unverifiable: error while executing keyfunc: public key not found
[2026-07-03T08:39:19.751Z] ERROR tunnel-cbs:ziti_tunnel_cbs.c:128 on_ziti_connect() ziti dial failed: connection is closed