GHC 2016-12-07

2 comments.

, https://git.io/v1KJy in jarun/googler
## Symptoms summarized

- Sometimes it can't get past the SSL handshake with www.google.com;
- Sometimes it's able to connect to www.google.com, but fails at the handshake stage with www.google.co.il;
- Sometimes it manages to get through.

## Diagnosis

Not a bug. Your connection to Google is spotty.

Being able to ping google.com doesn't mean you can successfully make requests and receive responses; there are probably packet drops too. If wget can't successfully retrieve content, we can't, either.

Also, your wget invocation isn't using TLS, and the 403 status code looks highly suspicious. I've never seen Google Search returning 403. I suspect your HTTP requests are censored.

## Solution

There's no solution, but at least you might be able to improve your rate of success by aliasing `googler` to `googler --tld il`. This way you save yourself one connection and redirect.

, https://git.io/v1KJS in jarun/googler
You didn't say if this error is sporadic. If it is, shitty connection it is. You can also try to curl/wget `https://www.google.co.il/search?ie=UTF-8&num=10&oe=UTF-8&q=google&start=0&gws_rd=cr&ei=N_5HWKGSL8frUqGhoegM`. Again, shitty connection if curl/wget (sometimes) fails.

In addition, Ubuntu and OpenSSL versions may be helpful.