【发布时间】: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 看看能不能建立连接吗?