-
Notifications
You must be signed in to change notification settings - Fork 727
Protocol is hard coded for discovered nodes #196
Comments
Please also notice that you are also losing any authentication used in the first connection URL provided via the client configuration builder or add server method. I think that also authentication credentials should be passed separately to the client confing so that they can be used along with the selected protocol when reading creating the connection url during node check. (cross posting from #195, sorry) |
Well that was already a workaroundy way of passing the auth details 😛, |
It is still unclear to me how can I provide the
to my knowledge this is where I can set my
|
Currently you can modify |
As ES does not have built-in HTTPS support and it can only be achieved with a plugin or a custom layer on top of ES, it seems to me there is no way to programmatically tell if a discovered node supports HTTPS; please correct me if I'm wrong. In that case my solution would be to provide a method in |
That's correct but since 3707ee1 commit it is my understanding that there is a proper way to specify authentication (and, protocol): this means that the same authentication process should be applied to any of the discovered nodes, thus including the protocol that needs to be used to connect to the discovered node. |
Yeah the authentication details provided earlier will be used for discovered nodes too (automatically as those details are registered on HttpClient itself). But there is still no way to pass protocol other than within the url (to jest) therefore I propose something like:
|
Understood. That should certainly do the trick. 2015-05-01 16:54 GMT+02:00 Cihat Keser notifications@github.com:
Manuel Lazzari Senior Software Engineer | Tribecube |
Awesome! Any hints on when a new jar will be released? 2015-05-11 16:44 GMT+02:00 Cihat Keser notifications@github.com:
Manuel Lazzari Senior Software Engineer | Tribecube |
This weekend (as posted in our awesome changelog 👅 ) |
Protocol for newly discovered nodes is hard coded as
http
byNodeChecker
.reported by @mlazzari-tribecube in #195
The text was updated successfully, but these errors were encountered: