Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Error from brew search sql #21216

Closed
wilkinson opened this issue Jul 14, 2013 · 3 comments
Closed

Error from brew search sql #21216

wilkinson opened this issue Jul 14, 2013 · 3 comments

Comments

@wilkinson
Copy link
Contributor

I ran brew search sql and received the following output:

automysqlbackup        mysql-connector-c          postgresql
google-sql-tool        mysql-connector-c++        sqlcipher
groonga-normalizer-mysql   mysql-connector-odbc       sqlite
mysql              mysql-proxy            sqliteman
mysql++            mysqlreport
mysql-cluster          osm2pgsql
Error: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read finished A
Please report this bug:
    https://github.com/mxcl/homebrew/wiki/troubleshooting
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:586:in `connect'
/usr/local/Library/Homebrew/cmd/search.rb:70:in `value'
/usr/local/Library/Homebrew/cmd/search.rb:70:in `search_taps'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:586:in `inject'
/usr/local/Library/Homebrew/cmd/search.rb:67:in `each'
/usr/local/Library/Homebrew/cmd/search.rb:67:in `inject'
/usr/local/Library/Homebrew/cmd/search.rb:67:in `search_taps'
/usr/local/Library/Homebrew/cmd/search.rb:30:in `search'
/usr/local/Library/brew.rb:95:in `send'
/usr/local/Library/brew.rb:95

I have uploaded my computer's settings as a gist.

@wilkinson
Copy link
Contributor Author

This issue does not occur for brew search, but it does occur for brew search '', which I find interesting.

@wilkinson
Copy link
Contributor Author

It may be relevant that I am on a very slow connection, because it may be a timeout issue.

@jacknagel
Copy link
Contributor

A cursory google search seems to suggest this is a transient error, so you may be correct.

We can definitely catch OpenSSL::SSL::SSLError and pretty up the error message, but probably not much beyond that.

This issue does not occur for brew search, but it does occur for brew search '', which I find interesting.

The command treats the case of "no arguments" and "a single empty argument" differently (no idea why, it predates my work on the project), but I agree that it is unintuitive and the two behaviors should be reconciled in some way.

handyman5 pushed a commit to handyman5/homebrew that referenced this issue Oct 7, 2013
@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants