janvda / node-red-contrib-google-photos

Node-RED node for Google APIs using OAuth2.
MIT License
0 stars 0 forks source link

A stop - start of the node-red container didn't refresh token. #10

Open janvda opened 4 years ago

janvda commented 4 years ago
9 Dec 09:02:57 - [info] Starting flows
9 Dec 09:02:57 - [warn] [google:google photos api] node.config.credentials.refreshToken:1//03iXkBhr7-NeFCgYIARAAGAMSNw
9 Dec 09:02:57 - [warn] [google:google photos api] node.config.credentials.expireTime:12/9/2019, 8:57:01 AM
9 Dec 09:02:57 - [warn] [google:google photos api] node.config.credentials.refreshToken:1//03iXkBhr7-NeFCgYIARAAGAMSNw
9 Dec 09:02:57 - [warn] [google:google photos api] node.config.credentials.expireTime:12/9/2019, 8:57:01 AM
9 Dec 09:02:57 - [warn] [google:google photos api] node.config.credentials.refreshToken:1//03iXkBhr7-NeFCgYIARAAGAMSNw
9 Dec 09:02:57 - [warn] [google:google photos api] node.config.credentials.expireTime:12/9/2019, 8:57:01 AM
9 Dec 09:02:57 - [info] Started flows
9 Dec 09:03:02 - [warn] [google:google photos api] node.on('input'):[object Object]
9 Dec 09:03:02 - [warn] [google:google photos api] get_albums_list ...
9 Dec 09:03:02 - [error] [google:google photos api] TypeError: Cannot read property 'albums' of null
9 Dec 09:03:02 - [warn] [google:google photos api] ... end node.on()
janvda commented 4 years ago

Maybe we should save the access token and refresh token in a local file and use that.

janvda commented 4 years ago

most likely this is because the google servers can't be reached currently for upload (ports are blocked)