技术文章 - CS378343

如果在 ThingWorx Platform 中启动会话需要大约 15 秒或更长时间,则通过 ThingWorx 远程访问客户端 (RAC) 的远程访问会话会不断失败

已修改: 15-Feb-2024   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • ThingWorx Platform 8.5 to 9.5

说明

  • 距离 ThingWorx Platform 主机较远的用户无法启动远程会话
  • 尝试连接到 ThingWorx Platform 时,无法连接到 Thingworx ,并且 ThingWorx 远程访问客户端 (RAC) 日志中显示未经授权的凭据
  • 当远程会话启动时间超过 15 秒时,会话失败
  • ThingWorx 远程访问客户端 (RAC) 启动缓慢,最终导致远程会话身份验证失败
  • 在 ThingWorx 中为远程访问会话创建的临时应用程序密钥(也称为 Nonce 密钥)的存在时间不够长,无法建立会话
  • 与特定远程会话关联的 ThingWorx 应用程序密钥在用于身份验证之前已过期
  • <ThingworxStorage>\logs中的ApplicationLog.log文件显示以下内容:
    • [L: ERROR] [O: c.t.c.s.c.j.TempWebSocketConnection] [I: ] [U: SuperUser] [S: ] [P: ] [T: https-jsse-nio-8443-exec-8] Error [authenticating connection], Server websocket will be closed. cause: Unauthorized credentials
  • ThingWorx 远程访问客户端 (RAC) 日志文件tw-ra-client.log位于%AppData%/tw-ra-client显示以下内容:
    • [INFO] main - Thingworx Remote Access Client started. pid=17552, args=C:\Program Files\tw-ra-client\tw-ra-client.exe,tw-ra-client://*****@<ThingWorx Platform Host>:/*****?clientId=***** [INFO] main - startSession params: {"platformHost":"<ThingWorx Platform Host>","platformPort":"","appKey":"*****","sessionId":"*****","clientId":"*****","action":"start","secure":true,"isNonce":true}
      [INFO] main - Creating Thingworx Client
      [ERROR] main - Unable to connect to Thingworx; ensure platform is available at <<ThingWorx Platform Host>:*****> and that proxy settings are correct
      [ERROR] main - { name: 'ChannelError', message: 'Authentication failed: Error [context: authenticating connection][cause: Unauthorized credentials]' }
      [INFO] main - Client quitting; any remaining sessions will be ended
这是文章 378343 的 PDF 版本,可能已过期。最新版本 CS378343