技术文章 - CS324086
Windchill Navigate 查询的 Windchill MethodServer 日志中出现“由于缺少远程用户而拒绝请求”错误
已修改: 22-Jul-2025
适用于
- 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