IEM | NTP Service Have Stopped Issue

0
Hello,   We have installed an IEM instance for customer. The IEM has no internet access, connected to customer's network. *.eu1.edge.siemens.cloud and *.pool.ntp.org domains added their proxy for activation and NTP Server access.  The IEM was activated successfully and seen as online on Hub. However, NTP Server is in stopped state. Device catalog and licensing services are not work properly, I believe because of NTP is failing. Is there any missing setting or target to add proxy? Kindly need your support.     Please find logs and screenshots below.       SYSLOG Jun  5 09:05:12 localhost tomcat9[2342]: e6e7c0a8-c9d2-4402-ac8e-7b0d56eaccd4 2023-06-05 09:05:12.127 INFO Resource Url: redsocksproxies/no-proxy Jun  5 09:05:12 localhost tomcat9[2342]: e92174e2-8ea5-46dd-aea4-36a92b0c5cee 2023-06-05 09:05:12.128 TRACE HTTP CLIENT CONNECTION parameters :20000 60000 false Jun  5 09:05:12 localhost tomcat9[2342]: 925ff9d0-4001-4668-9296-171f17e19f41 2023-06-05 09:05:12.129 TRACE isProxy->false url->http://localhost:8880/a.service/api/v2/token method->GET Jun  5 09:05:12 localhost tomcat9[2342]: 06204650-04d6-48d1-bde0-d1fe5e155e04 2023-06-05 09:05:12.142 INFO #### RedSocks: add Noproxy - iptables v1.8.2 (legacy): host/network `0.pool.ntp.org' not found Jun  5 09:05:12 localhost tomcat9[2342]: Try `iptables -h' or 'iptables --help' for more information. Jun  5 09:05:12 localhost tomcat9[2342]: 90432f84-d823-4c05-8a28-97aca3cee403 2023-06-05 09:05:12.145 ERROR something.wrong Jun  5 09:05:12 localhost tomcat9[2342]: com.mwp.common.exception.OperationException: something.wrong Jun  5 09:05:12 localhost tomcat9[2342]:     at com.mwp.b.framework.settings.RedSocks.addNoProxy(RedSocks.java:223) Jun  5 09:05:12 localhost tomcat9[2342]:     at com.mwp.b.framework.redsocks.RedsocksHelper.updateNoPoroxy(RedsocksHelper.java:423) Jun  5 09:05:12 localhost tomcat9[2342]:     at com.mwp.b.framework.redsocks.RedsocksHelper.updateNoPoroxy(RedsocksHelper.java:413) Jun  5 09:05:12 localhost tomcat9[2342]:     at com.mwp.b.controller.RedSocksProxyController.mSetNoProxy(RedSocksProxyController.java:284) Jun  5 09:05:12 localhost tomcat9[2342]:     at com.mwp.b.controller.RedSocksProxyController.setNoProxy(RedSocksProxyController.java:95) Jun  5 09:05:12 localhost tomcat9[2342]:     at com.mwp.b.service.v3.RedSocksEndpoint.setNoProxy(RedSocksEndpoint.java:136) Jun  5 09:05:12 localhost tomcat9[2342]:     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Jun  5 09:05:12 localhost tomcat9[2342]:     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) Jun  5 09:05:12 localhost tomcat9[2342]:     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) Jun  5 09:05:12 localhost tomcat9[2342]:     at java.base/java.lang.reflect.Method.invoke(Method.java:566) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:159) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:475) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:397) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:255) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.internal.Errors.process(Errors.java:292) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.internal.Errors.process(Errors.java:274) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.internal.Errors.process(Errors.java:244) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:234) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:684) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:667) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:887) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1684) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) Jun  5 09:05:12 localhost tomcat9[2342]:     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) Jun  5 09:05:12 localhost tomcat9[2342]:     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) Jun  5 09:05:12 localhost tomcat9[2342]:     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) Jun  5 09:05:12 localhost tomcat9[2342]:     at java.base/java.lang.Thread.run(Thread.java:829)    
asked
1 answers
0

Hello Fatih,

 

I guess the your described challanges are not caused by the NTP, but by using a Proxy Server.

There are some known limitations, when a Proxy Server is used. Could you describe your network setup in more detail. Where is your DNS Server located, which is resolving the DNS Names of the IE HUB?

 

These known limitations are already fixed the the new IEM V2, which can be deployed in an existing Kubernetes Cluster. So if you are familiar with Kubernetes, the new IEM V2 is the perfect fit as it brings also additional benefits and features.

 

Next to the Kubernetes based IEM V2 there will be further types of the IEM V2 in future releases.

answered