Troubleshooting
What each xInfra error message means and how to fix it, for SSH, Telnet, SNMP v1/v2c/v3, jump hosts, proxies and TLS.
When a connection fails, xInfra shows a short reason (for example "Authentication failed for admin") and a button that opens the setting to fix. Test Connection in the device editor runs the same checks without opening a session. Find the message below.
Network errors
Local Network access is off
iOS is blocking xInfra from reaching devices on your LAN. Turn it on in Settings ▸ Privacy & Security ▸ Local Network ▸ xInfra. iOS asks for this the first time the app talks to a local address; if you tapped Don't Allow, it stays off until you change it there.
Host name not found
The name doesn't resolve. Check the spelling and your DNS. Short names like core-sw-01 only work if your network or VPN sets a search domain; otherwise use the full name or the IP address.
No response on TCP 22 / Timed out
Nothing answered. Check the address, that you are on the right network or VPN, and that no firewall or ACL drops the traffic. Use Ping and Port scan to see what is reachable.
Port 22 refused the connection
The host is up but nothing listens on that port, or a firewall rejects it. Check the port and that SSH (or Telnet) is enabled on the device. On Cisco IOS, SSH needs a hostname, a domain name, an RSA key (crypto key generate rsa) and transport input ssh on the VTY lines.
Host unreachable
Your iPhone or iPad has no route to the host. Check Wi-Fi, the VPN and routing.
Connection closed
The device closed the session. Many devices limit concurrent sessions (VTY lines) or drop idle sessions. Close other sessions, or raise the limit on the device.
SSH errors
Authentication failed for <user>
The server rejected the user name, password or key. Check all three. On network devices, also check AAA (TACACS+/RADIUS) and that the user is allowed SSH access.
Server accepts keys only
The server has password login turned off. Add a key to the device in xInfra (generate one, then put the public key on the server). See SSH keys.
Server requires keyboard-interactive
The server only offers keyboard-interactive login, often because it uses two-factor authentication. In the device editor, set Authentication to MFA so xInfra shows the server's prompts.
Two-factor sign-in required
The server asks for a second factor. Connect and answer its prompt (code, push approval or similar). Sessions that need a second factor are not restored automatically after a relaunch.
Private key couldn't be used
The key is in a format xInfra can't read, or the passphrase is wrong. Check the passphrase, or import the key in OpenSSH or PEM format (ssh-keygen -p -m PEM -f key converts an existing key).
Host key not trusted yet
This is the first connection to this server. Compare the fingerprint with the one on the device (for example show crypto key mypubkey rsa on Cisco or ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub on Linux), then trust it.
Host key has changed
The server's key differs from the one you trusted before. That happens after a reinstall, a supervisor or RMA swap, or a new key, but it can also mean someone is intercepting the connection. Check with the device owner before you trust the new key. Known hosts are in Settings ▸ Known Hosts.
Jump host unavailable
xInfra couldn't connect through the jump host. Open the jump host as a device on its own and fix that connection first.
Proxy refused the connection
The SOCKS5 proxy rejected the connection. Check the proxy address, port, user name and password.
SNMP errors
SNMP runs over UDP, so most problems look like silence rather than an error.
No response on UDP 161
Nothing answered. For v1/v2c check, in this order: the community string, the SNMP version, the device's SNMP ACL (it must allow your iPhone's address, or the VPN address), and that SNMP is enabled on port 161. A wrong community on most devices is silently dropped, so it shows up as a timeout, not as an authentication error.
For v3, check the user, security level and protocols. Many agents silently drop requests they can't decrypt, so a wrong privacy password also looks like a timeout.
The community string was rejected
The device answered but refused the community. Check it and the SNMP ACL.
Unknown SNMPv3 user
The agent has no user with this name. User names are case-sensitive.
Wrong auth password or auth protocol
The authentication digest didn't match. Check the auth password and that the protocol (MD5, SHA-1, SHA-256…) matches the device.
Wrong privacy password or protocol
Decryption failed. Check the privacy password and protocol. For AES-192 and AES-256, try the other variant: if you picked AES-256, try AES-256 (Cisco), and the other way round. See SNMPv3.
Security level not allowed for this user
Pick the level the user is configured with: noAuthNoPriv, authNoPriv or authPriv. On Cisco, a group created with v3 priv requires Auth + Privacy.
Not in the agent's time window
The agent's engine boots and time didn't match. Try again; xInfra re-syncs once automatically. If it keeps failing, check the auth password, or the device was restarted and reused its engine ID.
Unknown SNMP engine ID
Clear the Engine ID field so it is discovered automatically, or enter the device's engine ID exactly.
Unknown SNMPv3 context
The agent has no context with this name. Check it, or leave Context empty.
Response failed authentication
The agent's response didn't verify with your keys. Check the auth password and protocol.
Security settings not supported
The device doesn't support the selected authentication or privacy protocol. Pick the ones it is configured with.
Object not found
The agent has no such object (noSuchObject, noSuchInstance or endOfMibView). Check the OID, or walk its parent. Over SNMPv1, 64-bit counters such as ifHCInOctets are never returned; use v2c or v3.
Other
TLS handshake failed
In the HTTP & TLS check: the certificate may be expired, self-signed or issued for another name. The check shows the certificate chain so you can see which.
Sessions disconnect when I switch apps
iOS suspends apps in the background, which ends their network connections after a short time. xInfra can restore your sessions when you come back (Settings ▸ Restore Sessions After Relaunch). For long-running jobs on a server, run them in tmux or screen so they survive a disconnect.
Still stuck?
Contact support with the exact error text, your iOS version, and the device vendor and OS version.