错误内容如下:
A SocketError occurred in by
[email protected]
account#ajax_googlecalendar:
getaddrinfo: no address associated with hostname. D:/INSTAN~1/ruby/lib/ruby/1.8/net/http.rb:560:in `initialize'
-------------------------------
Request information:
-------------------------------
* URL: http://localhost:3000/account/ajax_googlecalendar
* Parameters: {"action"=>"ajax_googlecalendar", "controller"=>"account"}
* Rails root: D:/INSTAN~1/rails_apps/zhutu
-------------------------------
Session dump:
-------------------------------
* @data:
{:forums=>{},
:last_active=>Wed Jan 02 12:39:55 +0800 2008,
:city_id=>270,
:style=>3,
:topics=>{},
"flash"=>{},
:user_id=>7176}
* @session_id:
"eff2940f1e8d8524bcb15f633c862adf"
* @new_session:
false
-------------------------------
Environment:
-------------------------------
* SERVER_NAME: localhost
* HTTP_X_PROTOTYPE_VERSION: 1.5.0_rc0
* PATH_INFO: /account/ajax_googlecalendar
* HTTP_X_FORWARDED_HOST: www.zhutu.com
* HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; TencentTraveler ; InfoPath.2)
* HTTP_ACCEPT_ENCODING: gzip, deflate
* SCRIPT_NAME: /
* SERVER_PROTOCOL: HTTP/1.1
* HTTP_ACCEPT_LANGUAGE: zh-cn
* HTTP_HOST: localhost:3000
* REMOTE_ADDR: 211.155.111.2
* SERVER_SOFTWARE: Mongrel 1.0.1
* REQUEST_PATH: /account/ajax_googlecalendar
* HTTP_REFERER: http://www.zhutu.com/account/list?page=2
* HTTP_COOKIE: __utma=159076465.459369978.1199277572.1199277572.1199362433.2; __utmz=159076465.1199277572.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utmb=159076465; __utmc=159076465; login_token=7176%3Bd4d9816f4a9cb7126e1d1c81460766d978d758ca; _beast_session_id=eff2940f1e8d8524bcb15f633c862adf
* HTTP_VERSION: HTTP/1.1
* HTTP_X_FORWARDED_SERVER: www.zhutu.com
* REQUEST_URI: /account/ajax_googlecalendar
* SERVER_PORT: 3000
* GATEWAY_INTERFACE: CGI/1.2
* HTTP_X_FORWARDED_FOR: 211.155.111.2
* HTTP_ACCEPT: text/javascript, text/html, application/xml, text/xml, */*
* HTTP_CONNECTION: close
* HTTP_X_REQUESTED_WITH: XMLHttpRequest
* REQUEST_METHOD: GET
-------------------------------
Full execution backtrace:
-------------------------------
D:/INSTAN~1/ruby/lib/ruby/1.8/net/http.rb:560:in `initialize'
D:/INSTAN~1/ruby/lib/ruby/1.8/net/http.rb:560:in `open'
D:/INSTAN~1/ruby/lib/ruby/1.8/net/http.rb:560:in `connect'
D:/INSTAN~1/ruby/lib/ruby/1.8/timeout.rb:48:in `timeout'
D:/INSTAN~1/ruby/lib/ruby/1.8/timeout.rb:76:in `timeout'
D:/INSTAN~1/ruby/lib/ruby/1.8/net/http.rb:560:in `connect'
D:/INSTAN~1/ruby/lib/ruby/1.8/net/http.rb:553:in `do_start'
D:/INSTAN~1/ruby/lib/ruby/1.8/net/http.rb:542:in `start'
D:/INSTAN~1/ruby/lib/ruby/1.8/net/http.rb:440:in `start'
[RAILS_ROOT]/vendor/plugins/googlecalendar/lib/googlecalendar.rb:358:in `scan'
[RAILS_ROOT]/app/controllers/account_controller.rb:108:in `ajax_googlecalendar'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:1095:in `send'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:1095:in `perform_action_without_filters'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:632:in `call_filter'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:638:in `call_filter'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:438:in `call'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:637:in `call_filter'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:638:in `call_filter'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:438:in `call'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:637:in `call_filter'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:638:in `call_filter'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:438:in `call'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:637:in `call_filter'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:638:in `call_filter'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:438:in `call'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:637:in `call_filter'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:638:in `call_filter'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:449:in `call'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:637:in `call_filter'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:638:in `call_filter'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:449:in `call'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:637:in `call_filter'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:619:in `perform_action_without_benchmark'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
D:/INSTAN~1/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/rescue.rb:83:in `perform_action'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:430:in `send'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:430:in `process_without_filters'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:624:in `process_without_session_management_support'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/session_management.rb:114:in `process'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:330:in `process'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:41:in `dispatch'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel/rails.rb:78:in `process'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel/rails.rb:76:in `synchronize'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel/rails.rb:76:in `process'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel.rb:618:in `process_client'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel.rb:617:in `each'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel.rb:617:in `process_client'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel.rb:736:in `run'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel.rb:736:in `initialize'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel.rb:736:in `new'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel.rb:736:in `run'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel.rb:720:in `initialize'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel.rb:720:in `new'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel.rb:720:in `run'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel/configurator.rb:271:in `run'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel/configurator.rb:270:in `each'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel/configurator.rb:270:in `run'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/bin/mongrel_rails:127:in `run'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel/command.rb:211:in `run'
D:/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/bin/mongrel_rails:243
D:/INSTAN~1/ruby/bin/mongrel_rails:16:in `load'
D:/INSTAN~1/ruby/bin/mongrel_rails:16
这个错误平时基本碰不到,但随着用户增多,最近时常出现,资料查也查不到,好像是ruby内部的一个错误,请大家给看看到底是什么原因