Symptom

When sending a web request using HTTPClient object with a method like SendRequest or using RESTClient object with a method like SendPostRequest to a server that only supports TLS1.0, you will get the error code -19 or -33.

According to the documentation, the description of the error is: TLS 1.3 error. The server does not support TLS 1.3.

Note: The error description is incorrect. It will be corrected in a later release.


Environment 

PowerBuilder 2019 R3 and later


Cause

The client machine is prohibited to use TLS1.0 while the server only supports TLS1.0. 


Resolution

  • Change the Enabled value of the following path in the registry to 1:

      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS1.0\Client

  • Restart the computer and verify if it resolves the issue.


Reference link

https://learn.microsoft.com/en-us/windows-server/security/tls/tls-registry-settings?tabs=diffie-hellman#tls-10

 

4
2