Authentication failures using Spanner with appengine:run
for App Engine Standard J8
#2155
Labels
api: spanner
Issues related to the Spanner API.
auth
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
running on app engine
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Auth errors using both plugins in
mvn appengine:run
: http://mvnrepository.com/artifact/com.google.cloud.tools/appengine-maven-plugin/1.3.1mvn appengine:devserver
: https://mvnrepository.com/artifact/com.google.appengine/appengine-maven-plugin/1.9.53IAM 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
The text was updated successfully, but these errors were encountered: