Azure / Azure/azure-kusto-java
SSL Exception From HTTP Apache Client Library
- Dominant language
- Java
- Stars
- 46
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
A clear and concise description of what the bug is.
There is an issue with the HTTP client inside the client library where the request fails every time when we try to retrieve certain elements from ADX (paged response from a stored query result) when it is done with the same parameters (the same pages fail).
**To Reproduce**
Steps to reproduce the behavior:
Create a big stored query result (~1GB) and retrieve the result paged. What seems to appear random, for certain requests the `EntityUtils.toString(entity)` method invocation in the file "com.microsoft.azure.kusto.data.Utils" throws an IOException, because of an SSL exception (see screenshot) about wrong padding, that comes from the HTTP Apache Client library that is used. In the end, it results in a `DataClientException`. This request did/will never succeed even with retries.
**Expected behavior**
With other HTTP clients (OkHttpClient, AsyncHttpClient), cURL and tools like Postman or Insomnia I'm able to do the same request and get the result, without any exception (see screenshot). So maybe a change to another HTTP client library could be a solution.
**Screenshots**
If applicable, add screenshots to help explain your problem.


**Desktop (please complete the following information):**
- OS: MacOS/Linux
- SDK Version: 5.0.2/3
**Additional context**
Add any other context about the problem here.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.