Last active
January 15, 2016 22:10
-
-
Save kkdd/fa9dc816973b4e20ee9f to your computer and use it in GitHub Desktop.
Error: 407 "Proxy Authentication Required" when brew search ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew search gcc | |
gcc | |
Error: 407 "Proxy Authentication Required" | |
Please report this bug: | |
https://github.com/Homebrew/homebrew/wiki/troubleshooting | |
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http/response.rb:119:in `error!' | |
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http/response.rb:128:in `value' | |
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:913:in `connect' | |
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:862:in `do_start' | |
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:851:in `start' | |
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:313:in `open_http' | |
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:709:in `buffer_open' | |
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:210:in `block in open_loop' | |
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:208:in `catch' | |
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:208:in `open_loop' | |
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:149:in `open_uri' | |
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:689:in `open' | |
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:34:in `open' | |
/usr/local/Library/Homebrew/utils.rb:318:in `open' | |
/usr/local/Library/Homebrew/cmd/search.rb:102:in `search_tap' | |
/usr/local/Library/Homebrew/cmd/search.rb:90:in `block (2 levels) in search_taps' | |
$ | |
$ brew --config | |
HOMEBREW_VERSION: 0.9.5 | |
ORIGIN: https://github.com/Homebrew/homebrew | |
HEAD: 9a2df07028b08b1104e6bb3a55a931f8d35c635c | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: 8-core 64-bit penryn | |
OS X: 10.9.4-x86_64 | |
Xcode: 5.1.1 | |
CLT: 5.1.0.0.1.1396320587 | |
Clang: 5.1 build 503 | |
X11: 2.7.7 => /opt/X11 | |
System Ruby: 2.0.0-451 | |
Perl: /usr/bin/perl | |
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/bin/python2.7 | |
Ruby: /usr/bin/ruby | |
$ brew tap | |
caskroom/cask | |
$ brew update | |
Already up-to-date. | |
$ brew doctor | |
Your system is ready to brew. | |
$ | |
$ brew cask search google-chrome | |
==> Exact match | |
google-chrome | |
$ | |
$ which ruby | |
/usr/bin/ruby | |
$ | |
$ ruby -v | |
ruby 2.0.0p451 (2014-02-24 revision 45167) [universal.x86_64-darwin13] | |
$ | |
The following are environment variables: | |
$ env |grep proxy | |
http_proxy=http://username:[email protected]:8080 | |
ftp_proxy=http://username:[email protected]:8080 | |
https_proxy=http://username:[email protected]:8080 | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Get the same issue under proxy environment. You find a way to fix that?