After disabling TLS 1.0 and TLS 1.1, Google ReCaptcha v3 was not working.

K Teja Satya Kiran Reddy 1 Reputation point
2020-12-17T10:55:32.397+00:00

Hi Team,

Please help me out from this. recently we disable TLS 1.0 and 1.1 and enable 1.2. After disabling TLS 1.0 and 1.1 Google ReCaptcha v3 was not working. below are the error.

System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.ComponentModel.Win32Exception: The client and server cannot communicate, because they do not possess a common algorithm
at System.Net.SSPIWrapper.AcquireCredentialsHandle(SSPIInterface SecModule, String package, CredentialUse intent, SecureCredential scc)
at System.Net.Security.SecureChannel.AcquireCredentialsHandle(CredentialUse credUsage, SecureCredential& secureCredential)
at System.Net.Security.SecureChannel.AcquireClientCredentials(Byte[]& thumbPrint)
at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Net.TlsStream.CallProcessAuthentication(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.ConnectStream.WriteHeaders(Boolean async)
--- End of inner exception stack trace ---
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at System.Net.WebClient.DownloadString(String address)
at ReCaptchaClass.ValidateReCaptcha(String gresponse)

Please help me out from this issue.

Thanks

Community Center | Not monitored
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. cheong00 3,486 Reputation points Volunteer Moderator
    2020-12-17T11:30:25.487+00:00

    Please refer to this documentation and see if your project and running environment (OS version and .NET framework version) satisfied the requirement.

    0 comments No comments

  2. Joy Qiao 4,911 Reputation points Microsoft Employee Moderator
    2020-12-18T09:12:42.173+00:00

    Hi,

    As third party software support is out of our support scope, please allow me to change the task to no-support.

    I found others customer feedback it could use when leave TLS 1.0 or TLS 1.1 enable, and at same time with TLS 1.2 enable, ReCaptcha works well. Please also try to check on your side. But for more information, we would recommend to contact with Google support to check if they have any hints our resources about it.

    Bests,

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.