Runtime diagnostics and management
CZUR Open SDK Runtime communicates with local devices and processing services. The CLI and Runtime are installed separately. Diagnostics work without account sign-in, so check connectivity before investigating authorization or business operations.
Check connectivity
czur-open doctor
czur-open doctor --jsonThe default checks use HTTPS health endpoint https://sdk-runtime.localhost:18082/healthz and WSS command endpoint wss://sdk-runtime.localhost:18090, with a 3000-millisecond timeout per check. The JSON report includes status and checks; each check includes its name, pass/fail indicator, message, and elapsed time.
healthy means connectivity checks passed, not that your account, device activation, or OCR service is ready. doctor does not install software, sign in, or scan. Once connectivity works, run czur-open auth check separately to verify your selected authorization.
Download and install manually
czur-open runtime install
czur-open runtime install --jsonThe command selects an installer for your system and architecture from official release metadata, verifying the metadata and downloaded file digest. It stops when verification fails or verifiable release information is unavailable, rather than running an unknown installer. To select a particular version, use --version with an exact semantic version, not latest or a version range.
Successful results have status set to downloaded or cached, installerPath pointing to the prepared local installer, and version identifying its version. This means the installer is ready, not that Runtime is installed or running. Ordinary mode tries to reveal the installer location in the system file manager without launching the installer. --json never opens the file manager. Install manually, start Runtime, and complete certificate trust as required by your system, then run doctor again.
An unsupported system/architecture returns unsupported; other download or verification problems return failed. Follow nextSteps and diagnostics instead of disabling verification. Prepare a platform-matched installer and authorization before deploying offline.
Check Runtime updates
czur-open runtime check-updates --json
czur-open runtime check-updates --refresh --jsonThe check reads the local Runtime version and compares it with a signed release manifest. It may use a valid cache; --refresh bypasses the fresh manifest cache to retrieve release information again. Checking only reports results: it does not download, install, or restart Runtime. This command defaults to a 5000-millisecond --timeout.
status | Meaning and next action |
|---|---|
update_available | A newer compatible version exists; review its release information before explicitly preparing an installer |
no_update | No compatible release newer than the current version was found |
unknown | The current version or comparison could not be determined; does not mean Runtime is missing or must be upgraded |
unsupported | No update distribution is available for the platform |
failed | The check failed; investigate network, certificate, or release metadata diagnostics |
Reports may include currentVersion, latestCompatibleVersion, source, checkedAt, reason, and nextSteps. unknown and unsupported can return exit code 0, so automation must still inspect status.
Upgrade the CLI with npm install -g @czur/open-cli@latest. Updating Runtime requires a separate runtime install download followed by manual installation. Their version numbers need not match. Finish active device sessions and processing tasks before updating, then recheck connectivity and authorization.
Custom connections and certificates
Override connections only when your administrator supplies different local or private-network endpoints:
czur-open doctor --health-url "https://sdk-runtime.localhost:18082/healthz" --command-url "wss://sdk-runtime.localhost:18090" --ca-file "./certificates/runtime-ca.pem" --timeout 10000 --json| Option | Scope |
|---|---|
--health-url | HTTPS health check in doctor only |
--command-url | doctor, runtime check-updates, and business commands accepting connection options |
--ca-file | Trust an administrator-provided CA file; does not disable TLS verification |
--timeout | Positive integer milliseconds per check/request, not the total OCR task deadline |
runtime install does not accept these connection options. Overriding one command does not configure subsequent commands; pass the relevant options to each supported command. There is no CLI --insecure option. MCP-specific environment variables are not CLI connection settings.
Troubleshooting order
- Confirm Runtime is installed and running using its application or system tray status.
- Inspect the failing
doctorcheck and confirm proxies or firewalls are not blocking local endpoints. - For certificate failures, fix system trust or provide the correct
--ca-file; do not disable verification. - If connectivity works but operations fail, run
auth checkand inspect device discovery. - For download failures, retain diagnostics and check connectivity, disk space, and platform support. A successful download is not a completed installation.
Return to installation and upgrades or see Command Reference.