Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-12415

.NET: Thin client does not connect to old server nodes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 2.8
    • Component/s: platforms
    • Labels:

      Description

      Exception when trying to connect .NET Thin Client from current master (https://www.nuget.org/packages/Apache.Ignite/2.8.0-alpha20191203) to the 2.7.6 server node:

      Unhandled exception. Apache.Ignite.Core.Client.IgniteClientException: Client handshake failed: 'Unsupported version.'. Client version: 1.6.0. Server version: 1.2.0
         at Apache.Ignite.Core.Impl.Client.ClientSocket.Handshake(IgniteClientConfiguration clientConfiguration, ClientProtocolVersion version)
         at Apache.Ignite.Core.Impl.Client.ClientSocket..ctor(IgniteClientConfiguration clientConfiguration, EndPoint endPoint, String host, Nullable`1 version, Action`1 topVerCallback)
         at Apache.Ignite.Core.Impl.Client.ClientFailoverSocket.Connect()
         at Apache.Ignite.Core.Impl.Client.ClientFailoverSocket..ctor(IgniteClientConfiguration config, Marshaller marsh)
         at Apache.Ignite.Core.Impl.Client.IgniteClient..ctor(IgniteClientConfiguration clientConfiguration)
         at Apache.Ignite.Core.Ignition.StartClient(IgniteClientConfiguration clientConfiguration)
         at ConsoleApp2.Program.Main(String[] args) in /home/pavel/RiderProjects/ConsoleApp2/ConsoleApp2/Program.cs:line 14 [StatusCode=Fail]
      

      This is caused by buggy version handling logic in Handshake method. Otherwise we support any older protocol version.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ptupitsyn Pavel Tupitsyn
                Reporter:
                ptupitsyn Pavel Tupitsyn
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: