论坛首页 入门技术论坛

新浪博客RSS订阅,连接被重置!!!

浏览 4719 次
该帖已经被评为新手帖
作者 正文
   发表时间:2007-05-17  
问题如下:
今天发现以前写的读RSS的程序突然有些问题,文章全部读不出来了,程序报的错误如下:
java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(Unknown Source)
	at java.io.BufferedInputStream.fill(Unknown Source)
	at java.io.BufferedInputStream.read1(Unknown Source)
	at java.io.BufferedInputStream.read(Unknown Source)
	at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
	at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
	at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at com.sun.syndication.io.XmlReader.<init>(XmlReader.java:174)

	at com.sun.syndication.io.XmlReader.<init>(XmlReader.java:151)
	at atteam.RssReader.FeedReader.reader(FeedReader.java:23)
	at atteam.RssReader.FeedReader.getList(FeedReader.java:14)
	at RssReader.main(RssReader.java:12)


后来用IE打开那个RSS地址(http://blog.sina.com.cn/myblog/index_rss.php?uid=1190363061)居然显示为网页无法显示,用Firefox打开 提示连接被重置,但有时却是可以打开的,但我的程序却没有一次成功过,都报"Connection reset" 这个错误。
后来我用抓虾去试了一下,用抓虾却是可以的,我现在不知道问题出在哪里,我用的是rome0.9,请大家帮我分析分析
   发表时间:2007-05-17  
谁知道,这个问题是怎么引起来的?
0 请登录后投票
   发表时间:2007-05-17  
nod
家爱就是被这种东西弄慢的
估计是上了对方的黑名单  被屏蔽了

p.s:试了一下你那个地址   我这IE也打不开
用sleipnir能打开
0 请登录后投票
   发表时间:2007-05-17  
我估计新浪的博客RSS是有问题的,好像用本网站博客导入也是不行的
0 请登录后投票
论坛首页 入门技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics