You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2018/04/02 08:23:00 UTC

[jira] [Created] (IGNITE-8097) Java thin client: throw handshake exception on connect phase

Vladimir Ozerov created IGNITE-8097:
---------------------------------------

             Summary: Java thin client: throw handshake exception on connect phase
                 Key: IGNITE-8097
                 URL: https://issues.apache.org/jira/browse/IGNITE-8097
             Project: Ignite
          Issue Type: Task
          Components: thin client
            Reporter: Vladimir Ozerov
             Fix For: 2.5


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)