Article - CS386948

PseudoPing function uses incorrect sessionID during autoReconnect in ThingWorx

Modified: 21-Feb-2023   


Applies To

  • ThingWorx Platform 9.1 N/A

Description

  • When using websocket with Mashup i.e. use GetProperties with "Automatically update values when able", if for some reason the connection timeout, a new websocket is created. And the sessionID used for the remaining pseudoPing is not getting auto-updated
  • Following error can be seen in Error logs:
    • Error executing API request message, sending error response to caller!
    • com.thingworx.communications.server.security.NotAuthorizedException: Unable to lookup security context because ThingWorx Session ID [531876314] is no longer valid!
This is a printer-friendly version of Article 386948 and may be out of date. For the latest version click CS386948