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

时间:2009-10-06 05:39:03

标签: google-maps

我的网站使用谷歌地图

我只是在地图上显示搜索结果的一些标记 我们仍处于测试阶段,因此只有员工知道网站的位置,因此流量不大。

当调用页面时会发生什么我们进行搜索然后在js中呈现页面我们构建要添加的标记但是......

有时我们在尝试加载地图时会收到错误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 个答案:

答案 0 :(得分:3)

我从未遇到来自Google的503(Bad Gateway)错误,但该HTML看起来非常像403(Forbidden)错误页面。

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

  1. 直接从中加载图片图块 你自己的代码,而不是来自 API。

  2. 使用“保存网页完成” 示例文件然后使用旧的 保存的Google API代码副本作为新页面的基础 而不是加载新的副本 以记录的方式提供API。

  3. 在这两种情况下,实际机制是相同的。 Google会每隔几周更改一次地图图块版本号。如果磁贴服务器看到您对错误的磁贴版本发出请求,它将在几百个这样的磁贴请求后阻止您。

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

    你仍然被阻挡24小时或直到Captcha在第一次进攻中成功完成。坚持不懈的罪犯没有获得Captcha选项,谷歌表示他们可能会被永久封锁。

答案 1 :(得分:3)

如果您无法解决问题,可以尝试通过this form与Google联系。

答案 2 :(得分:0)

问题在于Google确实认为我所在位置的某人正在发送自动请求

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

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

我的工作暂时 在谷歌地图div中,我将链接到maps.google.com,并提供有关如何解决的说明: 转到maps.google.com,填写验证码,返回网站。

答案 3 :(得分:0)

(想要在上一个答案中添加评论,但这是不可能的,所以这里有一个新的答案,有更多的信息。)

我在Telefonica的西班牙网络遇到同样的问题。我可以确认所有使用谷歌地图的网站都存在此问题,包括文档中的谷歌自己的示例。解决maps.google.com上的验证码有助于firefox,safari和chrome,但是使用Internet Explorer后,在解决验证码后,地图仍无法在其他网站上使用。

使用沃达丰的移动广告和谷歌地图可以在所有浏览器的所有页面上使用,而且不需要我在maps.google.com上解决验证码。

相关问题