当前位置:   article > 正文

Syatem.Net.WebException:基础连接已经关闭:未能为 SSL/TLS 安全通道建立信任关系。_pcl错误类型:system.security.authentication.authenticat

pcl错误类型:system.security.authentication.authenticationexception

错误日志

---System.Security.Authentication.AuthenticationException:根据验证过程,远程证书无效。 在

System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message,AsyncProtocolRequest asyncRequest, Exception exception)System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message,AsyncProtoco1Request asyncRequest)System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes,AsyncProtocolRequest asyncRequest)Syatem.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)

System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message,AsyncProtocolRequSyatem.Net.WebException:基础连接已经关闭:未能为 SSL/TLS 安全通道建立信任关系。est asyncRequest) System.Net.Security.SslState.StartSendB1ob(Byte[] incoming, Int32 count,AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.StartReadFrame(Byte[] buffer,Int32 readBytes, AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.CheckCompletionBeforeNextReceive(Protoco1Token message,AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.StartSendBlob(Byte[] incoming,Int32 count, AsyncProtocolRequest asyncRequest)System.Net.Security. SslState. ProcessReceivedBlob (Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes,AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.CheckCompletionBeforeNextReceive (ProtocolToken message, AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.StartSendB1ob(Byte[] incoming,Int32 count,AsyncProtoco1Request asyncRequest)System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count,AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.StartReadFrame(Byte[] buffer,Int32 readBytes, AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.StartReceiveBlob (Byte[] buffer, AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.CheckCompletionBeforeNextReceive (ProtocolToken message, AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.StartSendB1ob (Byte[] incoming,Int32 count,AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.StartReadFrame (Byte[] buffer, Int32 readBytes,AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.CheckComp let ionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count,AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.StartReadFrame(Byte[] buffer,Int32 readBytes,AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)System.Net.Security.SalState.CheckCompletionBeforeNextReceive(ProtocolToken message,AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.StartSendB1ob(Byte[] incoming, Int32 count,AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer,Int32 count, AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)System.Net.Security.SalState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.StartSendBlob(Byte[] incoming,Int32 count,AsyncProtocolRequest asyncRequest)System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)

System.Net.TlsStream.CallProcessAuthentication(Object state)

Syatem.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext,ContextCallback callback, Object state,Boolean preserveSyncCtx) System.Threading.Execut ionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state,Boolean preserveSyncCtx)

System.Threading.ExecutionContext.Run(ExecutionContext executionContext,ContextCallback callback, Object state) System.Net.TlsStream.Processhuthentication(LazyAsyncResult result)SystemNetTlsStreamWriteByte[] buffer, Int32 offset, Int32 size) 在SystemNetPooledStreamWriteByte[] buffer, Int32 offset, Int32 size) 在System.Net.ConnectStream.WriteHeadersBoolean async)

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88

二、错误原因

本次服务是由Nginx从内网代理到外网,再从外网代理到内网,并在内网中通过ip和端口号进行访问。经过查询,是由于一个Nginx的协议修改后,并未对另一个Nginx进行修改。
在这里插入图片描述

三、解决办法

将两个Nginx的协议进行同步修改。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/689520
推荐阅读
相关标签
  

闽ICP备14008679号