Skip to content
Unne

Error Codes

Unne uses standardized error codes prefixed with STATUS_UNNE_.

Error Code Reference

CodeDescription
STATUS_UNNE_AUTH_FAILEDInvalid or expired authentication token
STATUS_UNNE_SUBDOMAIN_TAKENRequested subdomain is already in use
STATUS_UNNE_PROTOCOL_ERRORHandshake protocol error (malformed request)
STATUS_UNNE_TUNNEL_LIMITMaximum tunnel limit reached for your account
STATUS_UNNE_PROTOCOL_DENIEDYour account is not allowed to use this protocol
STATUS_UNNE_TRAFFIC_EXCEEDEDTraffic limit exceeded for the current period
STATUS_UNNE_DEVICE_LIMITMaximum device limit reached for your account
STATUS_UNNE_USER_DISABLEDYour user account has been disabled by admin
STATUS_UNNE_TOKEN_DISABLEDThis token has been revoked or disabled
STATUS_UNNE_PORT_UNAVAILABLERequested TCP port is unavailable
STATUS_UNNE_SERVER_ERRORInternal server error

HTTP Error Pages

When accessing a tunnel via browser, the server shows styled error pages:

PageHTTP StatusWhen
Warning200First visit from browser (confirmation required)
Not Found404Tunnel/subdomain doesn't exist
Offline502Tunnel exists but upstream is unreachable
ErrorVariesGeneric error with code and description

Legacy Error Codes

For backward compatibility with older servers:

LegacyNew Code
UNNE_ERR_403STATUS_UNNE_AUTH_FAILED
UNNE_ERR_102STATUS_UNNE_SUBDOMAIN_TAKEN
UNNE_ERR_101STATUS_UNNE_PROTOCOL_ERROR