{ "code": 13, "message": "Failed to fetch service account token", "details": [ { "stackEntries": [], "detail": "internal" } ]}INFO:Constructing an access token with scope https://www.googleapis.com/auth/service.management.readonlyINFO:Service account email: local...@gl-beefastdelivery-dev.iam.gserviceaccount.comINFO:Refreshing access_tokenINFO:Fetching the service config ID from the rollouts serviceINFO:Fetching the service configuration from the service management servicenginx: [warn] Using trusted CA certificates file: /etc/nginx/trusted-ca-certificates.crt2019/09/12 19:57:26 [error] 10#10: connect() failed (111: Connection refused)2019/09/12 19:57:26 [error] 10#10: connect() failed (111: Connection refused)2019/09/12 19:57:26 [error] 10#10: connect() failed (111: Connection refused)2019/09/12 19:57:26 [error] 10#10: connect() failed (111: Connection refused)2019/09/12 19:57:26 [error] 10#10: connect() failed (111: Connection refused)2019/09/12 19:57:26 [error] 10#10: connect() failed (111: Connection refused)172.17.0.1 - - [12/Sep/2019:19:57:26 +0000] "GET /v1/deliveryRequest HTTP/1.1" 500 209 "-" "PostmanRuntime/7.16.3"172.17.0.1 - - [12/Sep/2019:19:57:27 +0000] "GET /v1/deliveryRequest HTTP/1.1" 500 209 "-" "PostmanRuntime/7.16.3"2019/09/12 19:57:28[error]10#10: Failed to call https://servicecontrol.googleapis.com/v1/services/ENDPOINTS_SERVICE_NAME:report, Error: FORBIDDEN: server response status code: 403, Response body:NPermission 'servicemanagement.services.report' denied for the consumer project[libprotobuf ERROR external/servicecontrol_client_git/src/service_control_client_impl.cc:182] Failed in Report call: Service control request failed with HTTP response code 403--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/06a2ca49-eb46-4b29-b580-6f5591ac4014%40googlegroups.com.
docker run --detach --name="esp" --publish=8082:8082 --volume=$PWD/service_accounts:/esp gcr.io/endpoints-release/endpoints-runtime:1 --service=appengine-standard-endpoints-7c7klfgvka-uc.a.run.app --rollout_strategy=managed --http_port=8082 --backend=host.docker.internal:8080 --service_account_key=/esp/service-account-creds.json
Hmm, but from the error code, it seems that you did not pass service account file to ESP. What flags did you pass to ESP in your "docker run"?
On Thu, Sep 12, 2019 at 3:48 PM Wayne Zhang <qiwz...@google.com> wrote:
It seems that the service account doesnt have enough roles to call service control services. Please make sure it has following roleClick Select a role and select Service Management > Service Controller.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
It seems that the service account doesnt have enough roles to call service control services. Please make sure it has following roleClick Select a role and select Service Management > Service Controller.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/06a2ca49-eb46-4b29-b580-6f5591ac4014%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/8736d7c3-56db-4e88-86e3-a542bd4aec76%40googlegroups.com.