Skip to content

Non-JSON reply, HTTP status 503 #288

Description

@vird

edge-core-js can crash app with unhandled rejection

Error: Non-JSON reply, HTTP status 503, /api/v2/store/ca41***/aedb***
at response.json.catch.jsonError (/usr/src/app/node_modules/edge-core-js/lib/core/storage/storage-servers.js:55:17)
at process._tickCallback (internal/process/next_tick.js:68:7)

There are no specific steps to reproduce, seems there is no retry logic here

response.json().catch(jsonError => {

Seems sync is called without proper error wrapping

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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