Hi Jesse, 


Please note that this type of question is more appropriate for Stack 
Overflow which we regularly monitor as other types of stack exchange 
services and which would increase your chances to get a faster answer due 
to its larger audience.


According to your exception log, the issue comes from line 16 of 
RemoteTest.java. So you may want to look at the 
useApplicationDefaultCredential() method 
<https://developers.google.com/identity/protocols/application-default-credentials>
 
and make sure that the application default credentials are set 
appropriately on your machine. More specifically, try using your identity 
as a proxy to test code calling the API with “gcloud beta auth 
application-default login” command 
<https://cloud.google.com/sdk/gcloud/reference/beta/auth/application-default/login>
.


Alternatively, you could use a manually exported service account p12 key, 
with useServiceAccountCredential(serviceAccountId, p12PrivateKeyFile) method 
<https://cloud.google.com/appengine/docs/java/tools/remoteapi/javadoc/com/google/appengine/tools/remoteapi/RemoteApiOptions#useServiceAccountCredential-java.lang.String-java.lang.String->
 
and for more information on how to generate a p12 format follow the 
instructions here 
<https://cloud.google.com/storage/docs/authentication#generating-a-private-key>
.


Let me know if that works for you.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/333e11c5-d1da-4618-b234-352a5b115e34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine] C... contact androidlost
    • [google-appengi... 'Alex (Cloud Platform Support)' via Google App Engine

Reply via email to