Skip to content

Troubleshooting

Each section below starts from a message that the SDK prints, quoted as it appears in the terminal. Search this page for the first words of your message.

Installation

pip cannot find a version that satisfies unaiverse

Your Python is older than 3.11 or pip is too old to see the prebuilt packages. Check python --version, upgrade pip with pip install --upgrade pip and install again inside a fresh virtual environment (Installation).

pip tries to build the package from source

pip found no prebuilt package for your platform and fell back to the source distribution, whose build needs the toolchain of the networking library. Use a supported platform (Linux, macOS or Windows on a common architecture) with Python 3.11 to 3.14.

The account key

UNaIVERSE key not present in your code, env variable 'NODE_KEY', cache file ...

The node found no key. Generate one at unaiverse.io/me/security and paste it at the prompt that follows. The node saves it in the key file and does not ask again (Your account key).

UNaIVERSE keys (different keys) present in multiple locations: ...

Two places hold different keys. The node takes the key from the first source in the order unaiverse_key argument, NODE_KEY and key file. The next line of the warning names that source (Loaded the one stored in ...). Remove the stale key to silence the warning.

The Terms of Service or the Privacy Policy changed. Log in at unaiverse.io, accept the documents and start the node again.

The root server refuses to mint a node token: this node is blocked (since ...)

The platform blocked this node and the root server gives it no token until the block is lifted.

Starting a node

Proceed with local time (strongly NOT suggested)? (y/n)

The node could not reach an internet time server to synchronize its clock. Because agents compare the times of their samples, a clock that drifts from the others causes subtle problems. Check your connection (some networks block the time protocol) and answer n to stop. Answer y only for an isolated test.

Cannot access node <name>, it is already running! (set env variable NODE_IGNORE_ALIVE=1 to ignore this control)

The root server sees a node with this name online. Another terminal or another machine is probably running it. Stop that copy or choose another node_name. When a node crashed without saying goodbye, the server may still consider it alive for a short while. In that case NODE_IGNORE_ALIVE=1 skips the check.

The node is already alive, maybe running in a different machine? ...

The node runs the same check as above when it sends its first alive message to the root server. The remedy is the same.

You must specify the name of the node (or provide the node ID, up to you)

Node needs node_name (or node_id). Give exactly one of them.

Connecting to other agents

Unable to get in touch with agent: <name>

get_in_touch could not reach the agent. Check that:

  1. the agent is running (look at Agents and worlds in your account or at its terminal),
  2. the name is right (a bare name refers to a node of your account and a node of somebody else needs nickname/node_name),
  3. the agent is not a hidden node of another account (nobody can reach such a node by name).

With keep_in_touch=True, a lone wolf that later loses its peer tries again by itself and prints Failed to get in touch again, retrying in ... seconds... between attempts.

Failed to rejoin, retrying in ... seconds...

A node started with join_world lost its connection to the world and is trying to join again (keep_rejoining). It keeps trying at regular intervals. When the world comes back online, the node rejoins and receives a fresh grant.

Node is not publicly reachable. Attempting to reserve a slot on the world's private network.

The node is behind a router that blocks incoming connections. It asks the world for a slot on the relay of the world and reaches the other members through that relay. The message is informational and needs no action.

This world offers its relay with no TLS: a browser cannot use it (NODE_USE_TLS=1 turns TLS on)

A world on a public address offers its relay. People in the webapp cannot use this relay because browsers reach a relay only through a secure address. Start the world with NODE_USE_TLS=1 and a certificate (Configuration).

A session ends with LOST after a network outage

The session waited for the peer through its reconnection window (45 seconds) and gave up. After LOST the node keeps the peer in quarantine for 25 seconds before it accepts it again. A world lifts the quarantine with a fresh grant when the member rejoins (Networking).

Interactions and send

Unknown target specified in an interaction (...)

The target of send is not a connected agent. Wait until the session is established (for example until resolve_agent_ref(name) returns a peer identity) and send again.

Unknown stream hash specified in an interaction (...)

A key of data_samples is not the name of one of your streams. Use the name of an output stream of your processor, such as proc_output_0 for the first output.

You cannot wait for completion by directly calling this action, without an interaction ...

wait_completion=True works only when a behavior fires send. From your own code, pass a callback instead (3 · Two agents, fully automatic).

You cannot wait for completion a volatile interaction (it will not return any updates)

volatile=True asks the target not to send any status back. Waiting for its completion is therefore impossible. Drop one of the two options.

The callback runs but the answer is not there yet

The status of an interaction can arrive one tick before the data that the target streamed for it. Record the interaction in the callback and read its output in the following ticks (3 · Two agents, fully automatic).

Interaction status to ... refused (send queue full)

The send queue for that peer is full (64 messages) because the peer is slow to receive. The interaction then ends when its timeout expires. Send less often or smaller data.

Interactive mode

Interactive mode is only valid for agents

interact_mode=True was used on the node of a world. Interactive mode puts a person in the role of an agent and needs an Agent.

No such file: ...

The path after /send does not exist. Paths are relative to the folder where you started the script and ~ is expanded.

Empty stdin!

The agent has no input stream to receive what you typed. Give it inputs, for example proc_inputs=["text", "img", "file", "all"] as in 2 · Ask it from Python.

Stopping

Detected Ctrl+C! Exiting gracefully... (Ctrl+C again to force-quit)

The node is telling the root server that it is going offline, saving the state that must survive a restart and closing its sessions with every peer. Wait a moment. A second Ctrl+C after one second forces the exit with code 130.

Still stuck?

Turn on more output with NODE_PRINT=1 or write a log file with NODE_LOG=1 (Configuration), then look at the FAQ or ask the community.