TestProject Forum
Powered by leading experts in the test automation community

Connectivity issue

Hi,
after making the upgrade to agent version 0.63.1, I get connectivity errors while I’m running a test, and from then on, I can’t access any device until I restart the agent or the computer.

Logs:
2020-06-29 14:12:29.767 iHoZkjIEoUGDRfvFtiXeWQ INFO 10820 qtp306229667-88 i.t.a.w.r.e.a.CodeBlocksEndpoints Searching for Action with GUID: 02d572b2-d610-4700-9ad3-40076ddb9807
2020-06-29 14:12:29.768 iHoZkjIEoUGDRfvFtiXeWQ INFO 10820 qtp306229667-88 i.t.a.m.c.a Executing io.testproject.agent.codeblocks.driver.element.ClickElement…
2020-06-29 14:12:29.942 iHoZkjIEoUGDRfvFtiXeWQ INFO 10820 qtp306229667-88 i.t.a.m.c.a Finished executing io.testproject.agent.codeblocks.driver.element.ClickElement
2020-06-29 14:12:31.970 iHoZkjIEoUGDRfvFtiXeWQ INFO 10820 qtp306229667-21 i.t.a.w.r.e.a.CodeBlocksEndpoints Searching for Action with GUID: 02d572b2-d610-4700-9ad3-40076ddb9807
2020-06-29 14:12:31.973 iHoZkjIEoUGDRfvFtiXeWQ INFO 10820 qtp306229667-21 i.t.a.m.c.a Executing io.testproject.agent.codeblocks.driver.element.ClickElement…
2020-06-29 14:12:32.118 iHoZkjIEoUGDRfvFtiXeWQ INFO 10820 qtp306229667-21 i.t.a.m.c.a Finished executing io.testproject.agent.codeblocks.driver.element.ClickElement
2020-06-29 14:12:32.782 iHoZkjIEoUGDRfvFtiXeWQ WARN 10820 pool-8-thread-1 i.t.a.s.c Failed to acquire access token - connectivity issue
2020-06-29 14:12:32.783 iHoZkjIEoUGDRfvFtiXeWQ INFO 10820 state-machine i.t.a.m.a.a Updating Appium session b24d61fc-6049-4f52-9b3b-31f61dced918 dialect to W3C
2020-06-29 14:12:32.793 iHoZkjIEoUGDRfvFtiXeWQ INFO 10820 state-machine i.t.a.a.a.d POST http://127.0.0.1:50207/wd/hub/session/b24d61fc-6049-4f52-9b3b-31f61dced918/appium/protocol/change - 200 (null): null
2020-06-29 14:12:32.794 iHoZkjIEoUGDRfvFtiXeWQ INFO 10820 pool-3-thread-1 i.t.a.m.a.a Development socket disconnected
2020-06-29 14:12:32.794 iHoZkjIEoUGDRfvFtiXeWQ INFO 10820 auth-entry i.t.a.a.c.a Sent shutdown event to Signal server
2020-06-29 14:12:32.795 iHoZkjIEoUGDRfvFtiXeWQ WARN 10820 state-machine i.t.a.s.c Failed to provide access token, is Agent authenticated?
2020-06-29 14:12:32.795 iHoZkjIEoUGDRfvFtiXeWQ INFO 10820 auth-entry i.t.a.a.c.a Disconnecting Signal as part of the SignalClient stop sequence
2020-06-29 14:12:32.795 iHoZkjIEoUGDRfvFtiXeWQ WARN 10820 state-machine i.t.a.d.a.d Agent is not authenticated!
2020-06-29 14:12:32.797 iHoZkjIEoUGDRfvFtiXeWQ INFO 10820 auth-entry i.t.a.a.c.a Sent shutdown event to Signal server
2020-06-29 14:12:32.797 iHoZkjIEoUGDRfvFtiXeWQ INFO 10820 auth-entry i.t.a.a.c.a Disconnecting Signal as part of the SignalClient stop sequence
2020-06-29 14:12:32.798 iHoZkjIEoUGDRfvFtiXeWQ INFO 10820 auth-entry i.t.a.d.a.a Authenticating with TestProject…
2020-06-29 14:12:32.798 iHoZkjIEoUGDRfvFtiXeWQ INFO 10820 auth-entry i.t.a.d.a.a Authenticating with TestProject…
2020-06-29 14:12:32.802 iHoZkjIEoUGDRfvFtiXeWQ INFO 10820 EventThread i.t.a.a.c.a Signal disconnected - io client disconnect
2020-06-29 14:12:34.060 iHoZkjIEoUGDRfvFtiXeWQ WARN 10820 qtp306229667-12 i.t.a.s.c Failed to provide access token, is Agent authenticated?
2020-06-29 14:12:34.061 iHoZkjIEoUGDRfvFtiXeWQ ERROR 10820 qtp306229667-12 i.t.a.a.a.d GET https://api.testproject.io/api/v1/agent - 401 (null): Request aborted because no authorization token was presented
2020-06-29 14:12:34.061 iHoZkjIEoUGDRfvFtiXeWQ ERROR 10820 qtp306229667-12 i.t.a.a.a.e GET https://api.testproject.io/api/v1/agent - 401
2020-06-29 14:12:34.061 iHoZkjIEoUGDRfvFtiXeWQ WARN 10820 qtp306229667-12 i.t.a.a.a.e Already in authenticating state, waiting to resolve token authentication…
2020-06-29 14:12:34.067 iHoZkjIEoUGDRfvFtiXeWQ ERROR 10820 qtp306229667-12 i.t.a.w.r.m.GenericExceptionMapper http://localhost:8585/api/status processing java.lang.NullPointerException
java.lang.NullPointerException: null
at io.testproject.agent.security.IdentityManager.i(TestProjectAgent:150)
at io.testproject.agent.security.IdentityManager.f(TestProjectAgent:399)
at io.testproject.agent.webserver.rest.endpoints.api.AgentEndpoints.asyncStatus(TestProjectAgent:86)
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:567)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1655)
at io.testproject.agent.webserver.filters.RESTServerRequestLogFilter.doFilter(TestProjectAgent:37)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
at io.testproject.agent.webserver.filters.NoCacheFilter.doFilter(TestProjectAgent:20)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:311)
at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:265)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1340)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1242)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:503)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
at java.base/java.lang.Thread.run(Thread.java:830)
2020-06-29 14:12:37.229 iHoZkjIEoUGDRfvFtiXeWQ WARN 10820 qtp306229667-25 i.t.a.s.c Failed to provide access token, is Agent authenticated?
2020-06-29 14:12:37.230 iHoZkjIEoUGDRfvFtiXeWQ ERROR 10820 qtp306229667-25 i.t.a.a.a.d GET https://api.testproject.io/api/v1/agent - 401 (null): Request aborted because no authorization token was presented
2020-06-29 14:12:37.232 iHoZkjIEoUGDRfvFtiXeWQ ERROR 10820 qtp306229667-25 i.t.a.a.a.e GET https://api.testproject.io/api/v1/agent - 401
2020-06-29 14:12:37.232 iHoZkjIEoUGDRfvFtiXeWQ WARN 10820 qtp306229667-25 i.t.a.a.a.e Already in authenticating state, waiting to resolve token authentication…
2020-06-29 14:12:37.233 iHoZkjIEoUGDRfvFtiXeWQ ERROR 10820 qtp306229667-25 i.t.a.w.r.m.GenericExceptionMapper https://local.rdr.tpagent.io:8443/api/status processing java.lang.NullPointerException
java.lang.NullPointerException: null
at io.testproject.agent.security.IdentityManager.i(TestProjectAgent:150)
at io.testproject.agent.security.IdentityManager.f(TestProjectAgent:399)
at io.testproject.agent.webserver.rest.endpoints.api.AgentEndpoints.asyncStatus(TestProjectAgent:86)
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:567)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:471)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1655)
at io.testproject.agent.webserver.filters.RESTServerRequestLogFilter.doFilter(TestProjectAgent:37)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
at io.testproject.agent.webserver.filters.NoCacheFilter.doFilter(TestProjectAgent:20)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:311)
at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:265)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1340)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1242)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:503)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:411)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:305)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:159)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
at java.base/java.lang.Thread.run(Thread.java:830)

