Fuse 6.2.1's gateway-http profile throw errors under heavy load: "Unhandled exception java.net.SocketException: Cannot assign requested address: abcd-ts/xx.xx.xx.xx:8184"

Solution Verified - Updated -

Issue

When container with "gateway-http" profile in Fuse 6.2.1 under heavy request load, errors as below may occurs:

2016-06-16 14:52:21,556 | ERROR | entloop-thread-0 | DefaultContext                   | 97 - io.fabric8.fabric-vertx - 1.2.0.redhat-621084 | Unhandled exception
java.net.SocketException: Cannot assign requested address: abcd-ts/xx.xx.xx.xx:8184
    at sun.nio.ch.Net.connect0(Native Method)[:1.8.0_91]
    at sun.nio.ch.Net.connect(Net.java:454)[:1.8.0_91]
    at sun.nio.ch.Net.connect(Net.java:446)[:1.8.0_91]
    at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:648)[:1.8.0_91]
    at io.netty.channel.socket.nio.NioSocketChannel.doConnect(NioSocketChannel.java:209)[110:io.netty.transport:4.0.27.Final]
    at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.connect(AbstractNioChannel.java:199)[110:io.netty.transport:4.0.27.Final]
    at io.netty.channel.DefaultChannelPipeline$HeadContext.connect(DefaultChannelPipeline.java:1089)[110:io.netty.transport:4.0.27.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeConnect(AbstractChannelHandlerContext.java:543)[110:io.netty.transport:4.0.27.Final]
    at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:528)[110:io.netty.transport:4.0.27.Final]
    at io.netty.channel.ChannelOutboundHandlerAdapter.connect(ChannelOutboundHandlerAdapter.java:47)[110:io.netty.transport:4.0.27.Final]
    at io.netty.channel.CombinedChannelDuplexHandler.connect(CombinedChannelDuplexHandler.java:167)[110:io.netty.transport:4.0.27.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeConnect(AbstractChannelHandlerContext.java:543)[110:io.netty.transport:4.0.27.Final]
    at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:528)[110:io.netty.transport:4.0.27.Final]
    at io.netty.channel.ChannelDuplexHandler.connect(ChannelDuplexHandler.java:50)[110:io.netty.transport:4.0.27.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeConnect(AbstractChannelHandlerContext.java:543)[110:io.netty.transport:4.0.27.Final]
    at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:528)[110:io.netty.transport:4.0.27.Final]
    at io.netty.channel.AbstractChannelHandlerContext.connect(AbstractChannelHandlerContext.java:510)[110:io.netty.transport:4.0.27.Final]
    at io.netty.channel.DefaultChannelPipeline.connect(DefaultChannelPipeline.java:909)[110:io.netty.transport:4.0.27.Final]
    at io.netty.channel.AbstractChannel.connect(AbstractChannel.java:203)[110:io.netty.transport:4.0.27.Final]
    at io.netty.bootstrap.Bootstrap$2.run(Bootstrap.java:165)[110:io.netty.transport:4.0.27.Final]
    at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:357)[108:io.netty.common:4.0.27.Final]
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)[110:io.netty.transport:4.0.27.Final]
    at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)[108:io.netty.common:4.0.27.Final]
    at java.lang.Thread.run(Thread.java:745)[:1.8.0_91]

Environment

  • Red Hat JBoss Fuse
    • 6.2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In