Skip to content

Troubleshooting

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.

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.

  1. In Plugboard, open API key and check that the key is active. If it was regenerated, every plugin needs the new key.
  2. Put the new key in plugboard-tracking.json and rebuild, or, without a rebuild, in a plugboard-tracking.override.json next to the DLL or EXE (see Override file).
  3. Start the plugin again. Buffered events go out with the current key, so events from before the key change still arrive.

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.

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.

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 PlugboardTrackingModuleInitializer isn’t set to false, or call PlugboardTracker.InitializeAssembly(...) yourself.
  • The assembly has no embedded plugboard-tracking.json: check build warnings UT001–UT003 and that the project references the package.

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.

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.
  • PluginAssembly in the login options must be the plugin’s own assembly, so that its hash matches the uploaded file.

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.