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.

Server not Joinable by Client

See original GitHub issue

Description: On the newest Update of CSM Clients can not join the Host it returns an Error for the Host (Error while parsing command, see log)

Steps to reproduce the behavior:

  1. Join Server as Client or have Client join your Server

Expected behavior Connect without Issues/Error

Active DLCs -None

Active mods -Harmony 2.2-0 -Cities Skylines Multiplayer (CSM)

Versions

  • Mod version: 2209.211
  • Game version: 2022.10 / 1.15.0-f7

Additional context

Log File Encountered an error while reading command from (Joining Client IPADDRESS):: System.ArgumentNullException: Argument cannot be null. Parameter name: first at System.Linq.Check.FirstAndSecond (System.Object first, System.Object second) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.SequenceEqual[String] (IEnumerable1 first, IEnumerable1 second, IEqualityComparer1 comparer) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.SequenceEqual[String] (IEnumerable1 first, IEnumerable1 second) [0x00000] in <filename unknown>:0 at CSM.Commands.Handler.Internal.ConnectionRequestHandler.HandleOnServer (CSM.Commands.Data.Internal.ConnectionRequestCommand command, LiteNetLib.NetPeer peer) [0x00000] in <filename unknown>:0 at CSM.Commands.CommandReceiver.Parse (LiteNetLib.NetPacketReader reader, LiteNetLib.NetPeer peer) [0x00000] in <filename unknown>:0 at CSM.Networking.Server.ListenerOnNetworkReceiveEvent (LiteNetLib.NetPeer peer, LiteNetLib.NetPacketReader reader, DeliveryMethod deliveryMethod) [0x00000] in <filename unknown>:0

-Multiple people have reported this on the Discord so I doubt its a isolated Case

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

7reactions
kaenganxtcommented, Sep 15, 2022

I just tested an assumption I had. When the list of mods is empty, protobuf seems to send null to the other side, which then causes the issue. Fix coming up shortly 😃

0reactions
chrisi51commented, Sep 15, 2022

I just tested an assumption I had. When the list of mods is empty, protobuf seems to send null to the other side, which then causes the issue. Fix coming up shortly 😃

was thinking the same but didnt had same content on both machines for testing it xD

Read more comments on GitHub >

github_iconTop Results From Across the Web

1.18.1 Forge server not joinable - Support & Bug Reports
log from server and client showing the join attempt. The server isn't visible on my main pc, just the pc i use as...
Read more >
Client not able to connect with Server
Troubleshoot : Client not connecting Server · 1. Make sure Server is running · 2. Connect client from the server running host ·...
Read more >
mods in server not working despite working client side
i never thought id go to a minecraft website for help, but whatever here it goes. Lately ive tried to make a server...
Read more >
tcp/ip client server not working over internet
I'm going to setup a small client/server server in TCP/IP mode, I use VS2010,C# to develop my apps, I've googled a lot and...
Read more >
Client RPC to server not working : r/unrealengine
I'm having some trouble with an RPC. I have a door that I want to have the client be able to open using...
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