Vertx 3.5.0 netty exceptions - connection refused (localhost)

1,124 views
Skip to first unread message

Thomas Gilbert

unread,
Nov 29, 2017, 12:25:31 PM11/29/17
to vert.x
Hi !

Since I updated to Vertx 3.5.0 (java), I receive a lot of exceptions like the one below when the cluster is starting up, or something happens in it (e.g. a member has left or is joining) :
Note that I do not have the problem on Windows 10, only in my UAT environment on AWS (Amazon Linux).

I doubt it's a security group issue is it was working before I upgraded to 3.5.0...
I checked the local ports opened for listening and that one is not (45475).

io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:45475
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.8.0_151]
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) ~[na:1.8.0_151]
        at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:353) ~[netty-transport-4.1.15.Final.jar!/:4.1.15.Final]
        at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340) ~[netty-transport-4.1.15.Final.jar!/:4.1.15.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:633) ~[netty-transport-4.1.15.Final.jar!/:4.1.15.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580) ~[netty-transport-4.1.15.Final.jar!/:4.1.15.Final]
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497) ~[netty-transport-4.1.15.Final.jar!/:4.1.15.Final]
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459) ~[netty-transport-4.1.15.Final.jar!/:4.1.15.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) ~[netty-common-4.1.15.Final.jar!/:4.1.15.Final]
        at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_151]
Caused by: java.net.ConnectException: Connection refused
        ... 10 common frames omitted


Any idea ? 
Many thanks in advance!

sudhir kumar

unread,
Dec 2, 2017, 11:54:28 PM12/2/17
to vert.x
Reply all
Reply to author
Forward
0 new messages