Docs · Help
Troubleshooting
First stop for anything: the log, logs/otdeck.log in the app directory
(macOS ~/Library/Application Support/OTDeck, Windows %AppData%\OTDeck,
Linux $HOME/.config/OTDeck; the Microsoft Store version keeps it in
%LocalAppData%\Packages\<OTDeck package folder>\LocalCache\Roaming\OTDeck,
because Windows redirects a Store app’s %AppData%). Start OTDeck with OTDECK_DEBUG=1 in the
environment for debug lines (also printed to the terminal). Passwords and
licence keys are never logged.
Installing and starting
Windows: “Windows protected your PC”. The installer is not code-signed yet. Click More info → Run anyway. The Microsoft Store build (when it is listed) is signed by Microsoft.
Linux: the window stays empty or the app does not start. OTDeck needs
GTK 4.14+ and WebKitGTK 6.0 (Debian 13, Ubuntu 24.04, Fedora 40 or later).
The .deb and .rpm pull them in; for the tar.gz:
sudo apt install libgtk-4-1 libwebkitgtk-6.0-4 or
sudo dnf install gtk4 webkitgtk6.0. Older distributions (Ubuntu 22.04,
Debian 12) do not ship WebKitGTK 6.0.
Linux: “keychain unavailable, secrets fall back to a file”. No Secret
Service (GNOME Keyring, KWallet) is running, for example on a minimal or
headless system. OTDeck then keeps passwords in secrets.json in the app
directory, readable only by you (mode 0600). Start a keyring to use it
instead.
Simulator
“The simulator could not start: … address already in use”. Another program listens on one of its ports: 1883, 8083 or 8883 (MQTT: often a local mosquitto), 5020 (Modbus) or 4840 (OPC UA: often another OPC UA server). Stop it, or connect OTDeck to that program instead. Nothing of the simulator keeps running after a failed start.
After restarting OTDeck the OPC UA connection asks to trust the certificate
again / the MQTT TLS connection fails. The simulator makes new
certificates on every start. Trust the new OPC UA thumbprint, and pick
sim-ca.pem from the app directory again for MQTT over TLS.
MQTT
“x509: certificate signed by unknown authority”. The broker’s certificate is not issued by a CA your system trusts. In the connection, transport TLS (mqtts://) or WebSocket + TLS (wss://), set CA certificate to the CA’s PEM file (it is added to the system’s CAs, not used instead of them). If the broker is reached by another name than the one in its certificate, set Server name (SNI). Skip certificate verification exists for lab brokers only; never use it on a production network.
“x509: certificate is valid for …, not …”. The host you typed is not in the certificate. Use the name in the certificate, or set Server name (SNI) to it.
Client certificate login. Client certificate and Client key are PEM files; an encrypted key needs Key passphrase.
“broker sent a N-byte packet, over the M-byte limit”. OTDeck closes the connection before reading a packet over the limit. Raise Settings → General → Max payload kept, KB if such messages are expected.
The connection is taken over / another client drops. Two clients with
the same Client ID kick each other off. Leave Client ID empty for a
random otdeck-… id; otdeck-mcp and Test connection never reuse a fixed one.
Modbus
Modbus RTU: permission denied on /dev/ttyUSB0
On Linux the serial port belongs to the dialout group (uucp on Arch):
sudo usermod -aG dialout $USER
Log out and in again (or reboot) for the group to apply. Find serial
ports lists /dev/ttyUSB*, /dev/ttyACM* and /dev/ttyS*. On Windows
use the COM port from Device Manager; on macOS /dev/cu.usbserial-….
Timeouts on RTU. Check baud, parity, data and stop bits against the device (8N1 and 8E1 are the usual), the unit id, and the A/B wiring of the RS-485 pair; raise Timeout, ms for slow devices. RTU has not been tested on a real RS-485 line yet; please send what you find.
“exception 2” (illegal data address). The range goes past the device’s table. Addresses are 0-based protocol addresses: reference 40001 is holding register 0.
“exception 11” (gateway target failed to respond). A gateway answered but the unit id behind it did not. Check the unit id.
Modbus: a serial gateway never answers (Moxa, USR, ADAM)
Look at the gateway’s operating mode on its web page:
- “Modbus gateway”, “Modbus TCP to RTU” or “Modbus TCP server”: the gateway converts the protocol itself. Choose Mode Modbus TCP, port 502 (or the one set there).
- “RTU over TCP”, “TCP server”, “transparent” or “raw socket”: the gateway passes the serial bytes through unchanged. Choose Mode Modbus RTU over TCP (gateway) and the gateway’s data port (Moxa NPort: 4001 for the first serial port). Modbus TCP to such a port gets no answer, or garbage the gateway forwards to the RS-485 line.
- “UDP” in the same transparent mode: choose Modbus RTU over UDP.
- A PLC or module that speaks Modbus UDP (the Modbus TCP frame over UDP): choose Modbus UDP.
Behind an RTU gateway the serial settings (baud, parity, stop bits) are set in the gateway, not in OTDeck; they must match the devices on the line. A unit id nobody has gives a timeout, not exception 11, as on a serial line. Raise Timeout, ms for long lines or slow devices: the gateway’s own serial timeout adds to the network’s.
Modbus UDP or RTU over UDP: timeouts only. Check that the device really listens on UDP (a TCP port open in a scan says nothing about UDP) and that no firewall drops the replies; on Windows allow OTDeck for private networks, as for BACnet.
Numbers look like garbage. Try another byte/word order (ABCD, CDAB, BADC, DCBA) or data type. A float32 in CDAB read as ABCD is the classic case.
OPC UA
“connection refused: nothing listens on this host and port”. Wrong host or port (4840 is the default), or a firewall. Check the endpoint URL and use Discover to list what the server offers.
“the server offers no Basic256Sha256/SignAndEncrypt endpoint”. Pick a policy and mode from Discover’s list.
OPC UA: BadSecurityChecksFailed or BadCertificateUntrusted
The server does not trust OTDeck’s client certificate yet. Settings → OPC
UA certificates shows the file (pki/own/cert.der in the app directory);
copy it into the server’s trusted folder or accept it in the server’s UI
(many servers move a new client certificate to a “rejected” list first),
then connect again.
OTDeck asks to trust the server certificate. Compare the SHA-1
thumbprint with the one on the server (its certificate settings) before you
trust it. Trusted server certificates are kept in pki/trusted; with Pro,
Settings → OPC UA certificates lists, imports (DER or PEM) and removes them.
OTDeck matches the certificate itself (thumbprint), not CA chains or CRLs.
“login refused: check the username and password”. The server refused the user token. Certificate user login is not supported yet.
BACnet
“no answer from the device (timeout)”. Check the address, that the device is on this subnet (or reachable through its BBMD), and that the firewall lets UDP 47808 in and out (answers come back to OTDeck’s port 47808). On Windows, allow OTDeck for private networks.
Windows: devices never answer, but the simulator on 127.0.0.1 does.
The first BACnet connection makes Windows show a “Windows Security” prompt
for otdeck.exe. If that prompt was closed or cancelled, Windows adds
rules that block OTDeck, and no device on the network can answer (loopback
is not affected, so the simulator still works). To allow OTDeck:
- Open Settings → Privacy & security → Windows Security → Firewall & network protection → Allow an app through firewall.
- Click Change settings, find OTDeck and tick Private (and Public only if the plant network is marked public).
- If OTDeck is not in the list, or is listed twice with one entry
unticked, choose Allow another app…, pick
otdeck.exefrom the install folder, and tick the networks again.
In Windows Defender Firewall with Advanced Security, inbound Block rules for OTDeck take precedence over Allow rules: delete them. OTDeck’s “no answer” message and an empty Discover say this on Windows too.
“UDP port 47808 is taken by another BACnet application”. Only one program can bind 47808: stop the other (YABE, a BMS client) or set another Local UDP port in the connection and add devices by address (broadcast answers go to 47808 only).
Discover finds nothing on a computer with several networks: set the Local interface or address of the connection (or of the Who-Is in Find devices) to the one on the BACnet subnet. Devices on another IP subnet need the subnet’s BBMD. More in BACnet guide.
BACnet notifications do not arrive
You added OTDeck with Receive notifications here, an alarm shows in the Active list, but nothing appears under Notifications (after 5 minutes the Active list says so). The device sends to the address in its Recipient_List, from its own UDP port to OTDeck’s: anything that drops unsolicited UDP in between stops it.
- Firewall on this computer. macOS asks the first time a notification
arrives: choose Allow. On Windows, allow OTDeck for private networks when
Windows Defender Firewall asks (or add an inbound rule for UDP 47808, or
the connection’s local port). On Linux with
ufw:sudo ufw allow 47808/udp. - NAT or a virtual machine. The address in the list must be the one the device can reach. Under NAT (a VM on a NAT network, a router between the laptop and the plant) the device cannot reach OTDeck: use a bridged network, or test by polling (the Active list and the Alarms key need no notifications).
- The address changed. DHCP, a VPN or another network card gives the laptop a new address: the Recipients sub-tab marks OTDeck’s old entry old address; use Update address.
- Behind a BACnet router. A device on MS/TP behind a router needs a recipient with a network number; add OTDeck in the head-end.
- Check the device sees OTDeck. The Recipients sub-tab reads the Recipient_List again; OTDeck’s entry must be there with the address shown at the top of the sub-tab.
Before leaving the site, remove OTDeck from the lists it was added to: the Alarms tab reminds you while an entry is there.
Licence
“Offline activation is not configured in this build.” A development build; release builds carry the activation key.
“This response file was made for another computer”, “…does not answer this computer’s latest request”. Make a new request on this computer and import the response to that newest request.
The badge shows Free although a key is active. Settings → Licence says why: a Pro key whose year of updates ended before this version was released, a key refused by Polar, or an online key unchecked for more than 30 days. Check now retries.
AI agents
The agent does not see the otdeck tools. Check the path (Settings → AI
agents), restart the agent after editing its config, and run
otdeck-mcp -version in a terminal.
“the server certificate of … is not trusted yet” from an agent. Connect to that OPC UA server once in the app and trust it; otdeck-mcp never accepts certificates by itself.
trend_snapshot: “the trend panel is empty or the OTDeck app is not running” or “the OTDeck app last shared its trend panel … ago”. It needs OTDeck open with series on the trend panel (the app shares it every 2 s).
Reporting a problem
Send the OTDeck version (sidebar, bottom), your OS, the protocol and device
or broker, and the relevant lines of logs/otdeck.log to
support@otdeck.com.