async-google-pubsub-client
async-google-pubsub-client copied to clipboard
Get access token error with appengine server
I am trying to use this library with google app engine server (java 8) , when I am running the code locally the code run normally but when I make deploy online I got this error :
Uncaught exception from servlet java.lang.RuntimeException: Failed to get access token at com.spotify.google.cloud.pubsub.client.Pubsub.<init>(Pubsub.java:160) at com.spotify.google.cloud.pubsub.client.Pubsub.<init>(Pubsub.java:82) at com.spotify.google.cloud.pubsub.client.Pubsub$Builder.build(Pubsub.java:975) at com.spotify.google.cloud.pubsub.client.Pubsub.create(Pubsub.java:938)
What credentials are you using? Default?
yes default credentials
Is there any workaround for this issue? I am also having the same.