pdelvo / Pdelvo.Minecraft.Proxy

MineProxy.Net
MIT License
7 stars 0 forks source link

Exception on failed login #20

Closed ImDeity closed 12 years ago

ImDeity commented 12 years ago

Seems when a user fails to login (likely a client problem), this error is output:

ERROR [2012-08-20 21:32:07,671] - Failed to login a Client
    System.IO.EndOfStreamException: Attempted to read past the end of the stream.
       at Pdelvo.Minecraft.Network.BigEndianStream.<ReadByteAsync>d__0.MoveNext() in
     c:\Users\Deity\Desktop\Pdelvo.Minecraft.Proxy\externals\minecraftlib\Pdelvo.Mi
    necraft.Network\BigEndianStream.cs:line 75
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot
    ification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
       at Pdelvo.Minecraft.Protocol.PacketEndPoint.<ReadPacketAsyncInternal>d__16.Mo
    veNext() in c:\Users\Deity\Desktop\Pdelvo.Minecraft.Proxy\externals\minecraftli
    b\Pdelvo.Minecraft.Protocol\PacketEndPoint.cs:line 297
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot
    ification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
       at Pdelvo.Minecraft.Protocol.RemoteInterface.<ReadPacketAsync>d__1f.MoveNext(
    ) in c:\Users\Deity\Desktop\Pdelvo.Minecraft.Proxy\externals\minecraftlib\Pdelv
    o.Minecraft.Protocol\RemoteInterface.cs:line 367
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot
    ification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
       at Pdelvo.Minecraft.Proxy.Library.Connection.ProxyConnection.<HandleClient>d_
    _a.MoveNext() in c:\Users\Deity\Desktop\Pdelvo.Minecraft.Proxy\Pdelvo.Minecraft
    .Proxy\Pdelvo.Minecraft.Proxy.Library\Connection\ProxyConnection.cs:line 119
     INFO [2012-08-20 21:32:07,687] - Kaycie2002 lost connection, message: Failed to
     login

Edit: Sorry about the code formatting mess.