tjotala / lr-robotagger

Automatic tagging of photos with labels and landmarks using Google Vision API
MIT License
12 stars 10 forks source link

Failed to authenticate to Google Vision API #2

Open aitorserra opened 5 years ago

aitorserra commented 5 years ago

Hello,

Thank you for share your plugin. I was testing it and can't make it run, the error:

Failed to authenticate to Google Vision API Bad credentials

I had created the google account and download the credentials for Cloud Vision. Then loaded on the plugin options. I also installed openssl for win32 and 64 and setup using command line:

SET OPENSSL_CONF=C:\Program Files (x86)\OpenSSL-Win32\bin\openssl.cfg SET OPENSSL_CONF=C:\Program Files\OpenSSL-Win64\bin\openssl.cfg

On "Versions" I only have:

Cloud Vision API v1

and the next line it's empty. So I think the problem it could be the openssl as you say in your documentation.

Any idea about how can I fix this?

Thank you.

aitorserra commented 5 years ago

Finally it's working doing this:

https://www.youtube.com/watch?v=3I7eL2Mm6Ps

But only for 1 file, if I select 2 I'm getting this error:

Invalid JWT signature

aitorserra commented 5 years ago

Sometimes it works... rare.