突然某一天获取openid时这样了,
[IOException: 由于远程方已关闭传输流,身份验证失败。] System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) +6163337 System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) +85 System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) +61 System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) +137 System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) +143 System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) +99 System.Net.TlsStream.CallProcessAuthentication(Object state) +47 System.Threading.ExecutionContext.runTryCode(Object userData) +80 System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) +0 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) +105 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx) +125 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) +43 System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) +798 System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) +58 System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size) +26 System.Net.ConnectStream.WriteHeaders(Boolean async) +139
你好,请问具体调用那个接口获取的openID呢?
ServicePointManager.SecurityProtocol只能设置到240,再往上的就不支持的协议