Ask a Question

Zephyr Instance Registration

adrian1981
New Contributor

Zephyr Instance Registration

Hello,

 

I have this kind of error each time I restart the tomcat. License is provided.

grep retry /opt/zephyr/tomcat/logs/times.log
2021-10-27 08:30:50,227 INFO [main] ZephyrInstanceRegistration.retryZephyrInstanceRegistration(73) | Retrying Zephyr Instance registration
at com.thed.web.context.ZephyrInstanceRegistration.retryZephyrInstanceRegistration(ZephyrInstanceRegistration.java:76)
2021-10-27 08:37:23,443 WARN [main] ZephyrInstanceRegistration.retryZephyrInstanceRegistration(79) | Retry 1/3 failed for Zephyr Instance registration
at com.thed.web.context.ZephyrInstanceRegistration.retryZephyrInstanceRegistration(ZephyrInstanceRegistration.java:76)
2021-10-27 08:44:00,754 WARN [main] ZephyrInstanceRegistration.retryZephyrInstanceRegistration(79) | Retry 2/3 failed for Zephyr Instance registration
at com.thed.web.context.ZephyrInstanceRegistration.retryZephyrInstanceRegistration(ZephyrInstanceRegistration.java:76)
2021-10-27 08:50:38,067 WARN [main] ZephyrInstanceRegistration.retryZephyrInstanceRegistration(79) | Retry 3/3 failed for Zephyr Instance registration

After that the tomcat is starting and Zephyr is loading the login panel. Any help would be appreciated. 

1 REPLY 1
adrian1981
New Contributor

Re: Zephyr Instance Registration

It seems that external firewall is blocking the traffic

 

2021-10-27 10:25:39,505 ERROR [main] ZephyrInstanceRegistration.registerZephyrInstance(104) | Failed to register Zephyr Instance
org.apache.http.conn.HttpHostConnectException: Connect to zephyr-instance-repository.ze.smartbear.com:443 [zephyr-instance-repository.ze.smartbear.com/18.116.96.33, zephyr-instance-repository.ze.smartbear.com/3.139.187.165, zephyr-instance-repository.ze.smartbear.com/18.189.102.89] failed: Connection timed ou
t (Connection timed out)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:156)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:374)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at com.thed.web.context.ZephyrInstanceRegistration.requestZephyrInstanceRepository(ZephyrInstanceRegistration.java:137)
at com.thed.web.context.ZephyrInstanceRegistration.registerZephyrInstance(ZephyrInstanceRegistration.java:101)
at com.thed.web.context.ZephyrInstanceRegistration.onApplicationEvent(ZephyrInstanceRegistration.java:60)
at com.thed.web.context.ZephyrInstanceRegistration.onApplicationEvent(ZephyrInstanceRegistration.java:30)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:403)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:360)
at com.thed.web.context.event.ready.ApplicationReadyEventPublisher.publish(ApplicationReadyEventPublisher.java:19)
at com.thed.web.context.ContextLoaderListener.publishApplicationReadyEvent(ContextLoaderListener.java:155)
at com.thed.web.context.ContextLoaderListener.initWebApplicationContext(ContextLoaderListener.java:143)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4768)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5230)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:698)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1185)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1933)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1095)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1618)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:946)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:835)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:263)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:432)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:927)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:476)
Caused by: java.net.ConnectException: Connection timed out (Connection timed out)
at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.base/java.net.Socket.connect(Socket.java:609)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:368)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
... 64 more
2021-10-27 10:25:39,507 INFO [main] ZephyrInstanceRegistration.retryZephyrInstanceRegistration(73) | Retrying Zephyr Instance registration
times.log lines 4825-4861/4861 (END)

cancel
Showing results for 
Search instead for 
Did you mean: