Skip to content

Fix Startup Race conditions when using local frequency node #175

Open
@mattheworris

Description

@mattheworris

Description

When starting social-app-template with a local node, there is a race condition with the startup of the gateway services and the frequency node. If the services come up before the node, the provider seed phrase validation fails.

Steps to Reproduce

  1. Execute start.sh
  2. Accept all of the defaults
  3. Check docker logs to see that one or more of the workers have failed to verify the seed phrase and exited.

Solution

  • Use the gateway start.sh as a model and port over the startup logic such that the frequency container is started and setup before the rest of the gateway containers are started.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions