function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Hari Krishna KrishnamHari Krishna Krishnam 

Call out Exception with TLSv1

Hi,

We have done a call out to external system and got below error.


02:29:49.22 (252404337)|FATAL_ERROR|System.CalloutException: Server chose TLSv1, but that protocol version is not enabled or not supported by the client.

Please let us know how to solve this error.

we are using Rest call out for this service.

Thanks!
 
lalitaroralalitarora
TLSv1 is a security protocol used by web services to talk to each other. If this version of TLS is disabled in your Salesforce service then you might face this issue with the above mentioned error.

You can easily re-enable TLSv1 by doing the following.
1) Go to Build > Critical Updates
2) Under the Update Name column, look for "Require TLS 1.1 or higher for HTTPS connections"
3) For the row that has "Require TLS 1.1 or higher for HTTPS connections", click the "Deactivate" link

If you want to reactivate this update in the future, just click the "Activate" link. 

If this option not available on Sandbox for your org you might need to get in touch with salesforce for that.