You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Authentication failures using Spanner with appengine:run for App Engine Standard J8 #2155
IAM Errors on creating, querying :
- com.google.cloud.spanner.SpannerException: PERMISSION_DENIED: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Access denied. Missing IAM permission: spanner.databases.create.
com.google.cloud.spanner.SpannerException: PERMISSION_DENIED: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Access denied. Missing IAM permission: spanner.sessions.create.
I've verified within the servlet that GOOGLE_APPLICATION_CREDENTIALS exists and is valid.
Same code works fine when using the Jetty Plugin mvn jetty:run
changed the title [-]Authentication failures using Spanner with `appengine:run` locally for App Engine Standard J8[/-][+]Authentication failures using Spanner with `appengine:run` for App Engine Standard J8[/+]on Jun 15, 2017
I've done this, but I may have added the IAM permission to the app engine service account. Could you retest this and we may need to document on Doug's new page.
Activity
jabubake commentedon Jun 15, 2017
@ludoch @lesv FYI
[-]Authentication failures using Spanner with `appengine:run` locally for App Engine Standard J8[/-][+]Authentication failures using Spanner with `appengine:run` for App Engine Standard J8[/+]garrettjonesgoogle commentedon Jul 17, 2017
@jabubake is there any chance this is related to #2209 ?
lesv commentedon Sep 20, 2017
I've done this, but I may have added the IAM permission to the app engine service account. Could you retest this and we may need to document on Doug's new page.
neozwu commentedon Sep 21, 2017
I tested some spanner sample code on GAE 8 today and with right IAM it should work now.
chore(deps): update dependency com.google.cloud:google-cloud-spanner-…
feat: add support for Proto Columns (#2779)
feat(spanner): add support for Proto Columns in Connection API (#3123)
deps: update dependency com.google.protobuf:protobuf-java-util to v4.…
chore(main): release 1.132.2 (#2168)
chore(main): release 1.133.0 (#2206)
deps: update dependency com.google.protobuf:protobuf-java-util to v4.…
chore(main): release 1.132.2 (#2168)
chore(main): release 1.133.0 (#2206)
deps: update dependency com.google.cloud:google-cloud-trace to v2.66.0 (
chore(main): release 2.35.1 (googleapis#2155)