“无法从传输连接中读取数据” SSL连接错误 [英] "Unable to read data from the transport connection" error with SSL connection

查看:169
本文介绍了“无法从传输连接中读取数据” SSL连接错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在WM6设备上有一个应用,当我尝试连接到某个设备时通过SSL的Web站点抛出WebException,其中显示"无法从传输连接读取数据"。 WebException的状态是"ReceiveFailure"。并且响应为空。

I have an app on a WM6 device that when I try to connect to a certain web site over SSL a WebException is thrown that says "Unable to read data from the transport connection."  The Status of the WebException is "ReceiveFailure" and the Response is null.

此处发生错误:

response =( HttpWebResponse )request.GetResponse();

response = (HttpWebResponse)request.GetResponse();

此外,这只发生在使用SSL的服务器上。在非SSL的其他服务器上,请求正常工作。

Also this is only happening on a server using SSL.  On a different server that is non SSL, the request works correctly.

推荐答案


这篇关于“无法从传输连接中读取数据” SSL连接错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