Skip to content

Stoa shuts down if it fails to connect to Agora node. #181

@TrustHenry

Description

@TrustHenry

Agora is a separate process from Stoa that can be restarted at any time.
Or the service may be down for a while.
Stoa must wait until it can be connected to Agora.

[Stoa] 2020-11-10T01:53:30.880Z error Error: Could not connect to Agora node: Error: connect ETIMEDOUT 127.1.1.1:4567
npm ERR! code 1
npm ERR! path /Users/henry/Work/BOA/Github/stoa
npm ERR! command failed
npm ERR! command sh -c NODE_ENV=production ts-node src/main.ts "-c" "docs/config.example.yaml"

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/henry/.npm/_logs/2020-11-10T01_53_30_897Z-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugIssue/PR addresses a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions