Skip to content

Keep getting this message every restart. #788

@JamesTheMan22

Description

@JamesTheMan22

I've been playing mineheroes for a while but I noticed whenever the server restarts this error pops up on all my alts.

`Unhandled Exception:
System.IO.InvalidDataException: Failed to process incoming packet of type KeepAlive. (PacketID: 0, Protocol: 47, LoginPhase: False, InnerException: System.IO.IOException). ---> System.IO.IOException: Unable to write data to the transport connection: The socket has been shut down. ---> System.Net.Sockets.SocketException: The socket has been shut down
  at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00030] in <bd46d4d4f7964dfa9beea098499ab597>:0
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000b4] in <bd46d4d4f7964dfa9beea098499ab597>:0
   --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x00107] in <bd46d4d4f7964dfa9beea098499ab597>:0
  at Org.BouncyCastle.Crypto.IO.CipherStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00029] in <8ee20ca5a0314c17850489df723f82af>:0
  at MinecraftClient.Crypto.Streams.MonoAesStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00000] in <8ee20ca5a0314c17850489df723f82af>:0
  at MinecraftClient.Protocol.Handlers.SocketWrapper.SendDataRAW (System.Byte[] buffer) [0x00008] in <8ee20ca5a0314c17850489df723f82af>:0
  at MinecraftClient.Protocol.Handlers.Protocol18Handler.SendPacket (System.Int32 packetID, System.Collections.Generic.IEnumerable`1[T] packetData) [0x000c1] in <8ee20ca5a0314c17850489df723f82af>:0
  at MinecraftClient.Protocol.Handlers.Protocol18Handler.SendPacket (MinecraftClient.Protocol.Handlers.PacketOutgoingType packet, System.Collections.Generic.IEnumerable`1[T] packetData) [0x0000d] in <8ee20ca5a0314c17850489df723f82af>:0
  at MinecraftClient.Protocol.Handlers.Protocol18Handler.HandlePacket (System.Int32 packetID, System.Collections.Generic.List`1[T] packetData) [0x00089] in <8ee20ca5a0314c17850489df723f82af>:0 
   --- End of inner exception stack trace ---
  at MinecraftClient.Protocol.Handlers.Protocol18Handler.HandlePacket (System.Int32 packetID, System.Collections.Generic.List`1[T] packetData) [0x00bf0] in <8ee20ca5a0314c17850489df723f82af>:0
  at MinecraftClient.Protocol.Handlers.Protocol18Handler.Update () [0x00036] in <8ee20ca5a0314c17850489df723f82af>:0
  at MinecraftClient.Protocol.Handlers.Protocol18Handler.Updater () [0x00007] in <8ee20ca5a0314c17850489df723f82af>:0
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00017] in <8f2c484307284b51944a1a13a14c0266>:0
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in <8f2c484307284b51944a1a13a14c0266>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00031] in <8f2c484307284b51944a1a13a14c0266>:0
  at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.InvalidDataException: Failed to process incoming packet of type KeepAlive. (PacketID: 0, Protocol: 47, LoginPhase: False, InnerException: System.IO.IOException). ---> System.IO.IOException: Unable to write data to the transport connection: The socket has been shut down. ---> System.Net.Sockets.SocketException: The socket has been shut down
  at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00030] in <bd46d4d4f7964dfa9beea098499ab597>:0
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000b4] in <bd46d4d4f7964dfa9beea098499ab597>:0
 --- End of inner exception stack trace ---
 at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x00107] in <bd46d4d4f7964dfa9beea098499ab597>:0
 at Org.BouncyCastle.Crypto.IO.CipherStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00029] in <8ee20ca5a0314c17850489df723f82af>:0
 at MinecraftClient.Crypto.Streams.MonoAesStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00000] in <8ee20ca5a0314c17850489df723f82af>:0
 at MinecraftClient.Protocol.Handlers.SocketWrapper.SendDataRAW (System.Byte[] buffer) [0x00008] in <8ee20ca5a0314c17850489df723f82af>:0
 at MinecraftClient.Protocol.Handlers.Protocol18Handler.SendPacket (System.Int32 packetID, System.Collections.Generic.IEnumerable`1[T] packetData) [0x000c1] in <8ee20ca5a0314c17850489df723f82af>:0
 at MinecraftClient.Protocol.Handlers.Protocol18Handler.SendPacket (MinecraftClient.Protocol.Handlers.PacketOutgoingType packet, System.Collections.Generic.IEnumerable`1[T] packetData) [0x0000d] in <8ee20ca5a0314c17850489df723f82af>:0
 at MinecraftClient.Protocol.Handlers.Protocol18Handler.HandlePacket (System.Int32 packetID, System.Collections.Generic.List`1[T] packetData) [0x00089] in <8ee20ca5a0314c17850489df723f82af>:0
 --- End of inner exception stack trace ---
 at MinecraftClient.Protocol.Handlers.Protocol18Handler.HandlePacket (System.Int32 packetID, System.Collections.Generic.List`1[T] packetData) [0x00bf0] in <8ee20ca5a0314c17850489df723f82af>:0
 at MinecraftClient.Protocol.Handlers.Protocol18Handler.Update () [0x00036] in <8ee20ca5a0314c17850489df723f82af>:0
 at MinecraftClient.Protocol.Handlers.Protocol18Handler.Updater () [0x00007] in <8ee20ca5a0314c17850489df723f82af>:0
 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00017] in <8f2c484307284b51944a1a13a14c0266>:0
 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in <8f2c484307284b51944a1a13a14c0266>:0
 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00031] in <8f2c484307284b51944a1a13a14c0266>:0
 at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    a:bugCrash or feature not working as expectedin:protocol-compatibilityRelated to implementing new Minecraft versionsresolvedThe issue has been resolved

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions