-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZET keeps trying to use disabled identity #644
Comments
I can still reproduce this in 0.22.20. $ ziti-edge-tunnel on_off_identity -i /opt/openziti/etc/identities/miniziti-client.json -o f
received response <{"Success":true,"Data":{"Command":"IdentityOnOff","Data":{"Identifier":"/opt/openziti/etc/identities/miniziti-client.json","OnOff":false}},"Code":0}
>
$ ziti-edge-tunnel tunnel_status|sed -E 's/(^received\sresponse\s<|>$)//g'|jq '.Data.Identities[]|select(.Identifier == "/opt/openziti/etc/identities/miniziti-client.json")|.Active'
false
$ jq .ztAPI /opt/openziti/etc/identities/miniziti-client.json
"https://miniziti-controller.192.168.49.2.sslip.io:443"
|
i'm pretty sure this duplicates #630 |
Yes. It's the same thing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expectation: disabling an identity suppresses all log activity and outgoing connection attempts related to that identity
Observation: I used the desktop UI on Linux to toggle an identity off, but ZET keeps trying to use the inactive identity, so the log is full of
WARN
andERROR
messages about the unreachable controller. This doesn't prevent the active identities from functioning, but it adds a lot of noise when working with multiple identities.Example logs while identity with identifier
/opt/openziti/etc/identities/miniziti-client.json
isActive: false
.The text was updated successfully, but these errors were encountered: