You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HttpClient call fails with: "The SSL connection could not be established, see inner exception. Authentication failed because the remote party sent a TLS alert: 'HandshakeFailure'. The message received was unexpected or badly formatted." in version 25, SaaS environment. In older versions and Docker, the same call works without problems.
This API is used to generate a unique identifier and has worked for years without any problems. Other ECHA API endpoints, e.g., https://api.ecs.echa.europa.eu/submission/v3, are working without any issues.
3. Expected behavior
The HttpClient call succeeds.
4. Actual behavior
The HttpClient call fails with the following GetLastErrorText():
"The SSL connection could not be established, see inner exception. Authentication failed because the remote party sent a TLS alert: 'HandshakeFailure'. The message received was unexpected or badly formatted"
5. Versions:
AL Language: V14
Visual Studio Code:
Business Central: 25.2.27863.0 (SaaS)
List of Visual Studio Code extensions that you have installed:
Operating System:
[ *] Windows
Linux
MacOS
Final Checklist
Please remember to do the following:
[ X] Search the issue repository to ensure you are reporting a new issue
[ X] Reproduce the issue after disabling all extensions except the AL Language extension
[ X] Simplify your code around the issue to better isolate the problem
The text was updated successfully, but these errors were encountered:
I don't know because it started with that update, but in that post, it is stated that the change was reverted. So I don't understand why there has been a handshake failure since the update.
1. Describe the bug
HttpClient call fails with: "The SSL connection could not be established, see inner exception. Authentication failed because the remote party sent a TLS alert: 'HandshakeFailure'. The message received was unexpected or badly formatted." in version 25, SaaS environment. In older versions and Docker, the same call works without problems.
2. To Reproduce
var
Client: HttpClient;
...
IsSuccessful := Client.Get('https://ufi.echa.europa.eu/ufi/createUFIByCount?startFormulationNumber=1&count=1', Response);
if not IsSuccessful then begin
Error(GetLastErrorText());
end;
This API is used to generate a unique identifier and has worked for years without any problems. Other ECHA API endpoints, e.g., https://api.ecs.echa.europa.eu/submission/v3, are working without any issues.
3. Expected behavior
The HttpClient call succeeds.
4. Actual behavior
The HttpClient call fails with the following GetLastErrorText():
"The SSL connection could not be established, see inner exception. Authentication failed because the remote party sent a TLS alert: 'HandshakeFailure'. The message received was unexpected or badly formatted"
5. Versions:
AL Language: V14
Visual Studio Code:
Business Central: 25.2.27863.0 (SaaS)
List of Visual Studio Code extensions that you have installed:
Operating System:
[ *] Windows
Linux
MacOS
Final Checklist
Please remember to do the following:
[ X] Search the issue repository to ensure you are reporting a new issue
[ X] Reproduce the issue after disabling all extensions except the AL Language extension
[ X] Simplify your code around the issue to better isolate the problem
The text was updated successfully, but these errors were encountered: