Hi,
I’m using v1.1.10, and maybe I’m missing something, but where has the TUI gone? I used to run zrok share public –backend-mode web . in my console and up pops a TUI (in my console), whereby I can monitor traffic (i.e., who is accessing the share).
Has this gone? I don’t mind, per se, if it’s a webconsole, but I do need to see who is accessing the shares (to ensure they have got what they needed).
Thank you.
The TUI is still fully present in zrok. Have you inadvertently set the headless config option?
If you run zrok status, what output do you get?
$ zrok status
Config:
╭──────────────────┬────────────────────────┬────────╮
│ CONFIG │ VALUE │ SOURCE │
├──────────────────┼────────────────────────┼────────┤
│ apiEndpoint │ http://localhost:18080 │ env │
│ defaultNamespace │ public │ binary │
│ headless │ true │ config │
│ superNetwork │ false │ config │
╰──────────────────┴────────────────────────┴────────╯
Environment:
╭───────────────┬─────────╮
│ PROPERTY │ VALUE │
├───────────────┼─────────┤
│ Account Token │ <> │
│ EnvZId │ <> │
╰───────────────┴─────────╯
I have the headless option set to true. If you want to set it to false, you can use zrok config set headless false and it should default to false.
Even when headless is false, there is still logging for every access that shows up on stdout.
Hi,
❯ zrok status
Config:
CONFIG VALUE SOURCE
apiEndpoint https://api-v1.zrok.io env
defaultFrontend public binary
headless false binary
superNetwork false binary
Environment:
PROPERTY VALUE
Account Token <<SET>>
Ziti Identity <<SET>>
~ ▼
❯ which zrok
/usr/bin/zrok
I tried also setting headless to true, but to no avail.
Could it be that as the agent is being used, it’s not “foreground” so to speak?
-=david=-
Ah,
Yes, if the agent is being used, then no TUI is launched.
systemctl stop --user zrok-agent.service
Then doing zrok share public --backend-mode web .
The TUI was launched.
Is running the agent + TUI mutually exclusive?
Thank you.
-=david=-