Google奇怪的问题

在最近8个月运行的服务器上,我们通过curl访问了这个URL: https : //dl.google.com/dl/cloudsdk/release/components-2.json 。 几天前它突然停止工作,说

  1. 这是一个错误。 我们知道的就这些。

在这里输入图像说明

但是最奇怪的是,这只发生在这台机器上。 所有其他机器都可以访问它没有问题。 这个问题机器能够访问所有其他互联网网站,包括谷歌,Gmail等

所有的机器都运行CentOS 6.4。


这些是获取json文件时的两个curl输出

这是失败的机器:

 # curl -v https://dl.google.com/dl/cloudsdk/release/components-2.json * About to connect() to dl.google.com port 443 (#0) * Trying 4.59.40.88... connected * Connected to dl.google.com (4.59.40.88) port 443 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none * SSL connection using TLS_RSA_WITH_RC4_128_SHA * Server certificate: * subject: CN=*.google.com,O=Google Inc,L=Mountain View,ST=California,C=US * start date: Mar 25 14:48:48 2015 GMT * expire date: Jun 23 00:00:00 2015 GMT * common name: *.google.com * issuer: CN=Google Internet Authority G2,O=Google Inc,C=US > GET /dl/cloudsdk/release/components-2.json HTTP/1.1 > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2 > Host: dl.google.com > Accept: */* > < HTTP/1.1 404 Not Found < Content-Length: 1364 < Content-Type: text/html; charset=utf-8 < Server: downloads < X-Content-Type-Options: nosniff < X-Frame-Options: SAMEORIGIN < X-Xss-Protection: 1; mode=block < Date: Wed, 15 Apr 2015 09:32:31 GMT 

这是成功的机器:

 # curl -v https://dl.google.com/dl/cloudsdk/release/components-2.json * About to connect() to dl.google.com port 443 (#0) * Trying 74.125.141.136... connected * Connected to dl.google.com (74.125.141.136) port 443 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none * SSL connection using SSL_RSA_WITH_RC4_128_SHA * Server certificate: * subject: CN=*.google.com,O=Google Inc,L=Mountain View,ST=California,C=US * start date: Mar 25 15:57:18 2015 GMT * expire date: Jun 23 00:00:00 2015 GMT * common name: *.google.com * issuer: CN=Google Internet Authority G2,O=Google Inc,C=US > GET /dl/cloudsdk/release/components-2.json HTTP/1.1 > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.13.6.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2 > Host: dl.google.com > Accept: */* > < HTTP/1.1 200 OK < Accept-Ranges: bytes < Content-Length: 48061 < Content-Type: application/json < Etag: "526ef" < Expires: Thu, 16 Apr 2015 02:32:38 PDT < Last-Modified: Thu, 09 Apr 2015 16:52:00 GMT < Server: downloads < X-Content-Type-Options: nosniff < X-Frame-Options: SAMEORIGIN < X-Xss-Protection: 1; mode=block < Date: Wed, 15 Apr 2015 09:32:38 GMT < Alternate-Protocol: 443:quic,p=0.5 

当我们从另一个IP块更改公共IP时,问题就解决了。 看起来谷歌不再喜欢IP了。