System.IO.IOException:无法从传输连接读取数据:ReadKey关闭了连接 [英] System.IO.IOException: unable to read data from transport connection: connection was closed at ReadKey

查看:75
本文介绍了System.IO.IOException:无法从传输连接读取数据:ReadKey关闭了连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好.
我一直在尝试在某些网站上发布帖子,该网站在大多数网站上都可以正常运行,但很少有例外.
如果我使用httpprotocol1.0可以正常工作,但是又不能完全加载某些页面,并且缺少最后一个html源.
如果我使用httpprotocol 1.1,它在大多数站点上也可以正常工作,但是我确实会遇到异常(在那些在1.0上也给我带来问题的站点上).
我的例外是,
System.IO.IOException:无法从传输连接读取数据:在ReadKey中关闭了连接

已经尝试了几种不同的方式来加载页面,但是它无法正常工作.我嗅到了我的http请求并做出了响应,但对于正常工作和不正常的工作来说,它们是完全相同的.

该错误会发生什么?
希望有人可以提供帮助,我已经在这个问题上放了很多小时又几天了.

谢谢

Hello.
I have been trying to do posts on some sites, which works fine on most, but there are few exceptions.
If I use httpprotocol1.0 it works fine, but then again some pages cant be loaded completely and the last html source is missing.
If I use httpprotocol 1.1 it also works good on most sites, but there I do get exceptions (on the same sites that gave me problem on 1.0 as well).
My exception is,
System.IO.IOException: unable to read data from transport connection: connection was closed at ReadKey

Have tried several of different ways to load the page, but it just wont work. I sniffed my http requests and responds, but they are the exact same for the working and non-working.

What can occur this error?
Hope someone can help, I have stocked for many hours and days with this problem.

Thanks

推荐答案

尝试这篇有答案的帖子

System.IO.IOException:无法从传输连接:连接已关闭. [ ^ ]
Try this post which has answer

System.IO.IOException: Unable to read data from the transport connection: The connection was closed.[^]


嗨 查看您尝试连接的服务器的事件日志.您应该在那找到一个线索,然后再进行追踪.
问候
罗伯特
Hi Take a look at the event logs of the server that you were trying to connect to. You hsould find a clue over there and then back track.
Regards
Robert


这篇关于System.IO.IOException:无法从传输连接读取数据:ReadKey关闭了连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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