技术文章 - CS324086

Windchill Navigate 查询的 Windchill MethodServer 日志中出现“由于缺少远程用户而拒绝请求”错误

已修改: 22-Jul-2025   


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

适用于

  • Windchill Navigate (formerly ThingWorx Navigate) 1.8.0 to 9.6

说明

  • 由于 Windchill MS 日志中缺少 ThingWorx Navigate 查询的远程用户错误,请求被拒绝
  • 连接器失败并显示 403 错误代码
  • Windchill MethodServer 日志中的示例错误
 TRACE [ajp-nio-127.0.0.1-8010-exec-8] wt.servlet.ServletRequestMonitor.request - Status set to error code: 403 java.lang.Exception: Stack trace at wt.servlet.ServletRequestMonitor.traceSetResponseStatus(ServletRequestMonitor.java:2744) at wt.servlet.ServletRequestMonitor$BaseHttpResponseWrapper.sendError(ServletRequestMonitor.java:2695) at wt.servlet.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:102) at wt.servlet.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:102) at wt.servlet.CompressionFilter$GzippingResponse.sendError(CompressionFilter.java:577) at wt.servlet.AuthBridgeServlet.service(AuthBridgeServlet.java:73) at javax.servlet.http.HttpServlet.service(HttpServlet.java:623) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:199) …. DEBUG [ajp-nio-127.0.0.1-8010-exec-8] org.springframework.security.web.context.HttpSessionSecurityContextRepository - The HttpSession is currently null, and the HttpSessionSecurityContextRepository is prohibited from creating an HttpSession (because the allowSessionCreation property is false) - SecurityContext thus not stored for next request ERROR [ajp-nio-127.0.0.1-8010-exec-8] wt.servlet.AuthBridgeServlet - Request rejected due to lack of remote user WARN [ajp-nio-127.0.0.1-8010-exec-8] wt.servlet.ServletRequestMonitor.request - 2025-07-15 11:54:54.390 +0000, 11is1aodjd;md4g17ni;957961;1xt2e8;3519, -, 10.xxx.x.xx, /Windchill/oauth/servlet/WindchillAuthGW/wt.httpgw.HTTPServer/echo, -, GET, 403, 0.0037234, 0.0060089
  • 即使验证连接工作正常, 3D 视图缩略图也不会显示在导航中。
  • ApplicationLog.log中的查询 URL 有403代码
 2025-07-15 11:54:57.454+0000 [L: ERROR] [O: ctumMediaEntity] [I: ] [U: <user>] [S: ] [P: ] [T: https-jsse-nio-8443-exec-11] Response had unexpected status code 403 with content … 2025-07-15 11:54:57.455+0000 [L: ERROR] [O: ctwMediaEntities] [I: ] [U: <user>] [S: ] [P: ] [T: https-jsse-nio-8443-exec-11] SSO validation request failed with status 403 2025-07-15 11:54:57.455+0000 [L: WARN] [O: ctwBaseService] [I: ] [U: <user>] [S: ] [P: ] [T: https-jsse-nio-8443-exec-11] Transaction has been marked as a failure for request /Thingworx/MediaEntities/ptc-windchill-integration-connector-proxy/Services/ValidateSSOResource

或者

 [L: ERROR] [O: ctumMediaEntity] [I: ] [U: <user>] [S: ] [P: ] [T: https-openssl-nio-8443-exec-4] Could not stream MediaEntity [ptc-windchill-integration-connector-proxy]: HTTP operation failed calling [https://<Windchill server>/Windchill/sslClientAuth/wt/clients/images/proe/xxx.gif?twxME_ClientFollowRedirect=true] with status [403 - 403]
  • ApplicationLog.log中的查询 URL 不包含参数wt.effectiveUid=<username>
  • 系统已配置为 PingFederate SSO 或 Windchill 身份验证
  • ptc-windchill-integration-connector-proxy中的身份验证类型设置为“基本”
这是文章 324086 的 PDF 版本,可能已过期。最新版本 CS324086