代码之家  ›  专栏  ›  技术社区  ›  freddoo

谷歌地图认为我在发送自动请求

  •  4
  • freddoo  · 技术社区  · 16 年前

    我的网站使用谷歌地图

    我们还在测试阶段,所以只有员工知道网站在哪里,所以没有太多的流量。

    有时我们在尝试加载地图时会出现错误503 有了这个内容

    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Sorry...</title>
    <style>body { font-family: verdana, arial, sans-serif; background-color: #fff; color: #000; }</style>
    </head>
    <body>
    <div><table>
    <tr><td><b><font face=times color=#0039b6 size=10>G</font><font face=times color=#c41200 size=10>o</font><font face=times color=#f3c518 size=10>o</font><font face=times color=#0039b6 size=10>g</font><font face=times color=#30a72f size=10>l</font><font face=times color=#c41200 size=10>e</font></b></td>
    <td style="text-align: left; vertical-align: bottom; padding-bottom: 15px; width: 50%">
    <div style="border-bottom: 1px solid #dfdfdf;">Sorry...</div></td></tr>
    </table></div>
    <div style="margin-left: 4em;">
    <h1>We're sorry...</h1>
    <p>... but your computer or network may be sending automated queries.
    To protect our users, we can't process your request right now.
    </p>
    
    <form action="Captcha" method="get">
    <input type="hidden" name="continue" value="http://maps.google.com/maps?file=api&apikey [blablabla]">
    <input type="hidden" name="id" value="928[blablabla]6">
    <table cellpadding="4" cellspacing="0" border="0">
    <tr><td valign="top" align="left">
    <font color="#aa1002">
    <b>To continue searching, please type the characters you see below:</b>
    </font>
    <input type="text" name="captcha" value="" id="captcha" size="12">
    <input type="submit" name="submit" value="I'm human!">
    </td></tr>
    <tr><td>
    <div align="right">
    <img src="/sorry/image?id=928671[blablabla]6&amp;hl=en" border="1" alt="Please enable images on your browser.">
    </div></td></tr>
    </table>
    </form>
    
    
    </div>
    <div style="margin-left: 4em;">
    See <a href="http://www.google.com/support/bin/answer.py?answer=86640">Google Help</a> for more information.<br/><br/></div>
    <div style="text-align: center; border-top: 1px solid #dfdfdf;">
    &copy; 2009 Google - <a href="http://www.google.com">Google Home</a>
    </div>
    </body>
    </html>
    

    是什么引起的?

    4 回复  |  直到 16 年前
        1
  •  3
  •   Mike Williams    16 年前

    我知道有两种方法可以很快引发谷歌403错误:

    1. 直接从中加载图像分幅 应用程序编程接口。

    2. 在服务器上使用“保存网页完成” 示例文件,然后使用旧的 已保存的Google API代码副本作为新页面的基础 以文档化的方式创建API。

    此外,这些块通常是根据您的IP地址计算的,而不是根据您的网页计算的。有可能有人在不同的网页上共享您的IP地址,并执行类似上述操作。当您访问任何显示相同GoogleAPI映射类型的页面时,都会看到这种效果。

    您将被封锁24小时或直到首次违规成功完成验证码。持续犯罪者无法获得验证码选项,谷歌表示他们可能会被永久封锁。

        2
  •  3
  •   Chris B    16 年前

    如果你不能解决这个问题,你可以试着与谷歌联系 this form .

        3
  •  0
  •   freddoo    16 年前

    问题是谷歌真的认为我所在的位置有人在发送自动请求

    如果我去maps.google.com可以看到验证码,

    如果我去的网站也使用谷歌地图,我也看不到那里的地图,所以它与我的网站无关。

    在google map div中,我将添加一个指向maps.google.com的链接,其中包含有关如何解决以下问题的说明: 转到maps.google.com,填写验证码,返回网站。

        4
  •  0
  •   Markus    15 年前

    我在西班牙的Telefonica网络也有同样的问题。我可以确认,所有使用谷歌地图的网站上都存在这个问题,包括文档中谷歌自己的例子。在maps.google.com上解决验证码对firefox、safari和chrome都有帮助,但在internet explorer中,在解决验证码后,地图在其他网站上仍然不起作用。

    当使用沃达丰的移动宽带和谷歌地图时,它可以在所有浏览器的所有页面上工作,并且不需要我在maps.google.com上解决验证码问题。

    推荐文章