【问题标题】:Getting SSL error in google app engine在谷歌应用引擎中出现 SSL 错误
【发布时间】:2014-09-21 10:51:33
【问题描述】:

我已经创建了谷歌应用引擎应用程序。它在我的本地系统中运行良好,并且在服务器上也成功部署。但是那个网址 http://****.appspot.com/_ah/api/employeeendpoint/v1/employee/1 给了我以下回复。

{"error":{"errors":[{"domain":"global","reason":"sslRequired","message":"SSL is required to perform this operation."}],"code":403,"message":"SSL is required to perform this operation."}}

我也尝试过 https://****.appspot.com/_ah/api/employeeendpoint/v1/employee/1 但仍然无法正常工作。

【问题讨论】:

  • 用 https 代替 http?
  • @rene 也是同样的反应,我已经试过了。
  • 您不认为您应该在IN您的问题中包含该信息吗?你知道如何使用我假设的edit 链接吗?
  • 您在应用程序中使用了哪些 API?一些作为 Cloud Endpoints 的 API 需要 SSL。
  • 从错误看来,客户端不支持 SSL,而端点确实需要它。可以 curl -I -tlsv1 https://****.appspot.com/_ah/api/employeeendpoint/v1/employee/1 看看能不能建立连接吗?

标签: google-app-engine


【解决方案1】:

某些 Google Cloud Platform 产品需要 SSL,您只需从 Cloud Console 启用 SSL,它应该可以工作。

App EngineCompute EngineCloud SQL 的文档。

【讨论】:

    猜你喜欢
    • 2018-11-17
    • 1970-01-01
    • 1970-01-01
    • 2015-08-13
    • 2016-10-20
    • 2013-05-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多