# Script/plugin and http-proxy with Authentication

**URL:** <https://www.ruby-forum.com/t/script-plugin-and-http-proxy-with-authentication/93181>\
**Category:** Rails\
**Created:** [April 28, 2007, 8:28pm UTC](https://www.ruby-forum.com/t/script-plugin-and-http-proxy-with-authentication/93181 "2007-04-28T20:28:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![k9ert](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/bbe5ce/32.png) [@k9ert](https://www.ruby-forum.com/u/k9ert)\
**Post date:** [April 28, 2007, 8:28pm UTC](https://www.ruby-forum.com/t/script-plugin-and-http-proxy-with-authentication/93181/1 "2007-04-28T20:28:41Z")

</div>

Hi group,

my gem ist working like a charm with http\_proxy (and friends)  
environment-variables as described here  
[http://blog.pomozov.info/posts/the-end-of-gem-vs-proxy-war.html](http://blog.pomozov.info/posts/the-end-of-gem-vs-proxy-war.html)

## But I have a problem (on windows) with

> ruby script/plugin discover

## c:/ruby/lib/ruby/1.8/open-uri.rb:287:in `open_http': 407 Proxy Authentication Required ( Der ISA Server erfordert Autorisierung, um die Anfrage durchfhren zu k?nen. Der Zugriff auf den Webproxydienst wird verweigert. ) (OpenURI::HTTPError) from c:/ruby/lib/ruby/1.8/open-uri.rb:626:in `buffer\_open’ from c:/ruby/lib/ruby/1.8/open-uri.rb:164:in `open_loop' from c:/ruby/lib/ruby/1.8/open-uri.rb:162:in `catch’ from c:/ruby/lib/ruby/1.8/open-uri.rb:162:in `open_loop' from c:/ruby/lib/ruby/1.8/open-uri.rb:132:in `open\_uri’ from c:/ruby/lib/ruby/1.8/open-uri.rb:528:in `open' from c:/ruby/lib/ruby/1.8/open-uri.rb:30:in `open’ from c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/ plugin.rb:687:in `scrape' from c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/ plugin.rb:661:in `parse!’ from c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/ plugin.rb:660:in `each' from c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/ plugin.rb:660:in `parse!’ from c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/ plugin.rb:476:in `parse!' from c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/ plugin.rb:492:in `parse!’ from c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/ plugin.rb:918 from c:/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb: 27:in `gem_original_require' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 27:in `require’ from script/plugin:3

Any hints?

Thanks

Kim
