0 Replies Latest reply on Nov 1, 2017 6:11 AM by TEJASWINI VADLAMUDI

    RESTEASY004655: Unable to invoke request, ConnectTimeoutException

    TEJASWINI VADLAMUDI Newbie

      Hello,

       

      Recently I started using Resteasy libraries for my test framework.

       

      I am getting the below timeout exception:

           at junit.framework.TestSuite.runTest(TestSuite.java:230)

           at junit.framework.TestSuite.run(TestSuite.java:225)

           at junit.framework.TestSuite.runTest(TestSuite.java:230)

           at junit.framework.TestSuite.run(TestSuite.java:225)

           at junit.framework.TestSuite.runTest(TestSuite.java:230)

           at junit.framework.TestSuite.run(TestSuite.java:225)

           at junit.framework.TestSuite.runTest(TestSuite.java:230)

           at junit.framework.TestSuite.run(TestSuite.java:225)

           at junit.framework.TestSuite.runTest(TestSuite.java:230)

           at junit.framework.TestSuite.run(TestSuite.java:225)

           at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)

           at junit.extensions.TestSetup$1.protect(TestSetup.java:21)

           at junit.framework.TestResult.runProtected(TestResult.java:124)

           at junit.extensions.TestSetup.run(TestSetup.java:25)

           at se.ericsson.jcat.fw.fixture.junit.JcatJunitTestSetup.run(JcatJunitTestSetup.java:52)

           at junit.textui.TestRunner.doRun(TestRunner.java:121)

           at junit.textui.TestRunner.start(TestRunner.java:185)

           at junit.textui.TestRunner.main(TestRunner.java:143)

         Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to 10.35.100.21 timed out

           at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:129)

           at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)

           at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)

           at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:644)

           at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)

       

      Not really sure how to handle this. Any suggestion/idea would be appreciated.

       

      Thanks!