Nordstrom / xrpc

Simple, production ready Java API server built on top of functional composition.
Apache License 2.0
17 stars 17 forks source link

SSL Handshake Failure #137

Open patrickdent opened 6 years ago

patrickdent commented 6 years ago

Summary

Getting handshake failures when attempting to connect to a secure service.

Steps to reproduce

Perform a request to an https endpoint.

Expected behavior

Request succeeds.

Actual behavior

Request throws javax.net.ssl.SSLHandshakeException

Minimal yet complete reproducer code (or URL to code)

      val url = "https://example.com";
      val requestBodyContent =
          mapper
              .createObjectNode()
              .put("key1", "val1")
              .put("key2", "val2")
              .toString();

      val request =
          Recipes.newRequestPost(
              url, requestBodyContent, Recipes.ContentType.Application_Json);

      FullHttpResponse response = client.newCall(url).get(nAuthRequest).execute().get(); //throws exception

xrpc version

0.2.2

jkinkead commented 6 years ago

Can you include the code used to create the client?