When I try to make a new connection, this error appears:

2020-06-29 14:53:00.256 iHoZkjIEoUGDRfvFtiXeWQ INFO 9488 idle-entry i.t.a.d.a.A Account plan: Free
2020-06-29 14:53:00.256 iHoZkjIEoUGDRfvFtiXeWQ INFO 9488 idle-entry i.t.a.a Heartbeat State: Idle
2020-06-29 14:53:05.390 iHoZkjIEoUGDRfvFtiXeWQ ERROR 9488 idle-entry i.t.a.a.b.d Failed to report application state: Idle
java.util.concurrent.ExecutionException: javax.ws.rs.ProcessingException: java.net.SocketTimeoutException: Connect timed out
at jersey.repackaged.com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:299)
at jersey.repackaged.com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:286)
at jersey.repackaged.com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116)
at io.testproject.agent.a.b.d.a(TestProjectAgent:870)
at io.testproject.agent.a.a(TestProjectAgent:596)
at io.testproject.agent.d.a.B.a(TestProjectAgent:124)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at io.testproject.agent.b.b.run(TestProjectAgent:33)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:830)
Caused by: javax.ws.rs.ProcessingException: java.net.SocketTimeoutException: Connect timed out
at org.glassfish.jersey.client.internal.HttpUrlConnector$3.run(HttpUrlConnector.java:299)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at jersey.repackaged.com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:299)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
at jersey.repackaged.com.google.common.util.concurrent.AbstractListeningExecutorService.submit(AbstractListeningExecutorService.java:50)
at jersey.repackaged.com.google.common.util.concurrent.AbstractListeningExecutorService.submit(AbstractListeningExecutorService.java:37)
at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:293)
at org.glassfish.jersey.client.ClientRuntime$2.run(ClientRuntime.java:178)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:340)
at org.glassfish.jersey.client.ClientRuntime$3.run(ClientRuntime.java:210)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
… 3 common frames omitted
Caused by: java.net.SocketTimeoutException: Connect timed out
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:546)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:339)
at java.base/java.net.Socket.connect(Socket.java:603)
at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:290)
at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:177)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
at java.base/sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:265)
at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:372)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:177)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:163)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1362)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1337)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:220)
at org.glassfish.jersey.client.internal.HttpUrlConnector$4.getOutputStream(HttpUrlConnector.java:385)
at org.glassfish.jersey.message.internal.CommittingOutputStream.commitStream(CommittingOutputStream.java:200)
at org.glassfish.jersey.message.internal.CommittingOutputStream.commitStream(CommittingOutputStream.java:194)
at org.glassfish.jersey.message.internal.CommittingOutputStream.write(CommittingOutputStream.java:228)
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.write(WriterInterceptorExecutor.java:299)
at com.fasterxml.jackson.core.json.UTF8JsonGenerator._flushBuffer(UTF8JsonGenerator.java:1848)
at com.fasterxml.jackson.core.json.UTF8JsonGenerator.flush(UTF8JsonGenerator.java:1041)
at com.fasterxml.jackson.databind.ObjectWriter.writeValue(ObjectWriter.java:854)
at com.fasterxml.jackson.jaxrs.base.ProviderBase.writeTo(ProviderBase.java:650)
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265)
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250)
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1130)
at org.glassfish.jersey.client.ClientRequest.writeEntity(ClientRequest.java:502)
at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:388)
at org.glassfish.jersey.client.internal.HttpUrlConnector.access$000(HttpUrlConnector.java:96)
at org.glassfish.jersey.client.internal.HttpUrlConnector$3.run(HttpUrlConnector.java:297)
… 20 common frames omitted

Hello @carmelo.gascon
Can you please send the entire logs folder to support@testproject.io
Also what devices are you trying to connect and run the tests on?

Hi @ran.tzur,
The devices are: 1 Xiaomi mi A2, 1 Pixel 4, 1 Galaxy S7, 1 iPhone XR.
I’ve seen that after the error appears, the agent state continues in “Development”, it doesn’t return to “Ready”

logs

Hi @ran.tzur,
Update: without been doing anything (not even testing or develoing), the agent has restarted

(New) Logs

Hey carmelo!

Your issue is being taken care of by our development team.
We will contact you once we have updates for you! :pray:t4:

Hi @tzah.mazuz_prod,
for your info, I’ve installed agent 0.63.2 version, and it continues happening.

Logs

OK, i don’t have any updates on this yet.

Does this prevents you from working entirely with the Agent?

Hi @tzah.mazuz_prod,

At the moment no, we are doing tests separating the devices in mor computers to see if everything works better.

Hello @carmelo.gascon
This issues should be fixed with the new agent version 0.63.3
Please update your agent and let us know if the issue persists.

Hi @ran.tzur,
Today, the connectivity issues have appeared again.

It has happened to us in two different agents with two different devices. I have managed to launch one of them by restarting the computer / agent / terminal, but the other continues to fail.

Logs

Hello @carmelo.gascon
Thanks we will investigate.

hi @ran.tzur,
update: This is happening only in iPhone XR (we have 2 devices connected to 2 different agents).

Thanks @carmelo.gascon
What Version of iOS is it running?

Also you can try to restart your mobile device and agent, it should help.

Hi @ran.tzur,
The devices have iOS 13.4.1.
after restarting the device the agent has reconnected, it’s the only thing I hadn’t done (we had restarted the computer, the agent …), I write it down for troubleshooting
Regards

Hi @ran.tzur,
Update: after a couple of minutes, the connection with the devices is lost again, to be achieved again without doing anything. There is something strange here… :pensive:

Log_1
Log_2

Thanks @carmelo.gascon
We are on it with high priority.

Hi @ran.tzur,
We’ve seen that there is an agent update (0.63.4), we’ve update the agent, but the issue still appears.

logs

Hi @ran.tzur,
have you been able to make any progress?
Can I help you with something?