Skip to content

oc-gs-storage-adapter failing  #180

Open
@kmcrawford

Description

@kmcrawford

There are occasional errors that aren't being logged due to opencomponents/oc#1022 the issue below looks to be an combination of a few errors all being logged at the same time. However what I think I can take away from this is that there is an auth issue. It looks like a new client is being created every time, which would call the auth api. Perhaps we can can create this once and re-use it.

https://github.com/opencomponents/storage-adapters/blob/master/packages/oc-gs-storage-adapter/index.js#L43

data: { error: 'internal_failure' },
--
connection: 'close',
'content-encoding': 'gzip',
'x-content-type-options': 'nosniff',
status: 503,
config:
data:
{ Error: internal_failure
at Generator.next (<anonymous>)
body:
at Gaxios.<anonymous> (/app/node_modules/gaxios/build/src/gaxios.js:72:27)
{ config:
url: 'https://www.googleapis.com/oauth2/v4/token',
{ 'cache-control': 'private',
server: 'scaffolding on HTTPServer2',
{ 'Content-Type': 'application/json',
status: 503,
headers: [Object],
paramsSerializer: [Function: paramsSerializer],
'x-xss-protection': '0' },
code: '503' } components/components.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions