简体   繁体   English

部署成功后,App Engine Flexible Golang 无法访问 Datastore

[英]App Engine Flexible Golang can not access Datastore after successful deployment

I am using GAE Golang (runtime: go env: flex).我正在使用 GAE Golang(运行时:go env:flex)。 Deployed with gcloud beta app deploy app.yaml --project xxxx .使用gcloud beta app deploy app.yaml --project xxxx Since this morning, our code can no longer access datastore.从今天早上开始,我们的代码无法再访问数据存储。

I am getting the following error when try to connect to datastore:尝试连接到数据存储时出现以下错误:

"service bridge HTTP failed: Post http://appengine.googleapis.internal:10001/rpc_http : dial tcp: lookup appengine.googleapis.internal on 127.0.0.11:53: no such host" “服务桥 HTTP 失败:发布http://appengine.googleapis.internal:10001/rpc_http :拨号 tcp:在 127.0.0.11:53 上查找 appengine.googleapis.internal:没有这样的主机”

Do you experience the same issue?您是否遇到同样的问题? Is there any workaround?有什么解决方法吗?

Thank you谢谢

Solved, it was my bad.解决了,这是我的错。 I was still using datastore client from "google.golang.org/appengine/datastore" instead of "cloud.google.com/go/datastore".我仍在使用来自“google.golang.org/appengine/datastore”而不是“cloud.google.com/go/datastore”的数据存储客户端。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 App Engine数据存储访问 - App Engine Datastore access 成功部署后,Google App Engine不会运行任何实例 - Google App Engine runs no instances after a successful deployment 应用引擎灵活环境的部署失败 - Deployment fails for app engine flexible enviornment Concurent访问应用引擎中的数据存储区 - Concurent Access to datastore in app engine Google App Engine(灵活环境)能否在部署前执行 package.json 中定义的构建步骤? - Can Google App Engine (flexible environment) perform a build step defined in package.json just before deployment? 部署后无法访问Google App Engine中的Spring Boot应用程序 - Unable to access Spring Boot application in Google App Engine after deployment Intellij无法部署到Google App Engine Flexible - Deployment to Google App Engine Flexible is failing from Intellij Google App引擎:Golang datastore.GetAll()无法正常工作 - Google app engine: Golang datastore.GetAll() not working 如何使用Golang将种子数据加载到App Engine的数据存储区中? - How to load seed data into app engine's datastore using golang? 如何使用GoLang按Google App Engine数据存储区中的日期/时间进行过滤 - How to filter by date/time in Google App Engine Datastore using GoLang
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM