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.

Randomly being disconnected from server. LmpCommon.Message.Data.Vessel.VesselProtoMsgData

See original GitHub issue

Remember to attach the “KSP.log” and the “output_log.txt” whenever is possible!
You can find the KSP.log in “.\Kerbal Space Program\KSP.log”
And output_log.txt in “C:\Users\YOURUSERNAME\AppData\LocalLow\Squad\Kerbal Space Program\output_log.txt” (you probably need to display hidden folders to get into AppData)

In case you are using a nighly build of LMP from appveyor include the build number. For example: 0.0.9.384 Otherwise, specify the version of LMP you are using from the github releases.

If you have access to the server. Please zip the whole “Universe” and “Config” folder. Also if you are running mods in the server, attach the “LMPModControl.txt”

— KSP Log — KSP.log

— requested output log — output_log.txt

— server log — lmpserver_2018-10-13_18-32-17.log

— server universe and config files — uni and config.zip




OS: Windows 10


KSPVersion: 1.4.5.2243


LMP version (include the build number if you are using a nighly build): 0.14.51


MODS (add link to download them): None (besides LMP of course)


Expected behaviour: Not to be randomly disconnected


Current behaviour: Randomly disconnecting. Seems to occur upon launching a craft from any one player. Other people are reporting possibly during scene changes <- Unconfirmed. This error was showing from the server console when disconnects occurred: Client ShortguyGMR disconnected in Send network message error: , Endpoint 99.127.189.251:55650, error: Error serializing message! MsgDataType: LmpCommon.Message.Data.Vessel.VesselProtoMsgData Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array. at CachedQuickLz.CachedQlz.Compress(Byte[]& data, Int32& length, Int32 level) at LmpCommon.Message.Data.Vessel.VesselProtoMsgData.InternalSerialize(NetOutgoingMessage lidgrenMsg) in C:\projects\lunamultiplayer\LmpCommon\Message\Data\Vessel\VesselProtoMsgData.cs:line 22 at LmpCommon.Message.Base.MessageData.Serialize(NetOutgoingMessage lidgrenMsg) in C:\projects\lunamultiplayer\LmpCommon\Message\Base\MessageData.cs:line 42 at LmpCommon.Message.Base.MessageBase`1.Serialize(NetOutgoingMessage lidgrenMsg) in C:\projects\lunamultiplayer\LmpCommon\Message\Base\MessageBase.cs:line 112


Steps to reproduce: We seemed to be able to reproduce by simply playing for a few minutes (usually about 5-10 minutes). I would typically be knocked out of the server when someone was launching a craft while I was on the KSC scene.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
thygrrrcommented, Oct 16, 2018

If we happen to be online at the same time, if it’s ok with you I’d like to join the server with the client debugger running to see if I can catch the problem.

1reaction
jan-vdmcommented, Oct 16, 2018

No all three vanilla installs and reverted back to KSP version 1.4.5. We kept trying to have 3 people playing but as soon as one of them left the problem didn’t seem to occur again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Anyone else getting random disconnects? : r/Eve
The server seems to be very sensitive to lag spikes, causing a disconnect. I suspect somewhere in the path from your client to...
Read more >
Player randomly being disconnected from server but still ...
Seems to be an issue with packets sending out that are breaking/stops working entirely, but receiving packets just randomly breaks is fine. 1 ......
Read more >
My server keeps randomly disconnecting me and everyone ...
It doesn't reliably disconnect me in a specific pattern. Rather, it just randomly disconnects everyone at some random day at some random time....
Read more >
Player randomly being disconnected from server but still ...
Looks like the lost connection message is showing to some players (mostly on mobile) while they are still connected to the server causing...
Read more >
Client seemingly randomly disconnects from server on ...
My client computer is the only client to be disconnected, other clients from other people are never disconnected.
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