Article - CS430569
Windchill reports error "Failed to create token to send Feature Usage report to PTC as the port 443 is blocked" when users log in
Modified: 05-Nov-2024
Applies To
- Windchill PDMLink 12.1
Description
- Windchill reports error "Failed to create token to send Feature Usage report to PTC as the port 443 is blocked" when users log in
- Port 443 is open and not blocked
- https://support.ptc.com/apps/pa4all/Validate.jsp is accessible from the Windchill system
- Error in MethodServer log
ERROR [ajp-nio-127.0.0.1-8010-exec-8] com.ptc.ms.jwt.controller.JWTController <username> - Exception occurred : Failed to create token to send Feature Usage report to PTC as the port 443 is blocked. To resolve this, open port 443 and restart server to allow Windchill to fetch key from PTC. Close the port 443 when done. [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - (wt.jwt.servlet.JWTTokenGenerationResource/JWT_INVALID_LICENSE) wt.util.WTException: Failed to create token to send Feature Usage report to PTC as the port 443 is blocked. To resolve this, open port 443 and restart server to allow Windchill to fetch key from PTC. Close the port 443 when done. [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at wt.jwt.telemetry.TelemetryJWTTokenHelper.getCustomerAppKey(TelemetryJWTTokenHelper.java:24) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at wt.jwt.telemetry.TelemetryJWTTokenCreatorDelegate.getSigner(TelemetryJWTTokenCreatorDelegate.java:39) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at wt.jwt.framework.JWTTokenServiceProvider.createToken(JWTTokenServiceProvider.java:67) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at com.ptc.ms.jwt.controller.JWTController.getJWTToken(JWTController.java:67) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at java.base/java.lang.reflect.Method.invoke(Method.java:566) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:903) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:809) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at javax.servlet.http.HttpServlet.service(HttpServlet.java:555) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at javax.servlet.http.HttpServlet.service(HttpServlet.java:623) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at wt.licenseusage.licensing.LicenseFilter.doFilter(LicenseFilter.java:47) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at com.ptc.core.ui.validation.URLValidationFilter.doFilter(URLValidationFilter.java:86) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at wt.httpgw.filter.WTContextBeanFilter.doWithWtContextBeanHandler(WTContextBeanFilter.java:147) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at wt.httpgw.filter.WTContextBeanFilter.doFilter(WTContextBeanFilter.java:87) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at wt.servlet.CompressionFilter.doFilter(CompressionFilter.java:301) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at wt.servlet.RequestInterrupter.doFilter(RequestInterrupter.java:335) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at wt.servlet.ServletRequestMonitor.doFilter(ServletRequestMonitor.java:1677) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at wt.servlet.ServletRequestMonitorFilter.doFilter(ServletRequestMonitorFilter.java:57) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:424) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:928) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1796) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) [ajp-nio-127.0.0.1-8010-exec-8] wt.system.err <username> - at java.base/java.lang.Thread.run(Thread.java:829)
This is a printer-friendly version of Article 430569 and may be out of date. For the latest version click CS430569