Troubleshooting a Device
When a device encounters a problem during its scan cycle, Koios records three pieces of diagnostic information:
- Error Code — a category that identifies what kind of failure occurred
- Error Message — a short description of the problem (e.g. "Failed to connect")
- Error Detail — additional context, typically the underlying exception or system message that caused the failure
Together, these three fields tell you what went wrong, why, and where to start investigating.
Where Errors Appear
Device Detail Page
On a device's Overview tab, the status hero banner at the top shows the current state. When a device is in a Failed state, a red error strip appears below the status showing the error message and error detail. You can click this strip to copy the full error text to your clipboard.
Device List
In the device list table, each device shows a colored status icon. When a device has failed, hovering over the red icon displays the error message as a tooltip.
Parameters Tab
All three error fields — error code, error message, and error detail — are also visible in the Parameters tab under the Live Data section, alongside other real-time values like heartbeat and scan progress.
Error Codes Reference
Each error code corresponds to a specific stage in the device's scan cycle. When Koios reports an error code, the accompanying error message and error detail provide the specifics.
Connection Errors
Scan Cycle Errors
Initialization Errors
Data Storage Errors
Housekeeping Errors
License Errors
Testing a Connection
You can test a device's connection without enabling it or saving configuration changes. On a device's Configuration tab, each protocol section includes a Test button.
How It Works
- Open the device's Configuration tab
- Fill in or edit the connection parameters (hostname, port, credentials, etc.)
- Click Test — Koios attempts a one-time connection to the device using the current form values
The button shows the result:
When to Test
- During initial setup — verify the connection before enabling the device for the first time
- After changing connection parameters — confirm the new settings work before saving
- When troubleshooting — confirm whether the device is reachable on the network
How Errors Are Resolved
Errors clear automatically when the device completes a successful scan. You don't need to manually acknowledge or dismiss them — once the underlying issue is resolved (e.g. the device is back online, credentials are corrected, or a tag is fixed), the next successful scan resets the error code to None and clears the error message and detail.
If a device is stuck in a failed state:
- Check the error message and error detail for specifics
- Review the device's logs (on the Logs tab) for more context — set the log level to Debug for maximum detail
- Verify the device's connection parameters on the Configuration tab
- Use the Test button to verify the connection without enabling the device
- Try toggling the device off and on with the Enabled switch
