mojira.dev
MC-34947

Internal Exception: io.netty.handler.timeout.ReadTimeoutException

I will get this error occasionally when trying to join a server: Internal Exception: io.netty.handler.timeout.ReadTimeoutException

EDIT: As seen on this post, it generally happens for people with worse connections, though I never got this error in previous versions.

EDIT: It has apparently been confirmed that even with faster internet speeds, the error still occurs. Also, as pointed out in this post, it happens frequently when trying to connect to your own server too, even when using a port-forwarding program like Hamachi. This error has only been occurring since 13w41a.

EDIT: This bug is still prevalent (and really frustrating), although it does not occur as often. I have gotten this error many times since 1.7.4 release.

Linked issues

MC-35280 io.netty.handler.timeout.ReadTimeoutException Resolved MC-35553 When joining a server: "Logging in..." forever Resolved MC-35662 Receiving error: Internal Exception: io.netty.handler.timeout.ReadTimeoutException Resolved MC-35708 Internal Exception: io.netty.handler.timeout.ReadTimeoutException Resolved MC-36057 Connecting to server failed - Netty timeout Resolved

Attachments

Comments 411

Hoping for this to get fixed, can't join my server 75% of the time.

Here's a screenshot: http://i.imgur.com/govKEcU.png

Edit: Seems to only happen on the recent snapshots, and when googling, it apparently also happened with a few modpacks.
This is ruining my snapshot server because nobody can log on, please fix!

Works now all the time. Thanks Grum! 🙂

Riley Sullivan

Yeah this bug is quite a pain. My only fix is to restart the game or to spam login till it works. Neither of these things are good fixes.

Andrew Beadles

Same here. haven't been able to connect to any 13w41b servers since i started getting this error sometime last night.
I haven't even been able to fix (at all) by restarting minecraft since about 7:40 pm last night either.
EDIT: finally managed to get on, but I'm still getting kicked occasionally!

I am getting this a lot too since updating to this snapshot.

Valerie Cronin

I get this error, Internal Exception: io.netty,handler.timeout.ReadTimeoutException, 99.9% of the time. I cannot connect to 13w41b servers. 1.6.4 and lower snapshots WORK JUST FINE. The server list says 'no connection' for most online servers, and says pinging. If I do get on a server, then log off, I will appear online still (when hovering over number of players), INDEFINITELY. This error seems worse at busy times of the day (or with many servers on the list?), the connection is quite delicate now.

Edit: I am now receiving this error:
Internal Exception: io.netty.handler.codec.DecoderException: java.io.IOException: Bad packet id 64

401 more comments

Still happening on 1.15.2. can't possibly be Low Priority, c'mon Mojang. no point for me to play the game if you don't let me.

Harrison John Whelan

me too, 1.15.2 Forge LAN conection

Damian Naruszko

1.15.2

I found my way to this post after my friend kept on being disconnected from my LAN world. After a little bit of digging in the end it turned out that I didn't have Java installed. After installing Java my friend is no longer getting kicked and everything is working as intended. Don't know the technical side of things and why this worked but I thought it would be worthwhile mentioning this in case others could also use this simple fix 🙂

Good luck!

Christian CHavez

1.15.2

So I may be a little late, but I did find a fix, for at least myself. After not being able to play for about 20 minutes, I checked firewall settings, and my "processes" in the task manager and it turned out I had a SECOND launcher open in the background, which presumably is trying to launch the game again, therefore giving the force close because the system is not technically allowed to let that happen. Again this fix worked for me, and hopefully you as well. I am also not a technical genius, it is just my interpretation on the matter.

I think this might be the fix for both Windows and Mac users. Here's the video tutorial by tech How. I'll simplify it here.

Windows
1. Go to your ipv4 setting (e.g. Control Panel>Network and Internet>Network and Sharing Centre>Connection:Your internet setting>Properties>Double-click "Internet Protocol Version 4")
3. Select "Use the following DNS server addresses"
4. Change the setting to "Preferred DNS server: 8.8.8.8" and "Alternate DNS server: 8.8.4.4"
5. Click "OK" and done!

Mac
1. Go to your ipv4 setting (e.g. System Preferences>Network>Advanced...>DNS)
2. Click the "+" to add "8.8.8.8" and "8.8.4.4" to both DNS servers (and Search Domain if not working)
3. Click "OK" and done!

I had the connection timed out issue on my friend's 1.12.2 forge modded server. I was often able to load 1 frame before the "Connection Timed Out" and get disconnected (or only "Disconnected", "netty.io...ReadTimeoutException", etc)
The video by tech How was for Windows but editing the dns setting also work on my macOS Big Sur 11.5.1. It took me hours to find the fix. I recommend installing the latest version of Java since I'm not sure if it's also part of the solution. Hopefully this works for whoever was having the same problem. 

Krist Pregracke

(Unassigned)

Confirmed

Platform

Low

Networking

multiplayer

Minecraft 13w41a, Minecraft 13w41b, Minecraft 13w42a, Minecraft 13w42b, Minecraft 13w43a, ..., Minecraft 1.11.2, Minecraft 1.12.2, 1.14.4, 1.15.2, 1.19

Minecraft 1.7.1

Retrieved