Skip to content

Instantly share code, notes, and snippets.

@gwright
Created September 19, 2017 16:02
Show Gist options
  • Save gwright/5bfcc80b3843bd1f94ba92af027f3a31 to your computer and use it in GitHub Desktop.
Save gwright/5bfcc80b3843bd1f94ba92af027f3a31 to your computer and use it in GitHub Desktop.
Google Geocode Failures
root@localhost:~# curl -v https://maps.googleapis.com/maps/api/geocode/json?address=portsmouth+nh
* Hostname was NOT found in DNS cache
* Trying 2607:f8b0:4006:81a::200a...
* Connected to maps.googleapis.com (2607:f8b0:4006:81a::200a) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server key exchange (12):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-ECDSA-AES128-GCM-SHA256
* Server certificate:
* subject: C=US; ST=California; L=Mountain View; O=Google Inc; CN=*.googleapis.com
* start date: 2017-09-07 11:07:47 GMT
* expire date: 2017-11-30 10:54:00 GMT
* subjectAltName: maps.googleapis.com matched
* issuer: C=US; O=Google Inc; CN=Google Internet Authority G2
* SSL certificate verify ok.
> GET /maps/api/geocode/json?address=portsmouth+nh HTTP/1.1
> User-Agent: curl/7.38.0
> Host: maps.googleapis.com
> Accept: */*
>
< HTTP/1.1 302 Found
< Location: https://ipv6.google.com/sorry/index?continue=https://maps.googleapis.com/maps/api/geocode/json%3Faddress%3Dportsmouth%2Bnh&q=EhAmADwDAAAAAPA8kf_-p6E4GL37hM4FIhkA8aeDS_qwnSf2CisqMdhEWQsrUr6UgTwsMgFj
< Date: Tue, 19 Sep 2017 15:54:37 GMT
< Pragma: no-cache
< Expires: Fri, 01 Jan 1990 00:00:00 GMT
< Cache-Control: no-store, no-cache, must-revalidate
< Content-Type: text/html; charset=UTF-8
* Server HTTP server (unknown) is not blacklisted
< Server: HTTP server (unknown)
< Content-Length: 398
< X-XSS-Protection: 1; mode=block
< X-Frame-Options: SAMEORIGIN
< Alt-Svc: quic=":443"; ma=2592000; v="39,38,37,35"
<
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="https://ipv6.google.com/sorry/index?continue=https://maps.googleapis.com/maps/api/geocode/json%3Faddress%3Dportsmouth%2Bnh&amp;q=EhAmADwDAAAAAPA8kf_-p6E4GL37hM4FIhkA8aeDS_qwnSf2CisqMdhEWQsrUr6UgTwsMgFj">here</A>.
</BODY></HTML>
* Connection #0 to host maps.googleapis.com left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment