algolia / algoliasearch-client-java

⚡️ A fully-featured and blazing-fast Java API client to interact with Algolia.
https://www.algolia.com/doc/api-client/getting-started/install/java/
MIT License
47 stars 33 forks source link

fix: add cipher suites for TLSv1.3 and HTTP/2 #775

Closed aallam closed 2 years ago

aallam commented 2 years ago
Q A
Bug fix? yes
New feature? no
BC breaks? no
Related Issue n/a
Need Doc update no

Describe your change

In Java 11 (at least until 11.0.14), when the API is configured with TLSv1.3 and HTTP/2, connections using them can not be established, this happens because no available cipher suite for TLSv1.3 can be found by default.

PS: this issue does not appear in newer Java versions (i.g. Java 17) or by downgrading to HTTP/1.1