A Google WTF



  • Click: http://www.google.com/webmasters/+1/buton/


    Way to go Google!


    This page they're promoting for their new "+1" service has an infinite 301 redirect to itself. WTF?


    (who knows how long it will last)



  •  Works fine for me...



  • Wow - still doesn't work for me -- and I tried in three browsers on two computers before posting that.

    Still think it's a WTF.

    Here's what I get from wget in linux: (repeats 20 times before wget gives up)

    $ wget http://www.google.com/webmasters/+1/button/
    --13:57:12-- http://www.google.com/webmasters/+1/button/
    => index.html' Resolving www.google.com... 74.125.91.106, 74.125.91.147, 74.125.91.99, ... Connecting to www.google.com[74.125.91.106]:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://www.google.com/webmasters/+1/buton/ [following] --13:57:12-- http://www.google.com/webmasters/+1/buton/ => index.html'
    Connecting to www.google.com[74.125.91.106]:80... connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: http://www.google.com/webmasters/+1/button/ [following]
    --13:57:13-- http://www.google.com/webmasters/+1/button/
    => index.html' Connecting to www.google.com[74.125.91.106]:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://www.google.com/webmasters/+1/buton/ [following] --13:57:13-- http://www.google.com/webmasters/+1/buton/ => index.html'
    Connecting to www.google.com[74.125.91.106]:80... connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: http://www.google.com/webmasters/+1/button/ [following]
    --13:57:13-- http://www.google.com/webmasters/+1/button/
    => index.html' Connecting to www.google.com[74.125.91.106]:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://www.google.com/webmasters/+1/buton/ [following] --13:57:13-- http://www.google.com/webmasters/+1/buton/ => index.html'
    Connecting to www.google.com[74.125.91.106]:80... connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: http://www.google.com/webmasters/+1/button/ [following]
    --13:57:13-- http://www.google.com/webmasters/+1/button/



  •  @Hank said:

    (snip..) (who knows how long it will last)

    < 5 minutes, it appears.






  • Geeze -- less than 5 minutes to edit a post? WTF?



    It's still happening... trust me:



    Here's what I get from wget in linux, so it can't be a cookies or browser thing.




    (repeats 20 times before wget gives up)

    $ wget http://www.google.com/webmasters/+1/button/

    --14:16:16-- http://www.google.com/webmasters/+1/button/

    => index.html' <br>Resolving www.google.com... 74.125.91.99, 74.125.91.103, 74.125.91.104, ... <br>Connecting to www.google.com[74.125.91.99]:80... connected. <br>HTTP request sent, awaiting response... 301 Moved Permanently <br>Location: http://www.google.com/webmasters/+1/buton/ [following] <br>--14:16:16-- http://www.google.com/webmasters/+1/buton/ <br> => index.html'

    Connecting to www.google.com[74.125.91.99]:80... connected.

    HTTP request sent, awaiting response... 301 Moved Permanently

    Location: http://www.google.com/webmasters/+1/button/ [following]

    --14:16:16-- http://www.google.com/webmasters/+1/button/

    => `index.html'



  •  Works fine for me.



  • Not working for me; it sends me to a redirect loop, too. Are you behind a proxy, by any chance?



  • no proxies here. Tried from one of my direct-connected colo boxes, and I get the loop. Tried from another shared hosting box in CA, and it works.



    I have no idea



  • Firefox gives me:

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.



  • @TwoScoopsOfHot said:



    Firefox gives me:

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    Try [url]http://www.google.in/webmasters/+1/button/[/url]. The .com and .us URLs are redirects, but everything else I tried worked. /buton/ links never work, but that may be for the best.



  •  I got a "200 OK" response:

    $ wget http://www.google.com/webmasters/+1/button/
    --2011-06-03 14:55:27--  http://www.google.com/webmasters/+1/button/
    Resolving www.google.com... 74.125.53.103, 74.125.53.147, 74.125.53.105, ...
    Connecting to www.google.com|74.125.53.103|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified [text/html]
    Saving to: `index.html'

        [ <=>                                                                                                      ] 17,378      --.-K/s   in 0.02s

    2011-06-03 14:55:27 (760 KB/s) - `index.html' saved [17378]



  • That's a DNS issue. If you set your DNS setting to 4.2.2.5, you get one thing. If you set it to 4.2.2.6, you get another.



  • As long as we're listing our responses, I figure I might as well try Netcat.

    $ nc www.google.com 80
    GET /webmasters/+1/button/ HTTP/1.1
    Host: www.google.com
    Connection: Close

    And the response:

    HTTP/1.1 301 Moved Permanently
    Location: http://www.google.com/webmasters/+1/buton/
    Content-Type: text/html; charset=UTF-8
    X-Content-Type-Options: nosniff
    Date: Wed, 01 Jun 2011 17:03:18 GMT
    Expires: Fri, 01 Jul 2011 17:03:18 GMT
    Server: sffe
    Content-Length: 239
    X-XSS-Protection: 1; mode=block
    Cache-Control: public, max-age=2592000
    Age: 431025
    Connection: close
    

    <HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
    <TITLE>301 Moved</TITLE></HEAD><BODY>
    <H1>301 Moved</H1>
    The document has moved
    <A HREF="http://www.google.com/webmasters/+1/buton/">here</A>.
    </BODY></HTML>


Log in to reply