spotify / async-google-pubsub-client

[SUNSET] Async Google Pubsub Client
Apache License 2.0
158 stars 40 forks source link

Get access token error with appengine server #32

Open mostafamarji opened 7 years ago

mostafamarji commented 7 years ago

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)

danielnorberg commented 7 years ago

What credentials are you using? Default?

mostafamarji commented 7 years ago

yes default credentials

santhh commented 6 years ago

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