Google api 不接受Google Freebase API白名单IP(服务器端密钥)

Google api 不接受Google Freebase API白名单IP(服务器端密钥),google-api,api-key,whitelist,Google Api,Api Key,Whitelist,有没有办法找出谷歌正在对照白名单检查的IP地址?我查看了报告页面、历史使用情况等,但找不到任何日志 问题是,我已经用一组白名单API密钥设置了一个服务器端API密钥。在我的本地机器上,这工作得很好-IP地址被接受,我得到了一个响应 然而,在我们的web服务器上,我得到了以下403响应的异常: { "error": { "code": 403, "message": "Access Not Configured. The API is not enabled for your

有没有办法找出谷歌正在对照白名单检查的IP地址?我查看了报告页面、历史使用情况等,但找不到任何日志

问题是,我已经用一组白名单API密钥设置了一个服务器端API密钥。在我的本地机器上,这工作得很好-IP地址被接受,我得到了一个响应

然而,在我们的web服务器上,我得到了以下403响应的异常:

{
  "error": {
    "code": 403, 
    "message": "Access Not Configured. The API is not enabled for your project, or there is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your configuration.", 
    "errors": [
      {
        "domain": "usageLimits", 
        "message": "Access Not Configured. The API is not enabled for your project, or there is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your configuration.", 
        "reason": "accessNotConfigured", 
        "extendedHelp": "https://console.developers.google.com"
      }
    ]
  }
}
如果API白名单设置不正确,这是一个非常典型的响应,但是,当我执行以下操作时:

~$ curl -s checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
我得到了我在白名单中的IP地址,这相当于使用IPChicken.com或其他东西,它告诉你外界对你的IP地址的看法。那么为什么我会遇到API错误呢?如果我用相同的密钥将相同的精确链接复制到本地主机中,其IP地址也添加到白名单中,我会得到200响应

我如何找出谷歌看到的IP地址来对照白名单进行检查