I had the same issue with httpClient, however, changing http version to HTTP version 1.1 helped.
.version(HttpClient.Version.HTTP_1_1)