question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /127.0.0.1:11235 when established 2000 connections from netty client program at netty client side

See original GitHub issue

Expected behavior

No Error

Actual behavior

As i am making 2000 concurrent connections(TLS Connections) from java netty client program to netty server which is running on same host. But after 500 or 1000 connections i am getting below error at netty client side,

Jan 16, 2017 8:30:28 PM io.netty.util.concurrent.DefaultPromise notifyListener0 WARNING: An exception was thrown by veni.client.Client$1.operationComplete() io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /127.0.0.1:11235 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source) at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:346) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:630) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:565) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:479) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:441) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144) at java.lang.Thread.run(Unknown Source)

but when i run the same client program with inserting Thread.sleep(50) i didn’t get above error at client side. So whats the reason or whats wrong in the code?

Steps to reproduce

Minimal yet complete reproducer code (or URL to code)

https://drive.google.com/drive/folders/0B4wkBrJ4uyHMY3lraVVMWnBBRE0?usp=sharing

Netty version

Netty client version 4.1.7.Final and netty server v

ersion 4.1.7.Final

JVM version (e.g. java -version)

JRE1.8.0_101

OS version (e.g. uname -a)

Windows Server 2012 R2 Standard

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:2
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
KillerMaster184commented, Aug 8, 2017

I can’t Play murderer In this sever in minecraft mc.pigparty.eu so if you can fix i will be super happy

2reactions
XiaLeoncommented, Jan 15, 2019

Hi @maybhi I met this same issue, have you solved this issue now ? If you have resolved it, can you please tell me the solution? Thanks a lot !

Read more comments on GitHub >

github_iconTop Results From Across the Web

spring - Exception connection refused - Stack Overflow
1.Please verify mongodb is installed by db.version() from mongo console. 2.Verify mongo service status is running or not.
Read more >
io.netty.channel.abstractchannel$annotatedconnectexception
Simply put it is a connection error, where the computer you are on is trying to establish a connection to the Minecraft server...
Read more >
3 Ways To Fix Minecraft io.netty.channel ... - YouTube
Minecraft Failed to connect to the server. io. netty. channel. AbstractChannel $ AnnotatedConnectException : Connection refused : no further ...
Read more >
Fix minecraft io.netty.channel.abstractchannel ... - YouTube
In this tutorial, I show you how to fix the Minecraft connection timed out - io. netty. channel. abstractchannel $ annotatedconnectexception error, ...
Read more >
Caused io netty channel AbstractChannel ... - Edureka
I am trying to set one Cloud Node in Jenkins. But it gives me the below error. java.net.ConnectException: Connection refused Caused: io.netty.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found