org.springframework.integration.MessageTimeoutException: Timed out waiting for response

Spring JIRA | yuri | 3 years ago
  1. 0

    " SocketException:Connection reset " doesn't throw any exeption , but just logs and then throws org.springframework.integration.MessageTimeoutException: Timed out waiting for response 17:43:06.429 [pool-2-thread-2] ERROR o.s.i.i.t.c.TcpNetConnection - Read exception localhost:27000:630ad5b9-0938-4918-87a5-af6d453aa33b SocketException:Connection reset 17:44:03.269 [http-bio-8080-exec-8] DEBUG o.s.i.ip.tcp.TcpOutboundGateway - Remote Timeout on 0e29b23c-1d13-40a3-800e-7b10492b3298 17:44:03.271 [http-bio-8080-exec-8] WARN o.s.i.g.GatewayProxyFactoryBean$MethodInvocationGateway - failure occurred in gateway sendAndReceive org.springframework.integration.MessageTimeoutException: Timed out waiting for response at org.springframework.integration.ip.tcp.TcpOutboundGateway.handleRequestMessage(TcpOutboundGateway.java:131) ~[spring-integration-ip-2.2.4.RELEASE.jar:na] at org.springframework.integration.handler.AbstractReplyProducingMessageHandler.handleMessageInternal(AbstractReplyProducingMessageHandler.java:134) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:73) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:115) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.dispatcher.UnicastingDispatcher.dispatch(UnicastingDispatcher.java:102) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:77) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:157) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:128) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.core.MessagingTemplate.doSend(MessagingTemplate.java:288) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.core.MessagingTemplate.doSendAndReceive(MessagingTemplate.java:318) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.core.MessagingTemplate.sendAndReceive(MessagingTemplate.java:239) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.core.MessagingTemplate.convertSendAndReceive(MessagingTemplate.java:274) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.gateway.MessagingGatewaySupport.doSendAndReceive(MessagingGatewaySupport.java:224) [spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.gateway.MessagingGatewaySupport.sendAndReceive(MessagingGatewaySupport.java:203) [spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.gateway.GatewayProxyFactoryBean.invokeGatewayMethod(GatewayProxyFactoryBean.java:306) [spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.gateway.GatewayProxyFactoryBean.doInvoke(GatewayProxyFactoryBean.java:269) [spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.gateway.GatewayProxyFactoryBean.invoke(GatewayProxyFactoryBean.java:260) [spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at com.sun.proxy.$Proxy32.send(Unknown Source) [na:na]

    Spring JIRA | 3 years ago | yuri
    org.springframework.integration.MessageTimeoutException: Timed out waiting for response
  2. 0

    " SocketException:Connection reset " doesn't throw any exeption , but just logs and then throws org.springframework.integration.MessageTimeoutException: Timed out waiting for response 17:43:06.429 [pool-2-thread-2] ERROR o.s.i.i.t.c.TcpNetConnection - Read exception localhost:27000:630ad5b9-0938-4918-87a5-af6d453aa33b SocketException:Connection reset 17:44:03.269 [http-bio-8080-exec-8] DEBUG o.s.i.ip.tcp.TcpOutboundGateway - Remote Timeout on 0e29b23c-1d13-40a3-800e-7b10492b3298 17:44:03.271 [http-bio-8080-exec-8] WARN o.s.i.g.GatewayProxyFactoryBean$MethodInvocationGateway - failure occurred in gateway sendAndReceive org.springframework.integration.MessageTimeoutException: Timed out waiting for response at org.springframework.integration.ip.tcp.TcpOutboundGateway.handleRequestMessage(TcpOutboundGateway.java:131) ~[spring-integration-ip-2.2.4.RELEASE.jar:na] at org.springframework.integration.handler.AbstractReplyProducingMessageHandler.handleMessageInternal(AbstractReplyProducingMessageHandler.java:134) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:73) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:115) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.dispatcher.UnicastingDispatcher.dispatch(UnicastingDispatcher.java:102) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:77) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:157) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:128) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.core.MessagingTemplate.doSend(MessagingTemplate.java:288) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.core.MessagingTemplate.doSendAndReceive(MessagingTemplate.java:318) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.core.MessagingTemplate.sendAndReceive(MessagingTemplate.java:239) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.core.MessagingTemplate.convertSendAndReceive(MessagingTemplate.java:274) ~[spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.gateway.MessagingGatewaySupport.doSendAndReceive(MessagingGatewaySupport.java:224) [spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.gateway.MessagingGatewaySupport.sendAndReceive(MessagingGatewaySupport.java:203) [spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.gateway.GatewayProxyFactoryBean.invokeGatewayMethod(GatewayProxyFactoryBean.java:306) [spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.gateway.GatewayProxyFactoryBean.doInvoke(GatewayProxyFactoryBean.java:269) [spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.integration.gateway.GatewayProxyFactoryBean.invoke(GatewayProxyFactoryBean.java:260) [spring-integration-core-2.2.4.RELEASE.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at com.sun.proxy.$Proxy32.send(Unknown Source) [na:na]

    Spring JIRA | 3 years ago | yuri
    org.springframework.integration.MessageTimeoutException: Timed out waiting for response
  3. 0

    How do I find out , what exception occurred in spring integration?

    Stack Overflow | 2 years ago | Viktor Gintner
    org.springframework.integration.MessageTimeoutException: Timed out waiting for response
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 139#248682958

    GitHub | 3 months ago | artembilan
    org.springframework.integration.MessageTimeoutException: Timeout waiting for response from KafkaProducer; nested exception is java.util.concurrent.TimeoutException
  6. 0

    is not receiving reply messages

    Stack Overflow | 2 years ago | user3233451
    org.springframework.integration.MessageTimeoutException: failed to receive JMS response within timeout of: 20000ms

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.springframework.integration.MessageTimeoutException

      Timed out waiting for response

      at org.springframework.integration.ip.tcp.TcpOutboundGateway.handleRequestMessage()
    2. Spring Integration IP Support
      TcpOutboundGateway.handleRequestMessage
      1. org.springframework.integration.ip.tcp.TcpOutboundGateway.handleRequestMessage(TcpOutboundGateway.java:131)[spring-integration-ip-2.2.4.RELEASE.jar:na]
      1 frame
    3. Spring Integration Core
      GatewayProxyFactoryBean.invoke
      1. org.springframework.integration.handler.AbstractReplyProducingMessageHandler.handleMessageInternal(AbstractReplyProducingMessageHandler.java:134)[spring-integration-core-2.2.4.RELEASE.jar:na]
      2. org.springframework.integration.handler.AbstractMessageHandler.handleMessage(AbstractMessageHandler.java:73)[spring-integration-core-2.2.4.RELEASE.jar:na]
      3. org.springframework.integration.dispatcher.UnicastingDispatcher.doDispatch(UnicastingDispatcher.java:115)[spring-integration-core-2.2.4.RELEASE.jar:na]
      4. org.springframework.integration.dispatcher.UnicastingDispatcher.dispatch(UnicastingDispatcher.java:102)[spring-integration-core-2.2.4.RELEASE.jar:na]
      5. org.springframework.integration.channel.AbstractSubscribableChannel.doSend(AbstractSubscribableChannel.java:77)[spring-integration-core-2.2.4.RELEASE.jar:na]
      6. org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:157)[spring-integration-core-2.2.4.RELEASE.jar:na]
      7. org.springframework.integration.channel.AbstractMessageChannel.send(AbstractMessageChannel.java:128)[spring-integration-core-2.2.4.RELEASE.jar:na]
      8. org.springframework.integration.core.MessagingTemplate.doSend(MessagingTemplate.java:288)[spring-integration-core-2.2.4.RELEASE.jar:na]
      9. org.springframework.integration.core.MessagingTemplate.doSendAndReceive(MessagingTemplate.java:318)[spring-integration-core-2.2.4.RELEASE.jar:na]
      10. org.springframework.integration.core.MessagingTemplate.sendAndReceive(MessagingTemplate.java:239)[spring-integration-core-2.2.4.RELEASE.jar:na]
      11. org.springframework.integration.core.MessagingTemplate.convertSendAndReceive(MessagingTemplate.java:274)[spring-integration-core-2.2.4.RELEASE.jar:na]
      12. org.springframework.integration.gateway.MessagingGatewaySupport.doSendAndReceive(MessagingGatewaySupport.java:224)[spring-integration-core-2.2.4.RELEASE.jar:na]
      13. org.springframework.integration.gateway.MessagingGatewaySupport.sendAndReceive(MessagingGatewaySupport.java:203)[spring-integration-core-2.2.4.RELEASE.jar:na]
      14. org.springframework.integration.gateway.GatewayProxyFactoryBean.invokeGatewayMethod(GatewayProxyFactoryBean.java:306)[spring-integration-core-2.2.4.RELEASE.jar:na]
      15. org.springframework.integration.gateway.GatewayProxyFactoryBean.doInvoke(GatewayProxyFactoryBean.java:269)[spring-integration-core-2.2.4.RELEASE.jar:na]
      16. org.springframework.integration.gateway.GatewayProxyFactoryBean.invoke(GatewayProxyFactoryBean.java:260)[spring-integration-core-2.2.4.RELEASE.jar:na]
      16 frames
    4. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE]
      2 frames
    5. com.sun.proxy
      $Proxy32.send
      1. com.sun.proxy.$Proxy32.send(Unknown Source)[na:na]
      1 frame