Hi everyone,
We started deploying OpenZiti agents for both macOS and Linux users a week ago, after deploying OpenZiti across most of our infrastructure.
Unfortunately, there have been many inconsistencies and issues with the tunnelers over the past week. Users are experiencing problems, and as a result, we are receiving negative feedback. Your swift assistance would be appreciated.
The two most frequent scenarios are:
-
The client gets disconnected but shows as connected in the status.
-
Users unknowingly open multiple sessions and receive an "invalid session" error.
It’s difficult to pinpoint exactly when and why this occurs. However, it seems more frequent when the network is switched off/on or when the laptop is put to sleep while the client is still connected.
Steps to reproduce (not always consistent):
-
Enable/run the client.
-
Log in the user (we're using OIDC).
-
Turn off the internet or put the laptop to sleep for an extended period (e.g., lunch break).
-
Try to use Ziti → fails.
-
Re-login → does not help.
First issue diagnosis on Linux machines:
-
Running
ziti-edge-tunnel tunnel_statusshows:-
Loaded: True
-
Active: True
-
NeedsExtAuth: False
-
The connected identity
-
All attached services
-
-
Running
ifconfigshows the Ziti interface. -
DNS resolution works.
-
Logs typically end with a warning that the client disconnected from all edge routers.
-
Running any
ziti-edge-tunnelcommands after this does not produce any log entries.
Current workaround: Restart the service and re-authenticate.
First issue diagnosis on macOS machines:
-
Edge is connected and the identity is enabled, but the status icon shows a yellow circle.
-
Re-authentication opens the browser, succeeds, the circle turns green, and services begin loading.
-
appex.logshows a warning: "connection failed: failed to authenticate".
Current workaround: Uncheck "Enable", disconnect the tunnel, quit the program, and restart everything.
Second issue diagnosis (Linux and macOS):
-
Everything appears connected and operational.
-
The client attempts to connect using ziti network but fails.
-
Logs show: "failed to connect, reason=invalid session".
-
Re-authenticating opens a new session, but the same error appears (even after killing all services and restarting).
(In the scrrenshot, the same identitiy opened 4 different sessions)
Current workaround: An admin manually kills all sessions associated with the identity on the controller, then re-authenticate.
Questions:
-
Are we using the clients incorrectly?
-
Could this be related to OIDC?
-
Since most users are technical but not deeply experienced, is there a better way to reflect the current status or force them to handle these issues more effectively?
Thanks!
