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

Occasionally peerdb fails to start when docker compose up #125

Closed
saisrirampur opened this issue Jun 12, 2023 · 0 comments
Closed

Occasionally peerdb fails to start when docker compose up #125

saisrirampur opened this issue Jun 12, 2023 · 0 comments
Assignees

Comments

@saisrirampur
Copy link
Collaborator

I think peerdb tries to connect to flow_api before flow_api is ready. This causes peerdb not to start. Have seen this mostly happen when we first time docker compose up. Restarting the docker compose up command fixes the issue most of the times.

peerdb-stack-peerdb-1       | 2023-06-12T17:17:21.339614Z  INFO Migration Applied -  Name: peer_connections, Version: 2
peerdb-stack-peerdb-1       | 2023-06-12T17:17:21.339617Z  INFO Migration Applied -  Name: add_workflow_id_to_flows, Version: 3
peerdb-stack-peerdb-1       | 2023-06-12T17:17:21.340716Z  INFO Listening on 0.0.0.0:9900
peerdb-stack-peerdb-1       | Error: failed to send health check request
peerdb-stack-peerdb-1       |
peerdb-stack-peerdb-1       | Caused by:
peerdb-stack-peerdb-1       |     0: error sending request for url (http://flow_api:8112/health): error trying to connect: dns error: failed to lookup address information: Name or service not known
peerdb-stack-peerdb-1       |     1: error trying to connect: dns error: failed to lookup address information: Name or service not known
peerdb-stack-peerdb-1       |     2: dns error: failed to lookup address information: Name or service not known
peerdb-stack-peerdb-1       |     3: failed to lookup address information: Name or service not known
peerdb-stack-peerdb-1 exited with code 1```
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

3 participants