Article - CS431137

GetProperties with the "Automatically Update Values" option does not properly handle reconnections after a user session times out in ThingWorx Mashup and returns error "Rejecting NonceKey [<Key ID>] since it was not found in cache"

Modified: 02-Sep-2026   


Applies To

  • ThingWorx Platform 9.3 to 10.1

Description

  • After a user session times out or a platform restart, GetProperties with the Automatically Update Values option fails to properly handle reconnections
  • SecurityLog is flooded with Rejecting "NonceKey [<Key ID>] since it was not found in cache" errors
  • After reconnection, the mashup is calling every second (or even more frequently):
    • /Thingworx/Resources/EntityServices/Services/GetClientNonce, which returns an empty response
    • /Thingworx/WS with an obsolete nonce / appkey
    • /ThingworxStorage/logs/SecurityLog.log repeatedly reports below warning messages:
    • [L: WARN] [O: S.c.t.s.m.ApplicationKeyManager] [I: ] [U: ???] [S: ] [P: ] [T: https-jsse-nio-443-exec-129] *** ApplicationKey not found ***
      [L: ERROR] [O: S.c.t.s.m.NonceKeyManager] [I: ] [U: ???] [S: ] [P: ] [T: https-jsse-nio-443-exec-129] Rejecting NonceKey [<Key ID>] since it was not found in cache
  • The behavior varies depending on the browser vendor and whether SSO or an AppKey is used:
    • Chrome + Basic Auth (Authentication Dialog does not show on MacOS)
      • GetClientNonce is invoked every second and a new Basic Auth dialog pops up until credentials are provided
    • Firefox + Basic Auth
      • GetClientNonce is invoked once, the Basic Auth dialog pops up, and the Mashup is suspended until credentials are provided
    • All browser + AppKey:
      • GetClientNonce is invoked repeatedly and fails with code 401 (on kiosk setup, otherwise a Basic Auth dialog pops up)
      • WS connection fails because it is using a null ApplicationKey
      • Attempted to mask a null or empty application key.
        Rejecting NonceKey [] since it was not found in cache
    • All browser + SSO:

  • ThingWorx Platform hangs after a while and ApplicationLog is filled with Missing application key errors
This is a printer-friendly version of Article 431137 and may be out of date. For the latest version click CS431137