-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
403 when try to use grpc com.google.endpoints.examples.hello.HelloWorldClient #873
Comments
Here is the esp log I got, it seems servicemanagement api is denied on my service, I did enable the google servicemanagement api in my project.
|
@zhihuawensc does the service account that is associated with your GCE VM have Read scopes on "Service Management" and enabled for "Service Control"? This is what I get by deafult: |
Also make sure your service account has "Editor" permissions in https://console.cloud.google.com/iam-admin/iam/project |
@jeffmendoza Is there a simple way I can just test the servicemanagement api permission from inside the VM? |
It is a bit tedious, but you can. Get an access token for your compute engine default service account:
Then make a request to service management.
Note I used the $SERVICE_NAME and $SERVICE_CONFIG env vars the sample has you set. The reference for that call is here: https://cloud.google.com/service-management/reference/rest/v1/services.configs/get I see that your errors are for service control check and report, the reference for that is here: https://cloud.google.com/service-control/reference/rest/ There might be a problem with the settings on that API, but it looks good in your screenshots. |
I can make a request to service management api from the GCE vm using the access token from the metadata server. curl https://servicemanagement.googleapis.com/v1/services/$SERVICE_NAME/configs/$SERVICE_CONFIG_ID -H "Authorization":"Bearer ya29.xxxx" |
@jeffmendoza I updated gcloud util and changed the service name, this time everything went through. |
Good to know. Do you have the log from the original crash of the gcloud command? |
Wow, it's 2019 and this was probably the cause of my issue. I redeployed my service again and the error went away (or changed, rather). Please see:
There is a very painful bug that needs to be addressed by the Cloud Endpoints team. UPDATE: Looks like my original issue was is not the exact same as this issue, but this issue lent clues anyway. |
…test to v2.7.3 (#873) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.springframework.boot:spring-boot-starter-test](https://spring.io/projects/spring-boot) ([source](https://togithub.com/spring-projects/spring-boot)) | `2.7.2` -> `2.7.3` | [![age](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-test/2.7.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-test/2.7.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-test/2.7.3/compatibility-slim/2.7.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-test/2.7.3/confidence-slim/2.7.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>spring-projects/spring-boot</summary> ### [`v2.7.3`](https://togithub.com/spring-projects/spring-boot/releases/tag/v2.7.3) [Compare Source](https://togithub.com/spring-projects/spring-boot/compare/v2.7.2...v2.7.3) #### 🐞 Bug Fixes - Misleading error message when using JarMode Layertools and the source is not an archive [#​32097](https://togithub.com/spring-projects/spring-boot/issues/32097) - ClassNotFoundException can be thrown for classes in nested jars when under GC pressure [#​32085](https://togithub.com/spring-projects/spring-boot/issues/32085) - Flyway auto-configuration fails with Flyway 9 [#​32034](https://togithub.com/spring-projects/spring-boot/issues/32034) - BasicJsonParser does not protect against deeply nested maps [#​32031](https://togithub.com/spring-projects/spring-boot/issues/32031) - OptionalLiveReloadServer logs the wrong port number when it is configured to use an ephemeral port [#​31984](https://togithub.com/spring-projects/spring-boot/issues/31984) - Servlet WebServerStartStopLifecycle doesn't set running to false on stop [#​31967](https://togithub.com/spring-projects/spring-boot/issues/31967) - JUL-based logging performed during close of application context is lost [#​31963](https://togithub.com/spring-projects/spring-boot/issues/31963) - The hash of spring-boot-jarmode-layertools.jar that's added to a fat jar doesn't match the hash of the equivalent published artifact [#​31949](https://togithub.com/spring-projects/spring-boot/issues/31949) - management.endpoint.health.probes.add-additional-paths has no effect when configuration properties have already created the liveness and/or readiness groups [#​31926](https://togithub.com/spring-projects/spring-boot/issues/31926) - UnsupportedDataSourcePropertyException is thrown when attempting to set jdbcUrl for C3P0 [#​31921](https://togithub.com/spring-projects/spring-boot/issues/31921) - Dev Tools restart failures caused by a too short quiet period are hard to diagnose [#​31906](https://togithub.com/spring-projects/spring-boot/issues/31906) - HealthContributor beans managed by a CompositeHealthContributor are recreated on each call [#​31879](https://togithub.com/spring-projects/spring-boot/issues/31879) - Dependency management for REST Assured is incomplete [#​31877](https://togithub.com/spring-projects/spring-boot/issues/31877) - Jar Handler never clears PROTOCOL_HANDLER system property [#​31875](https://togithub.com/spring-projects/spring-boot/issues/31875) - BasicJsonParser can fail with a timeout or stackoverflow with malformed map JSON [#​31873](https://togithub.com/spring-projects/spring-boot/issues/31873) - BasicJsonParser can fail with a stackoverflow exception [#​31871](https://togithub.com/spring-projects/spring-boot/issues/31871) #### 📔 Documentation - Review Git contribution documentation [#​32099](https://togithub.com/spring-projects/spring-boot/issues/32099) - Documentation for Maven Plugin classifier has an unresolved external reference [#​32043](https://togithub.com/spring-projects/spring-boot/issues/32043) - Update Static Content reference documentation to reflect the DefaultServlet no longer being enabled by default [#​32026](https://togithub.com/spring-projects/spring-boot/issues/32026) - Example log output is out-of-date and inconsistent [#​31987](https://togithub.com/spring-projects/spring-boot/issues/31987) - Document that Undertow's record-request-start-time server option must be enabled for %D to work in access logging [#​31976](https://togithub.com/spring-projects/spring-boot/issues/31976) - Update documentation on using H2C to consider running behind a proxy that's performing TLS termination [#​31974](https://togithub.com/spring-projects/spring-boot/issues/31974) - Some properties in the Common Application Properties appendix have no description [#​31971](https://togithub.com/spring-projects/spring-boot/issues/31971) - Fix links in documentations [#​31951](https://togithub.com/spring-projects/spring-boot/issues/31951) - External configuration documentation uses incorrect placeholder syntax [#​31943](https://togithub.com/spring-projects/spring-boot/issues/31943) - server.reactive.session.cookie properties are not listed in the application properties appendix [#​31914](https://togithub.com/spring-projects/spring-boot/issues/31914) - Remove documentation and metadata references to ConfigFileApplicationListener [#​31901](https://togithub.com/spring-projects/spring-boot/issues/31901) - Metadata for 'spring.beaninfo.ignore' has incorrect SourceType [#​31899](https://togithub.com/spring-projects/spring-boot/issues/31899) - Remove reference to nitrite-spring-boot-starter [#​31893](https://togithub.com/spring-projects/spring-boot/issues/31893) - Remove reference to Azure Application Insights [#​31890](https://togithub.com/spring-projects/spring-boot/issues/31890) - Fix typos in code and documentation [#​31865](https://togithub.com/spring-projects/spring-boot/issues/31865) #### 🔨 Dependency Upgrades - Upgrade to Byte Buddy 1.12.13 [#​32013](https://togithub.com/spring-projects/spring-boot/issues/32013) - Upgrade to Couchbase Client 3.3.3 [#​32014](https://togithub.com/spring-projects/spring-boot/issues/32014) - Upgrade to Dependency Management Plugin 1.0.13.RELEASE [#​32056](https://togithub.com/spring-projects/spring-boot/issues/32056) - Upgrade to Dropwizard Metrics 4.2.11 [#​32015](https://togithub.com/spring-projects/spring-boot/issues/32015) - Upgrade to Embedded Mongo 3.4.8 [#​32016](https://togithub.com/spring-projects/spring-boot/issues/32016) - Upgrade to GraphQL Java 18.3 [#​31945](https://togithub.com/spring-projects/spring-boot/issues/31945) - Upgrade to Groovy 3.0.12 [#​32017](https://togithub.com/spring-projects/spring-boot/issues/32017) - Upgrade to Gson 2.9.1 [#​32018](https://togithub.com/spring-projects/spring-boot/issues/32018) - Upgrade to Hazelcast 5.1.3 [#​32019](https://togithub.com/spring-projects/spring-boot/issues/32019) - Upgrade to Hibernate Validator 6.2.4.Final [#​32020](https://togithub.com/spring-projects/spring-boot/issues/32020) - Upgrade to MariaDB 3.0.7 [#​32021](https://togithub.com/spring-projects/spring-boot/issues/32021) - Upgrade to Maven Javadoc Plugin 3.4.1 [#​32089](https://togithub.com/spring-projects/spring-boot/issues/32089) - Upgrade to Micrometer 1.9.3 [#​32022](https://togithub.com/spring-projects/spring-boot/issues/32022) - Upgrade to MySQL 8.0.30 [#​32023](https://togithub.com/spring-projects/spring-boot/issues/32023) - Upgrade to Reactor 2020.0.22 [#​32038](https://togithub.com/spring-projects/spring-boot/issues/32038) - Upgrade to Spring Security 5.7.3 [#​32040](https://togithub.com/spring-projects/spring-boot/issues/32040) - Upgrade to Undertow 2.2.19.Final [#​32090](https://togithub.com/spring-projects/spring-boot/issues/32090) #### ❤️ Contributors We'd like to thank all the contributors who worked on this release! - [@​dreis2211](https://togithub.com/dreis2211) - [@​marcwrobel](https://togithub.com/marcwrobel) - [@​ionascustefanciprian](https://togithub.com/ionascustefanciprian) - [@​vilmos](https://togithub.com/vilmos) - [@​Kalpesh-18](https://togithub.com/Kalpesh-18) - [@​nilshartmann](https://togithub.com/nilshartmann) - [@​vpavic](https://togithub.com/vpavic) - [@​adrianbob](https://togithub.com/adrianbob) - [@​aoyvx](https://togithub.com/aoyvx) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-recaptchaenterprise). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNjMuMCIsInVwZGF0ZWRJblZlciI6IjMyLjE2My4wIn0=-->
…test to v2.7.3 (#873) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.springframework.boot:spring-boot-starter-test](https://spring.io/projects/spring-boot) ([source](https://togithub.com/spring-projects/spring-boot)) | `2.7.2` -> `2.7.3` | [![age](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-test/2.7.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-test/2.7.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-test/2.7.3/compatibility-slim/2.7.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-test/2.7.3/confidence-slim/2.7.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>spring-projects/spring-boot</summary> ### [`v2.7.3`](https://togithub.com/spring-projects/spring-boot/releases/tag/v2.7.3) [Compare Source](https://togithub.com/spring-projects/spring-boot/compare/v2.7.2...v2.7.3) #### 🐞 Bug Fixes - Misleading error message when using JarMode Layertools and the source is not an archive [#​32097](https://togithub.com/spring-projects/spring-boot/issues/32097) - ClassNotFoundException can be thrown for classes in nested jars when under GC pressure [#​32085](https://togithub.com/spring-projects/spring-boot/issues/32085) - Flyway auto-configuration fails with Flyway 9 [#​32034](https://togithub.com/spring-projects/spring-boot/issues/32034) - BasicJsonParser does not protect against deeply nested maps [#​32031](https://togithub.com/spring-projects/spring-boot/issues/32031) - OptionalLiveReloadServer logs the wrong port number when it is configured to use an ephemeral port [#​31984](https://togithub.com/spring-projects/spring-boot/issues/31984) - Servlet WebServerStartStopLifecycle doesn't set running to false on stop [#​31967](https://togithub.com/spring-projects/spring-boot/issues/31967) - JUL-based logging performed during close of application context is lost [#​31963](https://togithub.com/spring-projects/spring-boot/issues/31963) - The hash of spring-boot-jarmode-layertools.jar that's added to a fat jar doesn't match the hash of the equivalent published artifact [#​31949](https://togithub.com/spring-projects/spring-boot/issues/31949) - management.endpoint.health.probes.add-additional-paths has no effect when configuration properties have already created the liveness and/or readiness groups [#​31926](https://togithub.com/spring-projects/spring-boot/issues/31926) - UnsupportedDataSourcePropertyException is thrown when attempting to set jdbcUrl for C3P0 [#​31921](https://togithub.com/spring-projects/spring-boot/issues/31921) - Dev Tools restart failures caused by a too short quiet period are hard to diagnose [#​31906](https://togithub.com/spring-projects/spring-boot/issues/31906) - HealthContributor beans managed by a CompositeHealthContributor are recreated on each call [#​31879](https://togithub.com/spring-projects/spring-boot/issues/31879) - Dependency management for REST Assured is incomplete [#​31877](https://togithub.com/spring-projects/spring-boot/issues/31877) - Jar Handler never clears PROTOCOL_HANDLER system property [#​31875](https://togithub.com/spring-projects/spring-boot/issues/31875) - BasicJsonParser can fail with a timeout or stackoverflow with malformed map JSON [#​31873](https://togithub.com/spring-projects/spring-boot/issues/31873) - BasicJsonParser can fail with a stackoverflow exception [#​31871](https://togithub.com/spring-projects/spring-boot/issues/31871) #### 📔 Documentation - Review Git contribution documentation [#​32099](https://togithub.com/spring-projects/spring-boot/issues/32099) - Documentation for Maven Plugin classifier has an unresolved external reference [#​32043](https://togithub.com/spring-projects/spring-boot/issues/32043) - Update Static Content reference documentation to reflect the DefaultServlet no longer being enabled by default [#​32026](https://togithub.com/spring-projects/spring-boot/issues/32026) - Example log output is out-of-date and inconsistent [#​31987](https://togithub.com/spring-projects/spring-boot/issues/31987) - Document that Undertow's record-request-start-time server option must be enabled for %D to work in access logging [#​31976](https://togithub.com/spring-projects/spring-boot/issues/31976) - Update documentation on using H2C to consider running behind a proxy that's performing TLS termination [#​31974](https://togithub.com/spring-projects/spring-boot/issues/31974) - Some properties in the Common Application Properties appendix have no description [#​31971](https://togithub.com/spring-projects/spring-boot/issues/31971) - Fix links in documentations [#​31951](https://togithub.com/spring-projects/spring-boot/issues/31951) - External configuration documentation uses incorrect placeholder syntax [#​31943](https://togithub.com/spring-projects/spring-boot/issues/31943) - server.reactive.session.cookie properties are not listed in the application properties appendix [#​31914](https://togithub.com/spring-projects/spring-boot/issues/31914) - Remove documentation and metadata references to ConfigFileApplicationListener [#​31901](https://togithub.com/spring-projects/spring-boot/issues/31901) - Metadata for 'spring.beaninfo.ignore' has incorrect SourceType [#​31899](https://togithub.com/spring-projects/spring-boot/issues/31899) - Remove reference to nitrite-spring-boot-starter [#​31893](https://togithub.com/spring-projects/spring-boot/issues/31893) - Remove reference to Azure Application Insights [#​31890](https://togithub.com/spring-projects/spring-boot/issues/31890) - Fix typos in code and documentation [#​31865](https://togithub.com/spring-projects/spring-boot/issues/31865) #### 🔨 Dependency Upgrades - Upgrade to Byte Buddy 1.12.13 [#​32013](https://togithub.com/spring-projects/spring-boot/issues/32013) - Upgrade to Couchbase Client 3.3.3 [#​32014](https://togithub.com/spring-projects/spring-boot/issues/32014) - Upgrade to Dependency Management Plugin 1.0.13.RELEASE [#​32056](https://togithub.com/spring-projects/spring-boot/issues/32056) - Upgrade to Dropwizard Metrics 4.2.11 [#​32015](https://togithub.com/spring-projects/spring-boot/issues/32015) - Upgrade to Embedded Mongo 3.4.8 [#​32016](https://togithub.com/spring-projects/spring-boot/issues/32016) - Upgrade to GraphQL Java 18.3 [#​31945](https://togithub.com/spring-projects/spring-boot/issues/31945) - Upgrade to Groovy 3.0.12 [#​32017](https://togithub.com/spring-projects/spring-boot/issues/32017) - Upgrade to Gson 2.9.1 [#​32018](https://togithub.com/spring-projects/spring-boot/issues/32018) - Upgrade to Hazelcast 5.1.3 [#​32019](https://togithub.com/spring-projects/spring-boot/issues/32019) - Upgrade to Hibernate Validator 6.2.4.Final [#​32020](https://togithub.com/spring-projects/spring-boot/issues/32020) - Upgrade to MariaDB 3.0.7 [#​32021](https://togithub.com/spring-projects/spring-boot/issues/32021) - Upgrade to Maven Javadoc Plugin 3.4.1 [#​32089](https://togithub.com/spring-projects/spring-boot/issues/32089) - Upgrade to Micrometer 1.9.3 [#​32022](https://togithub.com/spring-projects/spring-boot/issues/32022) - Upgrade to MySQL 8.0.30 [#​32023](https://togithub.com/spring-projects/spring-boot/issues/32023) - Upgrade to Reactor 2020.0.22 [#​32038](https://togithub.com/spring-projects/spring-boot/issues/32038) - Upgrade to Spring Security 5.7.3 [#​32040](https://togithub.com/spring-projects/spring-boot/issues/32040) - Upgrade to Undertow 2.2.19.Final [#​32090](https://togithub.com/spring-projects/spring-boot/issues/32090) #### ❤️ Contributors We'd like to thank all the contributors who worked on this release! - [@​dreis2211](https://togithub.com/dreis2211) - [@​marcwrobel](https://togithub.com/marcwrobel) - [@​ionascustefanciprian](https://togithub.com/ionascustefanciprian) - [@​vilmos](https://togithub.com/vilmos) - [@​Kalpesh-18](https://togithub.com/Kalpesh-18) - [@​nilshartmann](https://togithub.com/nilshartmann) - [@​vpavic](https://togithub.com/vpavic) - [@​adrianbob](https://togithub.com/adrianbob) - [@​aoyvx](https://togithub.com/aoyvx) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-recaptchaenterprise). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNjMuMCIsInVwZGF0ZWRJblZlciI6IjMyLjE2My4wIn0=-->
…1.0 (#873) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.0.0` -> `26.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/compatibility-slim/26.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/confidence-slim/26.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-document-ai). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNTguMCIsInVwZGF0ZWRJblZlciI6IjMyLjE1OC4wIn0=-->
…1.0 (#873) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.0.0` -> `26.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/compatibility-slim/26.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.0/confidence-slim/26.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-document-ai). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNTguMCIsInVwZGF0ZWRJblZlciI6IjMyLjE1OC4wIn0=-->
…873) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `21.0.0` -> `22.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/22.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/22.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/22.0.0/compatibility-slim/21.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/22.0.0/confidence-slim/21.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-automl).
…873) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `21.0.0` -> `22.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/22.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/22.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/22.0.0/compatibility-slim/21.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/22.0.0/confidence-slim/21.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-automl).
…873) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `21.0.0` -> `22.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/22.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/22.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/22.0.0/compatibility-slim/21.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/22.0.0/confidence-slim/21.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-automl).
In which file did you encounter the issue?
com.google.endpoints.examples.hello.HelloWorldClient
https://github.com/GoogleCloudPlatform/java-docs-samples/blob/master/endpoints/getting-started-grpc/client/src/main/java/com/google/endpoints/examples/hello/HelloWorldClient.java
Did you change the file? If so, how?
NO.
Describe the issue
I followed all the steps in https://github.com/GoogleCloudPlatform/java-docs-samples/tree/master/endpoints/getting-started-grpc, it can run locally. I started the docker, enabled the HTTP traffic on the gce instance, created the api key on my project. But I still got 403 error as below. Please advise me how to debug this issue.
C02S715FFVH6:getting-started-grpc zhihua.wen$ java -jar client/build/libs/client.jar --host external_ip:80 --api_key <api_key>
Sep 27, 2017 3:27:18 PM io.grpc.internal.ManagedChannelImpl
INFO: [ManagedChannelImpl@4cdbe50f] Created with target external_ip:80
Sep 27, 2017 3:27:18 PM com.google.endpoints.examples.hello.HelloWorldClient greet
INFO: Will try to greet world ...
Sep 27, 2017 3:27:18 PM com.google.endpoints.examples.hello.HelloWorldClient$Interceptor interceptCall
INFO: Intercepted helloworld.Greeter/SayHello
Sep 27, 2017 3:27:18 PM com.google.endpoints.examples.hello.HelloWorldClient$Interceptor$1 start
INFO: Attaching API Key: <api_key>
Sep 27, 2017 3:27:19 PM com.google.endpoints.examples.hello.HelloWorldClient greet
WARNING: RPC failed: Status{code=UNAVAILABLE, description=Service control request failed with HTTP response code 403, cause=null}
Sep 27, 2017 3:27:19 PM io.grpc.internal.ManagedChannelImpl maybeTerminateChannel
The text was updated successfully, but these errors were encountered: