Troubleshooting Guide¶
Diagnose and fix common Kunuleco issues.
Commands here are node verbs unless marked otherwise. Type them as shown over SSH, or in the Urchin client's command
mode (add / in chat mode). Commands that start with / exist only in the client.
Quick Diagnostics¶
transport shows each transport's state. @node_processes shows which daemons are running. @netcheck checks the
network for peer-to-peer compatibility. If it says ✗ NOT READY FOR PEERS BEYOND THIS NETWORK, neither Tor nor Veilid
is running, so only peers on your own network can reach the node. Start one of them and check @node_processes.
@version shows the node's build and commit.
The node's logs are in its logs directory, ~/.local/share/kunuleco/logs/ on an installed Linux node and
%LOCALAPPDATA%\Kunuleco\logs\ on Windows, and ~/Library/Application Support/Kunuleco/logs/ on macOS. Start with node.log. The daemons each have their own log beside it. The
logs can contain NUL bytes, so search them with grep -a:
Installation Issues¶
Setup Wizard Stalls or Fails to Download¶
Solutions:
- Check your internet connection
- Some networks block peer-to-peer traffic. Try a phone hotspot or a different network
- Close Urchin and launch it again. Setup resumes where it left off
Missing .pck File on Launch¶
On Linux and Windows, the executable and urchin.pck must be in the same folder. Move them together and launch again.
On macOS the content package is inside Urchin.app.
Broken or Incomplete Installation¶
In the Urchin client:
/check-updates shows which components have updates. /update installs them, and /update client updates only the
client. /reinstall performs a clean reinstall of every component.
The Installer's Command Line¶
The installer that the setup wizard uses also has a command line. Run it with the node's Python, which is in the
installation's venv directory:
On Windows the Python is %LOCALAPPDATA%\Kunuleco\venv\Scripts\python.exe. Its commands are install, health,
update, repair, rollback, restore-data, info and uninstall.
healthchecks the installed Tor and Veilid.--component <tor|veilid>checks one, and--jsonprints JSON.repairdiagnoses and repairs problems.--diagnose-onlyreports without changing anything,--autofixes the safe ones, and--component <name>limits it to one component.infoshows the installed components, versions and paths.
Startup Issues¶
A Daemon Did Not Start¶
Symptoms: One of these lines in node.log:
[WARN] Tor not available - onion services disabled[WARN] Veilid not available - cross-internet P2P limited
The node keeps running without that daemon. Since 0.3.129 the node runs no IPFS, so there is no IPFS line.
Solutions:
- Check that daemon's own log (
tor-daemon.logorveilid-daemon.log) - Restart Urchin, which restarts the node and its daemons
- Run the installer's
repair --component <tor|veilid>
The Node Refuses Data From Before BREAK1¶
Symptoms: The node stops at start-up with one line:
Kunuleco will not start: <path> holds data from before BREAK1, so move that folder somewhere else or delete it and start Kunuleco again.
Cause: The data directory holds a node's state from a release before 0.2.236. BREAK1 is a clean break, so a
current node does not start on that state. The node checks the directory before anything opens it, and since
0.2.238 it moves, writes and deletes nothing in it. A fresh install is not refused. A directory that holds only what the
installer writes before the first start (its tor/torrc) and a launcher's logs/ counts as fresh.
Solutions:
- Move the folder the line names somewhere else, or delete it if you do not need it
- Start Urchin again, and the node starts fresh in a new, empty data directory
The old identity does not carry across the break, so you sign up again on the fresh node.
0.2.236 and 0.2.237 moved an old directory aside instead, renaming it to <data>.pre-break1-<time> next to the
original. Those folders are still there, and nothing deletes them. A node that 0.2.236 moved lost the installer's
tor/torrc with the move, so its Tor did not start. 0.2.237 copies that one file back from the newest aside folder
and logs [BREAK1] restored the installer's tor/torrc from <path>. On Windows the move failed, because Windows will
not rename the folder a launcher runs in, so a fresh Windows install of 0.2.236 or 0.2.237 refused to start. 0.2.238
fixed both by refusing instead of moving.
Urchin's Node Did Not Start¶
Symptoms: The launcher shows STARTUP FAILED.
Since 0.2.243 the screen shows the node's own reason when it gave one, such as the refusal of
data from before BREAK1. Press RETRY, which the launcher offers three
times. After the third failure it offers CONNECT TO ANOTHER NODE, with the line The node on this machine did not
start. You can still sign in to a node that runs somewhere else. That button stops the node on this machine and
opens the connection settings, so you can sign in to a node elsewhere. In the setup wizard, RETRY re-runs only
the step that failed.
Another Node Is Already Running¶
Cause: A second node process started on the same data directory or the same ports.
Solutions:
Close the other process, then start Urchin again.
Can't Sign In¶
Solutions:
- Check the name and the password (caps lock, typing errors). The node gives one reply for a wrong password and for
a name it has no account for,
User name or password not recognized., so the reply cannot tell you which one is wrong. The Urchin client showsSigning in as <name>.for whatever name you typed and thenPassword incorrect. Neither line means the account exists. SSH shows OpenSSH's ownPermission denied, please try again.for both - After repeated failures the node answers
Too many failed attempts. Try again in <N>s.The Urchin terminal and the relogin dialog word it asToo many failed attempts -- sign-in is paused for a while. Wait before trying again.See Sign-in limits below - If the reply is
Your account identity is locked; restore it from a backup., your password was right and the node could not open your identity. See Identity Locked below - There is no password reset. If you have an exported identity made by 0.2.236 or later, restore it with
import-identity. See Identity Management - An account made before 0.2.236 no longer exists, because that release reset every node. It answers the same
User name or password not recognized.Create a new account. See After the BREAK1 Reset
Sign-in Limits¶
The node limits failed sign-ins in three ways at once: by the address the attempt comes from, by that address and the account together, and by the account. TLS and SSH share the same counters, so failures on one door count on the other.
Each counter follows the same curve. After 3 failures the next attempt waits 1 second, after 5 it waits 5 seconds, after 10 it waits 30 seconds, and at 20 the counter locks for 300 seconds. One failure is forgiven for every 300 seconds without another. A successful sign-in clears the account's count and the count for that address and account, but not the address's own count, so one person cannot reset an address by signing into their own account between guesses at other accounts.
A stranger who knows your name can still lock your account with 20 wrong passwords. The lock does not hold you at an address you signed in from in the last 30 days, so signing in from home or from your usual device still works. It does hold you at a new address, such as a phone on a cellular network, until it expires. All of these counts live in the node's memory, so a node restart clears them, and it also forgets the addresses you signed in from.
An IPv6 address is counted by its /64, and a connection from the node's own machine (loopback) is counted per connection.
Identity Locked¶
Your account identity is locked; restore it from a backup. means the password was right and your account's
identity store exists on the node but will not open. The node refuses the sign-in and writes nothing. The refusal is
not counted toward the sign-in limits, and a wrong password still gets the ordinary User name or password not
recognized., so the sentence is shown only to the person who holds the password. Over SSH it appears as a banner before Permission denied, please try again.
The repair is on the node. Tell the node's operator. The operator restores the account's keri/ folder from a backup,
and must not clear or delete it, because clearing it loses the identity for good. The node log records each refusal on
a line marked [KERI-35].
Connection Issues¶
mDNS Not Discovering Peers¶
Symptoms: Local peers not visible.
Diagnosis:
Solutions:
- Verify you are on the same network (ping the other machine)
- Check the firewall allows UDP 5353
- Check the firewall allows TCP 4243 (the CapTP port)
- On some routers, "AP isolation" blocks mDNS. Turn it off
- Check both nodes run the same release line. A node on 0.2.236 or later and a node on 0.2.235 or earlier cannot talk at all, in either direction
Veilid Not Connecting¶
Symptoms: A Veilid verb answers Veilid not available, or connections time out.
Diagnosis:
Solutions:
- Wait for Veilid to attach to its network, which takes longer on the first start
- Check the system time is accurate. Veilid requires it
- Check
veilid-daemon.log - Try
/updatein the Urchin client - Check that the node publishes its Veilid record, with
grep -a "VEILID/DHT" node.log. A healthy node logspublished route blobat each route refresh, and the first time it logs that it created and persisted a record. Before 0.2.233, a node's own record never published, and every refresh logged[VEILID/DHT] publish failed: ... no directory id is on record for .... A line containing[KERI-52] [SECURITY]means the node refused to file the record under an account that did not match, and wrote nothing. Report it with the log.
Time sync fix:
Tor Not Connecting¶
Symptoms: @torstatus answers Tor not available (is tor running?), or circuits fail.
Diagnosis:
Solutions:
- Check
tor-daemon.log - Restart Urchin, which restarts the node's Tor
- The network may be blocking Tor
- Check that the node's owner has not switched Tor off.
transport statesreadstor down (disabled)when they have, and since 0.2.240 that setting holds across a restart
A first join over Tor to a node whose onion is new can take 20 seconds or more, because the onion's first connection is slow. Since 0.2.240 a join waits up to 25 seconds on the invite's Tor hint, and since 0.2.241 it also tries the directory after 5 seconds, so another way in can win meanwhile. On 0.2.239 and earlier the join gave up on the hint at 10 seconds and said the host may be offline. Try the join again, since the second connection to the same onion is much faster.
Peer Disconnects Immediately¶
Symptoms: A connection opens, then drops.
Possible causes:
- One node runs 0.2.236 or later and the other 0.2.235 or earlier. They refuse each other at once, on every transport
- The peer's signed hello was refused. A refused Tor hello closes the connection, and the node stops re-dialling a peer it refused until you dial it yourself
- One of you has blocked the other
- An unstable transport
Solutions:
- Update both nodes to the same version
- Check
node.logfor errors - Run
ping <name>to see which transports reach the peer
Performance Issues¶
High Latency¶
Symptoms: Messages take seconds to deliver.
Diagnosis:
ping shows which transports reach the peer. A peer on the same LAN should be reached over mDNS.
High Memory or CPU Use¶
Possible causes:
- Many active connections
Solutions:
- Restart Urchin
- Report it with
bug <description>if it persists
Data Recovery¶
Roll Back an Update¶
Before an update, the installer backs up the components it replaces. Since 0.3.112 the backup also copies the node's own data folder: its databases, its key files and its KERI stores. The Tor and Veilid data are backed up when their own components update, the old IPFS data is in no backup, and stored media is never in a backup, so a note you delete stays deleted.
The backup is made while the node runs. An update refuses to start when the disk has no room for the backup plus 64 MB, and
a backup that fails stops the update before anything changes. update --no-backup skips the backup, and then a failed update
cannot be rolled back.
rollback puts the previous software back. It does not touch the node's data.
~/.local/share/kunuleco/venv/bin/python3 -m kunuleco_installer rollback --list
~/.local/share/kunuleco/venv/bin/python3 -m kunuleco_installer rollback --backup-id <backup_id>
Restore the Node's Data¶
restore-data puts a backup's node data back. Stop the node first.
~/.local/share/kunuleco/venv/bin/python3 -m kunuleco_installer restore-data [--backup-id <backup_id>] [--yes] [--include-keys]
- It refuses while the node appears to be running, and says why, for example
Not restored: the node appears to be running (something answers on the node's client port 8123); stop it, then restore. It also asks you to confirm the node is stopped, unless you add--yes. - Without
--backup-idit takes the newest backup that holds node data, and names its id, time, reason and versions before it asks. Backups made before 0.3.112 hold no node data. - It backs up the current data first and names that backup when it finishes. To undo the restore, run
restore-dataagain with that id before the node starts. - When the node next starts, it drops the bytes of any media note the restored data does not name, so notes added since the backup lose their bytes.
- Key history (your own accounts' key events, and the key histories your node has seen from peers) stays as it is unless
you add
--include-keys. Restoring it undoes any key rotation made since the backup, and peers that saw the newer key would see a fork.
Start Fresh¶
Run /reinstall in the Urchin client first. It reinstalls every component.
If Urchin will not launch at all, delete the Kunuleco directory and launch Urchin again, and setup runs from the start:
- Windows:
%LOCALAPPDATA%\Kunuleco - macOS:
~/Library/Application Support/Kunuleco - Linux:
~/.local/share/kunuleco, or$XDG_DATA_HOME/kunulecowhenXDG_DATA_HOMEis set
Warning: Deleting that directory deletes your identity and everything on the node. Export your identity first.
The installer's uninstall removes the components and keeps identity keys unless you add --force. --dry-run shows
what it would delete.
Export Before a Reset¶
The node writes the backup into your account's backups folder on that node. See Identity Management. There is no command to export places, capsules or objects.
Getting Help¶
Collect Diagnostic Info¶
bug saves a snapshot of the node's state as a local JSON file in a bugs/ folder under the node's data directory.
It sends nothing. In the Urchin client, /bug <description> saves the client's side as well. Keep the files and the
node's logs, and send them when we ask (see Where to Report).
Report an Issue¶
- Collect diagnostics (above)
- Describe what you were doing
- Include error messages
- Send it to the project's account with
tell Kunuleco#0D80Y2 <what happened>, after adding it once withcontacts add Kunuleco#0D80Y2
Common Error Messages¶
| Error | Meaning | Solution |
|---|---|---|
User name or password not recognized. |
The name has no account on this node, or the password is wrong. The reply is the same for both | Check both. See Can't Sign In |
Too many failed attempts. Try again in <N>s. |
Repeated failed sign-ins from your address or at your account | Wait, then check the password. See Sign-in Limits |
Your account identity is locked; restore it from a backup. |
The password was right, and your identity store on the node will not open | Tell the node's operator. See Identity Locked |
That name looks the same as an account already on this node. Choose another name. |
At sign-up, the name is a look-alike of an existing account's name | Choose another name. See Hosted Halls for how names are compared |
Error: '<name>' mixes <scripts> letters. ... |
A Hall or room name mixes writing systems, such as Cyrillic and Latin | Write the name in one script |
Error: '<name>' cannot be a Hall name: ... |
The name has a space or other whitespace, is longer than 59 characters, or has a misplaced : |
Use one word, such as my-hall |
Error: '<name>' cannot be a Hall name: it carries a control or invisible format character ... |
0.3.0 or later. The name holds a character that could redraw a terminal or hide text, shown in the reply as a backslash code such as \u200b |
Type the name without it. See Names the node cannot host |
Board '<id>' has a stored name carrying control or format characters, which this version refuses to show; ... |
0.3.0 or later. The board was named before the rule | Its owner deletes the board and makes it again |
Could not connect to <name>: their node asked to be dialled again the other way round, and this connection could not do that. |
0.3.0 or later. The other node runs a release that asks to be dialled in the opposite direction, which a 0.3.0 node never asks | Update both nodes to the same release |
<name> is busy checking names right now. Try again in a moment. |
0.3.0 or later. The other node is checking names for many hellos at once, or for many new names from one identifier | Try again shortly. See When a Join Does Not Connect |
Another account on this node is already connected to <name>, ... or ... the only connection to <name> on this node belongs to another account, ... |
0.3.0 or later. Another person signed in on your node holds the one connection to that node, and it carries only their account | Wait for it to close. See Known Issues |
Kunuleco will not start: <path> holds data from before BREAK1, ... |
The data directory holds state from a release before 0.2.236 | Move or delete that folder. See The Node Refuses Data From Before BREAK1 |
Not delivered to: <member> (no route to them right now). |
Your line reached the Hall, and the node had no transport to the members named | Nothing to fix on your side. They miss that line. See Hosted Halls |
This backup was made before this network's identity reset, so it cannot be restored here: start a new identity on this node. |
The backup was made before 0.2.236, which reset every identity | Create a new account. See Import Identity |
This backup was made by a later version of Kunuleco, so this node cannot restore it: ... |
The backup came from a newer release than this node | Update Kunuleco, then import again |
Your key changed, but this node has not caught up with it, so it will sign nothing for you until you sign in again. |
0.2.246 or later. rotate confirm changed the key, and the node's own record of your key history did not follow |
Sign out and sign in again. See Change Your Key |
This account's last restore stopped because the later keys were not its backup's, so it signs nothing until a backup whose later keys are its own is restored. |
0.2.246 or later. A restore met later keys that the backup's secret did not produce, which is what someone holding only your next key would cause | Restore a backup whose later keys are its own. See Restoring an Older Backup |
<name> is running a Kunuleco release this one cannot talk to. Both sides need the same release. |
The two nodes are on opposite sides of a break, such as 0.3.0 against 0.2.248 or earlier, or 0.2.246 against 0.2.245 or earlier. The client shows <name> could not be reached (unknown protocol). |
Update both nodes to the same release. See Known Issues |
<name> is running an older Kunuleco that this release no longer talks to. They need to update. |
0.3.100 or later. The other node runs a release whose wire this one has retired, such as 0.3.0 | The other node's operator updates it. See Known Issues |
<name> is running a newer Kunuleco. Update Kunuleco to reach them. |
0.3.100 or later. The other node runs a release this one does not know yet | Update this node with /update |
Could not connect to <name> safely: the connection was pushed onto an older version of the network protocol than both sides speak, so it was closed. |
0.3.100 or later. Both nodes speak a newer version, and something on the path forced them onto an older one. A node refuses that so nobody can strip a protection the newer version adds | Try again. If it repeats, the network path between the nodes is interfering |
Could not connect to <name>: their node sent a greeting this release cannot read. |
0.3.100 or later. The other node's greeting listed its versions in a form this node refuses | Check that both nodes run a released build |
Sign-up could not check that name just now. Please try again in a moment. |
0.3.100 or later. The node could not read its own account list to check the name, so it refused rather than risk a duplicate or look-alike account (AUTH-118) |
Try again in a moment. If it repeats, the node's operator checks node.log |
Error: no authenticated user. Login first. (from export-identity, while signed in) |
The node is on 0.2.246 or earlier, where the export refused every signed-in account | Update the node to 0.2.247 or later, then export again |
This backup needs more memory to open than this node allows ... |
The backup was made at a higher KDF profile than this node runs, such as any backup made on 0.2.247 | Start the node with KUNULECO_KDF_PROFILE=sensitive for the restore, on a machine with about 1 GiB free. See Import Identity |
Another identity backup or restore is in progress on this node; try again when it has finished. |
A node makes or opens one backup at a time | Wait, then try again |
Decryption failed. The passphrase is wrong, or the file is corrupted. |
The import passphrase does not open the backup | Check the passphrase and its base64 encoding |
Not imported: an import of yours failed less than 10 seconds ago, ... |
0.3.0 or later. Your last import failed under 10 seconds ago | Wait a few seconds, check the passphrase, and try again |
Error: Username must be at most 64 characters. |
The sign-up name is too long | Choose a name of 2 to 64 letters and digits |
| <name> is running an older Kunuleco, is not a Kunuleco node, or has this transport switched off. If it is an older release, both sides need the same release to connect. | The other node is on 0.2.235 or earlier, is not Kunuleco, or (since 0.3.102 the reply says so) has this transport switched off, such as Tor. The client shows <name> could not be reached (older node). | Both sides need 0.2.236 or later. See Connecting Nodes |
| Could not find <name#disc>. They are not reachable by name. Ask them for an invite. | 0.3.101 or later. The person has not turned on findable, and your node found them no other way | Ask them for an invite line, or ask them to run findable on confirm |
| WARNING: the record found for <name#disc> names a different identity than the one you know. Not connecting. | 0.3.101 or later. The name's findable record names another identity than the one your node already holds for that name | Check with the person by another route before you trust either |
| Error: this invite's routing hints are damaged (<cause>: <detail>). Ask for the invite again. | The tor= or vdht= part of the invite line was damaged in transit | Ask for the invite line again and paste it whole |
| Invite code '<code>' was refused: <why>. | The short code's record did not check out, so nothing was dialled | Ask for the invite line instead |
| The node at <host> now answers with a different node key. ... | The node was reinstalled or reset, or someone on the network path is posing as it | Compare the fingerprint with its operator by another route. See Connecting Nodes |
| Session expired before sign-in. Reconnect to continue. | The connection sat too long before signing in | Reconnect (/reconnect in the client) |
| This is the node's own account. It cannot be signed into. | You tried to sign in as the node user | Sign in with a person's account |
| Veilid not available (is veilid-server running?) | The node's Veilid is not running | Check @node_processes and veilid-daemon.log |
| Tor not available (is tor running?) | The node's Tor is not running | Check @node_processes and tor-daemon.log |
| Invite code '<code>' not found or expired | The short code no longer resolves | Ask for the full invite line |
| <name> is not online. | The person is not signed in on their node, has blocked you, or does not know you yet (since 0.3.109 a stranger reads this whether they are signed in or not). The reply is the same for all three | Try later, or ask them for an invite. If your node knows who they are, a whisper with tell reaches their mailbox either way. Since 0.3.110 finding them by name is enough |
| Reached the node <node>, not <name>. Ask them for an invite. | Your dial reached their node's front desk, which cannot tell who you wanted | Ask them for an invite, which carries their identifier |
| Reached <identity>, not <name>. | A different identity answered where you expected this person | Ask the person for a new invite. Your node does not follow a name to a different identity |
| Error: '<word>' is not a host identifier. ... | The invite's third word was damaged in transit | Paste the whole invite line again, or ask for it again |
| Error: the host of <presence> did not let you in. Cannot join '<presence>' now. If '<presence>' is here and takes requests, yours is waiting for its keepers. | A closed door, or a name the host does not have. The reply is the same for every case, so it does not say which. At a knock door your request is queued | Ask someone in the place for an invite, or wait for its keepers |
| Error: the host of <presence> did not let you in. followed by any other reason | The host refused you and said why, for example because it rejected or removed you before | Read the reason, and ask the owner |
| No short code this time: <why>. The invite string above is the one to share. | The node made no short code for a Hall or shared room: you do not keep its door, its door is invite_only or members_only, or the hour's limit is used | Share the invite string instead |
| This node could not verify your identity. Your password was accepted; the problem is on the node. Check its logs or contact its operator. | The node could not open your identity, so it refused the sign-in. It does not count toward the lockout | Tell the node's operator. The client words it as a node-side problem |
| The node at <host> is showing a different certificate from the one it showed when you first connected. ... | The client pinned this node on first use, and the certificate changed | Press CHECK WHAT CHANGED on the connect screen, and confirm with the operator by another route |
| Only the owner of '<presence>' can change its door. | You don't own that presence | Ask its owner |
| Can't block '<name>' yet: this node has never verified who that is, it has only dialled them. Nothing was blocked. | No signed hello from that person yet | Try again after they connect |
| Capability denied for <method>: reference revoked | Your access was revoked | Ask the capsule's owner |
Related¶
- Transports Guide: transport checks
- Identity Management: identity issues