DotNet demo connect Selfhost failed
Comments
-
Hi @JohnTube ,
I use .net version is v4.1.2.14.
demo loadbalancing
my selfhost server version is 4.0.29.11263
The class is DemoClient ,
I debug the host server code,the client nerver connected to server.the StatusCode is "DisconnectByServerReasonUnknown"
I just change the this.MasterServerAddress to my server address
0 -
Hi @coco,
I see.
This is probably an issue with the serialization protocol.
before connecting do this:loadBalancingClient.LoadBalancingPeer.SerializationProtocolType = SerializationProtocol.GpBinaryV16;
orthis.LoadBalancingPeer.SerializationProtocolType = SerializationProtocol.GpBinaryV16;
Read more here.0