openziti / desktop-edge-ui

Open Ziti Desktop Edge UI Project
Apache License 2.0
2 stars 3 forks source link

enable identity gets "controller unavailable" toast #129

Open qrkourier opened 6 months ago

qrkourier commented 6 months ago

I got an error when I tried to enable a valid identity with UI v3.3.1 and ZET 0.22.28.

I verified the client API of the controller is available, and I had no problem enabling the identity with the CLI.

❯ ziti-edge-tunnel tunnel_status | sed -E 's/(^received\sresponse\s<|>$)//g' | jq '.Data.Identities[]|select(.Identifier == "/opt/openziti/etc/identities/bastion1.json")|.Active'
false

❯ ziti-edge-tunnel on_off_identity --identity /opt/openziti/etc/identities/bastion1.json --onoff t
received response <{"Success":true,"Data":{"Command":"IdentityOnOff","Data":{"Identifier":"/opt/openziti/etc/identities/bastion1.json","OnOff":true}},"Code":0}
>

❯ ziti-edge-tunnel tunnel_status | sed -E 's/(^received\sresponse\s<|>$)//g' | jq '.Data.Identities[]|select(.Identifier == "/opt/openziti/etc/identities/bastion1.json")|.Active'
true
qrkourier commented 6 months ago

I repeatedly triggered the issue in the UI that had been running for about 18h before I attempted to enable the identity with the CLI.

After toggling the identity ON with the CLI, I could not reproduce the issue in the UI. I tried restarting the UI but could not reproduce the issue.

qrkourier commented 6 months ago

If this issue recurs I will try to reproduce with a local build so I can access the console log. I could not find a way to activate dev tools in the release build. Is there a way to do that?