Connection lost when connecting to server
When attempting to connect to a 14w28a server, the client is disconnected and is shown the following message:
Connection Lost
Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(1389927) + length(135424) exceeds writerIndex(1477223): UnpooledHeapByteBuf(ridx: 1389927, widx : 1477223, cap: 1477223/1477223)
The server logs the following message:
[11:56:18 INFO]: Guy lost connection: TranslatableComponent{key='disconnect.genericReason', args=[Internal Exception: java.io.IOException: An established connection was aborted by the software in your host machine], siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
Environment
Windows 8.1 64-bit, Java 7u60
Created Issue:
Connection lost when connecting to server
When attempting to connect to a 14w28a server, the client is disconnected and is shown the following message:
Connection Lost
Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(1389927) + length(135424) exceeds writerIndex(1477223): UnpooledHeapByteBuf(ridx: 1389927, widx : 1477223, cap: 1477223/1477223)
The server logs the following message:
[11:56:18 INFO]: Guy lost connection: TranslatableComponent{key='disconnect.genericReason', args=[Internal Exception: java.io.IOException: An established connection was aborted by the software in your host machine], siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
Environment
Windows 8.1 64-bit, Java 7u60
is duplicated by
is duplicated by
After connecting to a server, I was after a minute or two disconnected with an io.netty.handler.timeout.ReadTimeoutException.
When I go back to the server list, the server says that 1 player is online. Hovering over the player count, that player is myself.
Attempting to reconnect immediately displays the same ReadTimeoutException. For whatever reason, the server thinks I'm still online and that causes any additional connection attempts to fail.
I tried to kick myself using the server console, which displayed “Kicked Fenhl from the game” but didn't actually cause any changes to the server status.
The bug affects the same Survival server I mentioned in the comments of MC-61128 (after the server restart that fixed MC-61128 for me), but not the Creative server, so the two issues might be related. Restarting the server again fixes this but causes MC-61128 to occur again.
Same thing is happening to me and my friends, we have tried about 20 different things to fix the bug but nothing is happening. I made a post about this also still no response. MC-72919 this is not resolved please don't close this thread cannot play survival servers until fixed. This also relates to MC-61128 which is resolved/fixed currently by Dinnerbone, possibly waiting for patch?
This looks a lot like an error we were getting on an existing world a friend was hosting.
In our case, the culprit was barrier blocks that were placed a y 256, removing them stopped the issue as far as we can tell.
I don't know if this is the exact same problem, though, but the error looks the same
For me the numbers are different but otherwise it's the same error message. Other players can join the server just fine, it's just me who can't log in. Our world doesn't have any barrier blocks in it.
No barriers here
I am using an amplified world though, and there are blocks at the height limit, which may be the issue. There is an IndexOutOfBounds exception, so the probably might be that the buffer containing the blocks might not have room for 256 blocks, perhaps this was an off by one error and one of the devs accidentally only allocated space for 255.
I wasn't trying to say the problem would be barrier blocks, I was trying to point out their height, and we could replicate the issue by placing blocks at the top y-layer (y 255 i.e. y 256).
Probably an off-by-one error by the devs...
Possibly related to
MC-61329Update: the error occurs only on one of two servers I have tested. It occurs on a Survival server but not on the associated Creative server. After being disconnected from the Survival server with this error and joining the Creative server, the chat displays a welcome message from the Survival server in the chat. Leaving and reconnecting to the Creative server makes the welcome message disappear.
Both are vanilla servers, the welcome message is provided from an external program instead of a server mod.
Workaround: Restarting the server seems to have fixed the issue for me.
Edit: nope. That just replaced this bug with
MC-61338and the next server restart replaced that bug with this one again.This is affecting a user on my server. Snapshot 14w32c.
The console error message appears to be the same:
TranslatableComponent{key='disconnect.genericReason', args=[Internal Exception: java.io.IOException: An established connection was aborted by the software in your host machine], siblings=[], style=Style
{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
This is still broken in 1.8 I made a post
MC-72919and this relates toMC-61338Same issue here. version 1.8
"TranslatableComponent{key='disconnect.genericReason', args=[Internal Exception: java.io.IOException: An established connection was aborted by the software in your host machine], siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}"
I can confirm this is still broken. This issue needs to be reopened.
experienced this issue too with the latest build ATM.
This problem is still occurring, I don't know how to fix it. Does anyone have any ideas? Will I be able to ever get back in?
Affects 15w40a: http://bilder.ding.si/2qO496ZPwI.png
L3viathan:
MC-89643.