From: Javin Yeo Date: 2007-04-09T11:20:13+09:00 Subject: Setting the proxy address Hi guys, I have been getting the following errors when accessing the admin page which i think is related to proxy as my office is behide a proxy server. when i disabled the rss feed codes on tickets_controller.rb, it managed show the admin login page. So how do I set the proxy server? I looked at net/http.rb but to no avail to how it works :( Thks in advance guys! any help is greatly appreciated! Errno::EBADF in Admin/ticketsController#list_pending Bad file descriptor - connect(2) RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace c:/Ruby/lib/ruby/1.8/net/http.rb:560:in `initialize' c:/Ruby/lib/ruby/1.8/net/http.rb:560:in `open' c:/Ruby/lib/ruby/1.8/net/http.rb:560:in `connect' c:/Ruby/lib/ruby/1.8/timeout.rb:48:in `timeout' c:/Ruby/lib/ruby/1.8/timeout.rb:76:in `timeout' c:/Ruby/lib/ruby/1.8/net/http.rb:560:in `connect' c:/Ruby/lib/ruby/1.8/net/http.rb:553:in `do_start' c:/Ruby/lib/ruby/1.8/net/http.rb:542:in `start' c:/Ruby/lib/ruby/1.8/net/http.rb:1032:in `request' c:/Ruby/lib/ruby/1.8/net/http.rb:769:in `get' c:/Ruby/lib/ruby/gems/1.8/gems/feedtools-0.2.26/lib/feed_tools/helpers/retrieval_helper.rb:136:in `send' c:/Ruby/lib/ruby/gems/1.8/gems/feedtools-0.2.26/lib/feed_tools/helpers/retrieval_helper.rb:136:in `http_request' c:/Ruby/lib/ruby/gems/1.8/gems/feedtools-0.2.26/lib/feed_tools/helpers/retrieval_helper.rb:222:in `http_get' c:/Ruby/lib/ruby/gems/1.8/gems/feedtools-0.2.26/lib/feed_tools/feed.rb:238:in `load_remote_feed!' c:/Ruby/lib/ruby/gems/1.8/gems/feedtools-0.2.26/lib/feed_tools/feed.rb:125:in `update!' c:/Ruby/lib/ruby/gems/1.8/gems/feedtools-0.2.26/lib/feed_tools/feed.rb:80:in `open' #{RAILS_ROOT}/app/controllers/admin/tickets_controller.rb:158:in `load_blog_feed' -- Posted via http://www.ruby-forum.com/.