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
AkoAko 

Oauth + TLS 1.0 random failures

I am building a plugin that connects to Salesforce via OAuth. It is working flawlessly on one server, but on a customers it is randomly getting the "Stronger security is required" TLS error message from Salesforce.
It is doing a CURL request to get an access token from Salesforce. Sometimes it works, sometimes it gets the TLS 1.0 error.
The only difference I can see from my own server (which always works) is that the customer is using "NSS/3.21 Basic ECC" for cURL (my own server is "OpenSSL/1.0.1f").

Does anyone know why such sporadic behaviour might be happening? I am out of ideas.
 
SandhyaSandhya (Salesforce Developers) 
Hi ,

Try to enable TLS1.1 and TLS1.2 .

Please refer below document for more information.

https://help.salesforce.com/apex/HTViewSolution?id=000221207#DataLoader
 
https://success.salesforce.com/answers?id=9063A000000svjmQAA
 
Hope this helps you!

Please accept my solution as Best Answer if my reply was helpful. It will make it available for other as the proper solution.

Thanks and Regards
Sandhya