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

Java thin client: throw handshake exception on connect phase

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5
    • thin client
    • None

    Description

      Currently a call to Ignition.startClient return client instance even if we know for sure that connection is not usable. Real exception (e.g. protocol mismatch, auth error, etc.) is thrown on attempt to execute first operation on the client. This is bad UX - use may think that everything is OK for a long time.

      Instead, connection should be established eagerly in startClient, any exception should be propagated to the user immediately.

      Attachments

        Issue Links

          Activity

            People

              kukushal Alexey Kukushkin
              vozerov Vladimir Ozerov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: