async-google-pubsub-client icon indicating copy to clipboard operation
async-google-pubsub-client copied to clipboard

Get access token error with appengine server

Open mostafamarji opened this issue 7 years ago • 3 comments

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)

mostafamarji avatar Sep 14 '17 14:09 mostafamarji

What credentials are you using? Default?

danielnorberg avatar Sep 16 '17 12:09 danielnorberg

yes default credentials

mostafamarji avatar Sep 16 '17 13:09 mostafamarji

Is there any workaround for this issue? I am also having the same.

santhh avatar Jan 18 '18 00:01 santhh