Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch from --genesis-url likely to fail in composed container setup #1745

Closed
tdiesler opened this issue Apr 26, 2022 · 0 comments
Closed

Fetch from --genesis-url likely to fail in composed container setup #1745

tdiesler opened this issue Apr 26, 2022 · 0 comments

Comments

@tdiesler
Copy link
Contributor

tdiesler commented Apr 26, 2022

The VON-Network webserver sleeps 10sec before startup in docker-compose. Presumably, it waits for the nodes to settle on some stable genesis state before it can serve the genesis Txs.

In Aca-Py we are a little less patient and only allow 5 retries with a 1sec timeout each - this is the default of the http fetch.

As a result, if you start VON-Network and Aca-Py in a composed way (i.e. docker compose or k8s) Aca-Py will likely fail to fetch from --genesis-url

tdiesler added a commit to tdiesler/aries-cloudagent-python that referenced this issue Apr 26, 2022
…in composed container setup

Signed-off-by: Thomas Diesler <[email protected]>
ianco added a commit that referenced this issue May 4, 2022
[#1745] Fetch from --genesis-url likely to fail in composed container…
@swcurran swcurran closed this as completed Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants