Skip to main content

Connect a slot's console straight to its node

A slot's web console normally reaches its node through Jaah's relay. When the relay is slow from where you are, or you want to know whether the node itself can be reached, turn on the direct connection: the console then talks to the node straight. If the node can't be reached, the console says so and keeps trying the node. It never falls back to the relay on its own.

Who can do this: anyone who can open the slot's console. The Open web console button shows only when you may act on the task, and it needs the permission to view worktrees. The ⚡ isn't on the console of a task that runs in a MicroVM.

Turn it on​

  1. Open a running task and select the Open web console button beside its state at the top of the page. On a phone, select ⋯, then Console.
  2. In a window wider than 480 pixels, select ⚙ (Direct connection settings) in the console's header to read what the switch does. The Direct connection window explains it under Connect straight to the node. Leave Direct address override empty and select Apply to close it.
  3. Select ⚡ in the console's header. Its hover reads Direct connection off while it is off.
  4. Watch the mark beside the ⚡:
    • …: connecting straight to the node.
    • ✓: connected straight to the node, with the relay out of the path.
    • ×: not connected. The console keeps retrying the node every 5 seconds; select ↻ (Reconnect) to try at once.
    • –: direct connection isn't set up for this node, so the console uses the relay. The terminal says Direct connection unavailable and why.
  5. Work in the console as usual. This browser remembers your choice, so every console you open here tries the direct connection until you turn it off.

Turn it off​

  1. Select ⚡ again. The console reconnects through the relay, and the mark goes away.