Connect Failure: Timeout or Interrupt occurred while attempting to communicate with NameServer. - Forum - Mobile - Progress Community

Connect Failure: Timeout or Interrupt occurred while attempting to communicate with NameServer.

 Forum

Connect Failure: Timeout or Interrupt occurred while attempting to communicate with NameServer.

This question is answered

Hi,

Trying to make my mobile project working in 11.5.0 (was 11.3.0). Tomcat started, appserver running. In my <servicename>.log I see the messages below after trying to take a look at my table with customers in chrome. What could be wrong?

Regards, Stefan.

------------------------------------------------------------------------------------------------------------------------------------------------

2015-05-11 15:05:55,624 2179915 [http-bio-8980-exec-3] ERROR org.apache.camel.processor.DefaultErrorHandler error  - Failed delivery for (MessageId: ID-DJIOPRG013-61629-1431347173557-0-13 on ExchangeId: ID-DJIOPRG013-61629-1431347173557-0-14). Exhausted after delivery attempt: 1 caught: com.progress.open4gl.Open4GLException: Connect Failure: Timeout or Interrupt occurred while attempting to communicate with NameServer. (8231)
com.progress.open4gl.Open4GLException: Connect Failure: Timeout or Interrupt occurred while attempting to communicate with NameServer. (8231)
 at com.progress.caf.camel.component.oe.AppServerCamelEndpoint.connect(AppServerCamelEndpoint.java:219)
 at com.progress.caf.camel.component.oe.AppServerProducer.process(AppServerProducer.java:81)
 at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
 at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
 at org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:120)
 at org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:292)
 at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:115)
 at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
 at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
 at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
 at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
 at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
 at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
 at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
 at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:91)
 at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
 at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:330)
 at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:220)
 at org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
 at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
 at org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303)
 at org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45)
 at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
 at org.apache.camel.processor.UnitOfWorkProcessor.processAsync(UnitOfWorkProcessor.java:150)
 at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:117)
 at org.apache.camel.processor.RouteInflightRepositoryProcessor.processNext(RouteInflightRepositoryProcessor.java:48)
 at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
 at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73)
 at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99)
 at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90)
 at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:73)
 at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99)
 at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:86)
 at com.progress.caf.camel.component.cxf.jaxrs.PrgRsInvoker.syncInvoke(PrgRsInvoker.java:162)
 at com.progress.caf.camel.component.cxf.jaxrs.PrgRsInvoker.performInvocation(PrgRsInvoker.java:76)
 at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
 at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:167)
 at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:94)
 at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
 at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:94)
 at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
 at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
 at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:211)
 at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)
 at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:154)
 at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:130)
 at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:221)
 at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPut(AbstractHTTPServlet.java:158)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:644)
 at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:197)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at com.progress.rest.adapters.oe.OERestAdapterFilter.doFilter(OERestAdapterFilter.java:73)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at com.progress.rest.adapters.oe.OERequestFilter.doFilter(OERequestFilter.java:38)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:322)
 at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
 at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
 at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
 at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 at com.progress.rest.security.OEClientPrincipalFilter.doFilter(OEClientPrincipalFilter.java:291)
 at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
 at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
 at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
 at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 at org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:91)
 at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
 at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
 at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
 at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 at com.progress.rest.security.OECORSFilter.doFilter(OECORSFilter.java:362)
 at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
 at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:184)
 at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:155)
 at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
 at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
 at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
 at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
 at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
 at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:744)
2015-05-11 15:05:55.629 [INFO][REST] Exiting the filter after processing request.
2015-05-11 15:13:37.189 [INFO][REST] An HTTP Request received in Enabled State. Sending Request to the Adapter Servlet.
2015-05-11 15:13:37.245 [INFO][REST] An HTTP Request received in Enabled State. Sending Request to the Adapter Servlet.
2015-05-11 15:13:37.267 [INFO][REST] Connecting to AppServer://localhost:5162/restbroker1 with connectionTimeout = 0
2015-05-11 15:13:37.272 [INFO][REST] Connecting to AppServer://localhost:5162/restbroker1 with connectionTimeout = 0
2015-05-11 15:13:37.312 [INFO][REST] An HTTP Request received in Enabled State. Sending Request to the Adapter Servlet.
2015-05-11 15:13:37.326 [INFO][REST] OpenEdge Procedure name: dsCustomer
2015-05-11 15:13:37.326 [INFO][REST] OpenEdge Internal Procedure name: CustomRead

 

Verified Answer
  • Thanks Ruben,

    No, it appeared to be the "oe" webserver ringing at the wrong port. restmgr1 defaults (and on tab REST Application -> properties for the service -> appservice port) had appServicePort 5162 configured, the appserver broker NS1 as nameserver and the nameserver port was set at 5163. Set NS1 back to 5162 and it works. The message in <servicename>.log was of course helpful, it could be even more helpful if the portnumber where the webserver tries to connect is shown.

    Regards, Stefan.

All Replies
  • NameServer not running?
     
    Or:

    http://knowledgebase.progress.com/articles/Article/Error-11773-8231-10926-in-WebServices-Adapter-due-to-invalid-host-name?q=%288231%29&l=en_US&fs=Search&pn=1
  • Thanks Ruben,

    No, it appeared to be the "oe" webserver ringing at the wrong port. restmgr1 defaults (and on tab REST Application -> properties for the service -> appservice port) had appServicePort 5162 configured, the appserver broker NS1 as nameserver and the nameserver port was set at 5163. Set NS1 back to 5162 and it works. The message in <servicename>.log was of course helpful, it could be even more helpful if the portnumber where the webserver tries to connect is shown.

    Regards, Stefan.