Setting the proxy address

J

Javin Yeo

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'
 
L

Leslie Viljoen

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/..

Might be a windows issue. Google for "ruby rails bad file descriptor".
Some hits:

http://thefigtrees.net/lee/blog/2005/12/ruby_on_rails_activesupport_an.html
http://www.ruby-forum.com/topic/103173
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,113
Latest member
Vinay KumarNevatia
Top