小编Hen*_*eng的帖子

使用 Cloudrun for ENDPOINTS_SERVICE_NAME 环境变量时,Google Cloud Endpoints 收到错误

使用 ESPv2 Beta sidecar 容器设置后端服务后收到以下错误消息。

Serverless ESPv2 expects ENDPOINTS_SERVICE_NAME in environment variables.

 Did you forget to build the Endpoints service configuration
 into the ESPv2 image? Please refer to the official serverless
 quickstart tutorials (below) for more information.

 https://cloud.google.com/endpoints/docs/openapi/get-started-cloud-run#configure_esp
 https://cloud.google.com/endpoints/docs/openapi/get-started-cloud-functions#configure_esp

 If you are following along with these tutorials but have not
 reached the step above yet, this error is expected. Feel free
 to temporarily disregard this error message.

 If you wish to skip this step, please specify the name of the …
Run Code Online (Sandbox Code Playgroud)

google-cloud-platform google-cloud-endpoints-v2 google-cloud-run

1
推荐指数
1
解决办法
780
查看次数