#<Errno::ECONNABORTED: 您的主机中的软件放弃了一个已建立的连接。>

shaka 2009-06-12
最近用rails 调用远程web service时,总是报错

Fri Jun 12 10:19:35 +0800 2009: Read error: #<Errno::ECONNABORTED: 您的主机中的软件放弃了一个已建立的连接。>

C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/http_response.rb:137:in `write'

C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/http_response.rb:137:in `write'

C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/handler/mongrel.rb:75:in `process'

C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/response.rb:155:in `each_line'

C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/response.rb:155:in `each'

C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/handler/mongrel.rb:74:in `process'

C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:159:in `process_client'

C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:158:in `each'

C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:158:in `process_client'

C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in `run'

C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in `initialize'

C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in `new'

C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in `run'

C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in `initialize'

C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in `new'

C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in `run'

发送的xml里有包含本地ip的url,用不含本机ip的url正常,很困惑,不知道谁能帮忙解一下
shaka 2009-06-12
解决了,服务端的问题,害我折腾这么久
ld81959406 2010-04-04
晕 你说下是这么解决的啊
急死了
jemysky 2010-05-27
很简单  文件的地址里面不要包含中文的就是了
foyoto 2010-10-15
我遇到了相同的问题,能描述下如何解决的吗?谢谢了!
foyoto 2010-10-15
jemysky 写道
很简单  文件的地址里面不要包含中文的就是了

请问下什么文件,这样问题我一直没解决,好郁闷,谢谢指点了。
shaka 2010-10-19
服务端的问题,具体记不清了
Global site tag (gtag.js) - Google Analytics