Troubleshooting
Where to look first
Section titled “Where to look first”| What | Where |
|---|---|
| Usage tracking log | %LocalAppData%\<Company>\Plugboard.Tracking\logs\plugboard-tracking.log (rolled over at 1 MB; one older file plugboard-tracking.1.log) |
| Unsent events (offline buffer) | %LocalAppData%\<Company>\Plugboard.Tracking\queue\, one *.events.json file per failed send |
| Which settings apply | The log line tracking as '<tool>' <version>, on|off, and an Applied <file> line for each override file |
| Build problems | Build warnings UT000–UT004 from the Plugboard.Tracking.Core package |
<Company> is the company folder the library uses on that PC.
Invalid or revoked API key
Section titled “Invalid or revoked API key”The log says The API key was rejected … and sending stops until the plugin or tool starts again.
The events are kept in the offline buffer.
- In Plugboard, open API key and check that the key is active. If it was regenerated, every plugin needs the new key.
- Put the new key in
plugboard-tracking.jsonand rebuild, or, without a rebuild, in aplugboard-tracking.override.jsonnext to the DLL or EXE (see Override file). - Start the plugin again. Buffered events go out with the current key, so events from before the key change still arrive.
No network
Section titled “No network”The log says Sending to … failed (no response …). Nothing is lost: events wait in the offline
buffer (up to 10 MB per endpoint, oldest dropped first) and are sent on the next start or once the
connection is back. The wait between attempts doubles from 30 seconds up to 1 hour.
Plugins with plugin login keep working offline with their signed token until the login expires. After that, the user has to sign in again while online.
Wrong endpoint
Section titled “Wrong endpoint”The log says The usage events API was not found … (HTTP 404). Check endpoint in
plugboard-tracking.json. It must be the full URL of the usage events API; see
HTTP API.
No events and no log file
Section titled “No events and no log file”Tracking didn’t start:
- Look for build warning
UT004: the project uses C# older than 9. Add<LangVersion>9.0</LangVersion>to .NET Framework projects. - Make sure
PlugboardTrackingModuleInitializerisn’t set tofalse, or callPlugboardTracker.InitializeAssembly(...)yourself. The assembly has no embedded plugboard-tracking.json: check build warningsUT001–UT003and that the project references the package.
Events arrive late
Section titled “Events arrive late”Events are sent every flushIntervalSeconds (default 30 s); the first batch goes out 5 seconds after
the first event. On exit, a last flush runs for at most 2 seconds and the rest is saved for the next
start.
Version not recognised or blocked
Section titled “Version not recognised or blocked”Plugboard identifies a plugin build by the SHA-256 hash of its DLL (or EXE). The login window then says the version is blocked or not recognised.
- Not recognised: that exact build was never uploaded. Upload it as a version of the application (see Versions and updates). Every build you ship needs uploading, even a rebuild of the same source.
- Blocked: an admin blocked that version. Install a newer release, or unblock the version.
PluginAssemblyin the login options must be the plugin’s own assembly, so that its hash matches the uploaded file.
Messages in the login window
Section titled “Messages in the login window”The login window explains the common cases: wrong email or password, account not allowed to use the plugin, plugin version blocked or not recognised, logging in disabled for the plugin, server unreachable, too many attempts, and an expired two-factor or browser step.
- All log messages and fixes: Configuration and events → Troubleshooting
- How sending, retries and the buffer work: Sending