defunkt/resque — Issue #430: Can't start resque-web if http_proxy is set
Author: stonegao
Created: 2011-10-17 10:31:51+00:00
State: open

resque-web will not start if http_proxy is set, and the error is confusing: (after digging the source code, I tried disable http_proxy and it works)

:public is no longer used to avoid overloading Module#public, use :public_folder instead
from /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/resque-1.19.0/lib/resque/server.rb:12
[Mon Oct 17 18:27:14 +0800 2011] Starting 'resque-web'...
[Mon Oct 17 18:27:14 +0800 2011] trying port 5678...
/usr/local/rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/open-uri.rb:277:in `open_http': 504 Gateway Time-out (OpenURI::HTTPError)
from /usr/local/rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'
from /usr/local/rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/open-uri.rb:164:in `open_loop'
from /usr/local/rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/open-uri.rb:162:in `catch'
from /usr/local/rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/open-uri.rb:162:in `open_loop'
from /usr/local/rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
from /usr/local/rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/open-uri.rb:518:in `open'
from /usr/local/rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/open-uri.rb:30:in `open'
from /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/vegas-0.1.8/lib/vegas/runner.rb:142:in `port_open?'
from /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/vegas-0.1.8/lib/vegas/runner.rb:128:in `find_port'
from /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/vegas-0.1.8/lib/vegas/runner.rb:105:in `start'
from /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/vegas-0.1.8/lib/vegas/runner.rb:77:in `initialize'
from /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/resque-1.19.0/bin/resque-web:13:in `new'
from /usr/local/rvm/gems/ree-1.8.7-2011.03/gems/resque-1.19.0/bin/resque-web:13
from /usr/local/rvm/gems/ree-1.8.7-2011.03/bin/resque-web:19:in `load'
from /usr/local/rvm/gems/ree-1.8.7-2011.03/bin/resque-web:19