微信接口问题(The underlying connection was closed: An unexpected error occurred on a send)

忽然在调用微信接口是报:The underlying connection was closed: An unexpected error occurred on a send错误,跟踪了半天,是由于在调用阿里人脸识别接口时,接认证设置成了SSL3,而微信接口支持TLS,因此就会报错。而且在更新后又正常的问题,微信

ServicePointManager.SecurityProtocol = SecurityProtocolType.SSL3;接口

相关文章
相关标签/搜索