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

fix: fixing Localnet status #365

Merged
merged 3 commits into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/algokit/cli/localnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def reset_localnet(*, update: bool) -> None:
sandbox.up()


SERVICE_NAMES = ("algod", "indexer", "indexer-db")
SERVICE_NAMES = ("algod", "conduit", "indexer-db", "indexer")


@localnet_group.command("status", short_help="Check the status of the AlgoKit LocalNet.")
Expand Down
233 changes: 185 additions & 48 deletions tests/localnet/test_localnet_status.py

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ DEBUG: Running 'docker version' in '{current_working_directory}'
DEBUG: docker: STDOUT
DEBUG: docker: STDERR
DEBUG: Running 'docker compose ps --format json' in '{app_config}/sandbox'
DEBUG: docker: [{"ID": "00e93d3db91d964d1b2bcf444c938140dc6b43398380374eaac8510f45381973", "Name": "algokit_algod", "Command": "start.sh", "Project": "algokit_sandbox", "Service": "algod", "State": "running", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "0.0.0.0", "TargetPort": 4001, "PublishedPort": 4001, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 4002, "PublishedPort": 4002, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 9392, "PublishedPort": 9392, "Protocol": "tcp"}]}, {"ID": "a242581a65f7e49d376bff9fd8d2288cdd85a28a264657d73db84dbeef6155b7", "Name": "algokit_indexer", "Command": "/tmp/start.sh", "Project": "algokit_sandbox", "Service": "indexer", "State": "running", "Health": "", "ExitCode": 0, "Publishers": []}, {"ID": "9e66aca1cd3542446e7b88f0701122a90f388308f7de0b57b6e2d843b3da9026", "Name": "algokit_postgres", "Command": "docker-entrypoint.sh postgres", "Project": "algokit_sandbox", "Service": "indexer-db", "State": "running", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "", "TargetPort": 5432, "PublishedPort": 0, "Protocol": "tcp"}]}]
DEBUG: docker: [{"ID": "e900c9dfe5e4676ca7fb3ac38cbee366ca5429ae447222282b64c059f5727a47", "Name": "algokit_algod", "Image": "algorand/algod:latest", "Command": "/node/run/run.sh", "Project": "algokit_sandbox", "Service": "algod", "Created": 1701664778, "State": "running", "Status": "", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "", "TargetPort": 4160, "PublishedPort": 0, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 7833, "PublishedPort": 4002, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 8080, "PublishedPort": 4001, "Protocol": "tcp"}, {"URL": "", "TargetPort": 9100, "PublishedPort": 0, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 9392, "PublishedPort": 9392, "Protocol": "tcp"}]}, {"ID": "2ba986bf8539527dbc1f2c3e9d8f83e834099ffea30d31f341691b172748464f", "Name": "algokit_conduit", "Image": "algorand/conduit:latest", "Command": "docker-entrypoint.sh", "Project": "algokit_sandbox", "Service": "conduit", "Created": 1701664778, "State": "running", "Status": "", "Health": "", "ExitCode": 0, "Publishers": []}, {"ID": "fa5b36dddbd112eb8b52ccd4de7db47c55ad49124b0483896a23f6727335cb3d", "Name": "algokit_sandbox-indexer-1", "Image": "algorand/indexer:latest", "Command": "docker-entrypoint.sh daemon --enable-all-parameters", "Project": "algokit_sandbox", "Service": "indexer", "Created": 1701664778, "State": "running", "Status": "", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "0.0.0.0", "TargetPort": 8980, "PublishedPort": 8980, "Protocol": "tcp"}]}, {"ID": "f3a0bf6fe1e1fcbff96b88f39e30bcadab4c1792234c970d654b7a34fb71e1d7", "Name": "algokit_postgres", "Image": "postgres:13-alpine", "Command": "docker-entrypoint.sh postgres", "Project": "algokit_sandbox", "Service": "indexer-db", "Created": 1701664778, "State": "running", "Status": "", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "0.0.0.0", "TargetPort": 5432, "PublishedPort": 5443, "Protocol": "tcp"}]}]
DEBUG: HTTP Request: GET http://localhost:4001/v2/status "HTTP/1.1 200 OK"
DEBUG: HTTP Request: GET http://localhost:4001/versions "HTTP/1.1 200 OK"
DEBUG: Error checking indexer status: No response can be found for GET request on http://localhost:8980/health amongst:
Match all requests on http://localhost:4001/v2/status
Match all requests on http://localhost:4001/versions
# algod status
Status: Running
Port: 4001
Expand All @@ -15,8 +18,10 @@ Time since last round: 15.3s
Genesis ID: {genesis_id}
Genesis hash: {genesis_hash_b64}
Version: 1.2.1
# indexer status
Status: Error
# conduit status
Status: Running
# indexer-db status
Status: Running
# indexer status
Status: Error
Error: At least one container isn't running; execute `algokit localnet start` to start the LocalNet
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ DEBUG: Running 'docker version' in '{current_working_directory}'
DEBUG: docker: STDOUT
DEBUG: docker: STDERR
DEBUG: Running 'docker compose ps --format json' in '{app_config}/sandbox'
DEBUG: docker: [{"ID": "00e93d3db91d964d1b2bcf444c938140dc6b43398380374eaac8510f45381973", "Name": "algokit_algod", "Command": "start.sh", "Project": "algokit_sandbox", "Service": "algod", "State": "running", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "0.0.0.0", "TargetPort": 4001, "PublishedPort": 4001, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 4002, "PublishedPort": 4002, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 9392, "PublishedPort": 9392, "Protocol": "tcp"}]}, {"ID": "a242581a65f7e49d376bff9fd8d2288cdd85a28a264657d73db84dbeef6155b7", "Name": "algokit_indexer", "Command": "/tmp/start.sh", "Project": "algokit_sandbox", "Service": "indexer", "State": "running", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "0.0.0.0", "TargetPort": 8980, "PublishedPort": 8980, "Protocol": "tcp"}]}, {"ID": "9e66aca1cd3542446e7b88f0701122a90f388308f7de0b57b6e2d843b3da9026", "Name": "algokit_postgres", "Command": "docker-entrypoint.sh postgres", "Project": "algokit_sandbox", "Service": "indexer-db", "State": "running", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "", "TargetPort": 5432, "PublishedPort": 0, "Protocol": "tcp"}]}]
DEBUG: docker: [{"ID": "e900c9dfe5e4676ca7fb3ac38cbee366ca5429ae447222282b64c059f5727a47", "Name": "algokit_algod", "Image": "algorand/algod:latest", "Command": "/node/run/run.sh", "Project": "algokit_sandbox", "Service": "algod", "Created": 1701664778, "State": "running", "Status": "", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "", "TargetPort": 4160, "PublishedPort": 0, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 7833, "PublishedPort": 4002, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 8080, "PublishedPort": 4001, "Protocol": "tcp"}, {"URL": "", "TargetPort": 9100, "PublishedPort": 0, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 9392, "PublishedPort": 9392, "Protocol": "tcp"}]}, {"ID": "2ba986bf8539527dbc1f2c3e9d8f83e834099ffea30d31f341691b172748464f", "Name": "algokit_conduit", "Image": "algorand/conduit:latest", "Command": "docker-entrypoint.sh", "Project": "algokit_sandbox", "Service": "conduit", "Created": 1701664778, "State": "running", "Status": "", "Health": "", "ExitCode": 0, "Publishers": []}, {"ID": "fa5b36dddbd112eb8b52ccd4de7db47c55ad49124b0483896a23f6727335cb3d", "Name": "algokit_sandbox-indexer-1", "Image": "algorand/indexer:latest", "Command": "docker-entrypoint.sh daemon --enable-all-parameters", "Project": "algokit_sandbox", "Service": "indexer", "Created": 1701664778, "State": "running", "Status": "", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "0.0.0.0", "TargetPort": 8980, "PublishedPort": 8980, "Protocol": "tcp"}]}, {"ID": "f3a0bf6fe1e1fcbff96b88f39e30bcadab4c1792234c970d654b7a34fb71e1d7", "Name": "algokit_postgres", "Image": "postgres:13-alpine", "Command": "docker-entrypoint.sh postgres", "Project": "algokit_sandbox", "Service": "indexer-db", "Created": 1701664778, "State": "running", "Status": "", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "0.0.0.0", "TargetPort": 5432, "PublishedPort": 5443, "Protocol": "tcp"}]}]
DEBUG: HTTP Request: GET http://localhost:4001/v2/status "HTTP/1.1 200 OK"
DEBUG: HTTP Request: GET http://localhost:4001/versions "HTTP/1.1 200 OK"
DEBUG: Error checking indexer status: Unable to read within timeout
Expand All @@ -16,8 +16,10 @@ Time since last round: 15.3s
Genesis ID: {genesis_id}
Genesis hash: {genesis_hash_b64}
Version: 1.2.1
# indexer status
Status: Error
# conduit status
Status: Running
# indexer-db status
Status: Running
# indexer status
Status: Error
Error: At least one container isn't running; execute `algokit localnet start` to start the LocalNet
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,20 @@ DEBUG: Running 'docker version' in '{current_working_directory}'
DEBUG: docker: STDOUT
DEBUG: docker: STDERR
DEBUG: Running 'docker compose ps --format json' in '{app_config}/sandbox'
DEBUG: docker: [{"ID": "00e93d3db91d964d1b2bcf444c938140dc6b43398380374eaac8510f45381973", "Name": "algokit_algod", "Command": "start.sh", "Project": "algokit_sandbox", "Service": "algod", "State": "stopped", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "0.0.0.0", "TargetPort": 4001, "PublishedPort": 4001, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 4002, "PublishedPort": 4002, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 9392, "PublishedPort": 9392, "Protocol": "tcp"}]}, {"ID": "a242581a65f7e49d376bff9fd8d2288cdd85a28a264657d73db84dbeef6155b7", "Name": "algokit_indexer", "Command": "/tmp/start.sh", "Project": "algokit_sandbox", "Service": "indexer", "State": "running", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "0.0.0.0", "TargetPort": 8980, "PublishedPort": 8980, "Protocol": "tcp"}]}, {"ID": "9e66aca1cd3542446e7b88f0701122a90f388308f7de0b57b6e2d843b3da9026", "Name": "algokit_postgres", "Command": "docker-entrypoint.sh postgres", "Project": "algokit_sandbox", "Service": "indexer-db", "State": "running", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "", "TargetPort": 5432, "PublishedPort": 0, "Protocol": "tcp"}]}]
DEBUG: docker: [{"ID": "e900c9dfe5e4676ca7fb3ac38cbee366ca5429ae447222282b64c059f5727a47", "Name": "algokit_algod", "Image": "algorand/algod:latest", "Command": "/node/run/run.sh", "Project": "algokit_sandbox", "Service": "algod", "Created": 1701664778, "State": "running", "Status": "", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "", "TargetPort": 4160, "PublishedPort": 0, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 7833, "PublishedPort": 4002, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 8080, "PublishedPort": 4001, "Protocol": "tcp"}, {"URL": "", "TargetPort": 9100, "PublishedPort": 0, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 9392, "PublishedPort": 9392, "Protocol": "tcp"}]}, {"ID": "2ba986bf8539527dbc1f2c3e9d8f83e834099ffea30d31f341691b172748464f", "Name": "algokit_conduit", "Image": "algorand/conduit:latest", "Command": "docker-entrypoint.sh", "Project": "algokit_sandbox", "Service": "conduit", "Created": 1701664778, "State": "running", "Status": "", "Health": "", "ExitCode": 0, "Publishers": []}, {"ID": "fa5b36dddbd112eb8b52ccd4de7db47c55ad49124b0483896a23f6727335cb3d", "Name": "algokit_sandbox-indexer-1", "Image": "algorand/indexer:latest", "Command": "docker-entrypoint.sh daemon --enable-all-parameters", "Project": "algokit_sandbox", "Service": "indexer", "Created": 1701664778, "State": "running", "Status": "", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "0.0.0.0", "TargetPort": 8980, "PublishedPort": 8980, "Protocol": "tcp"}]}, {"ID": "f3a0bf6fe1e1fcbff96b88f39e30bcadab4c1792234c970d654b7a34fb71e1d7", "Name": "algokit_postgres", "Image": "postgres:13-alpine", "Command": "docker-entrypoint.sh postgres", "Project": "algokit_sandbox", "Service": "indexer-db", "Created": 1701664778, "State": "running", "Status": "", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "0.0.0.0", "TargetPort": 5432, "PublishedPort": 5443, "Protocol": "tcp"}]}]
DEBUG: Error checking algod status: No response can be found for GET request on http://localhost:4001/v2/status amongst:
Match all requests on http://localhost:8980/health
DEBUG: HTTP Request: GET http://localhost:8980/health "HTTP/1.1 200 OK"
DEBUG: http://localhost:8980/health response: {'round': 1, 'errors': ['error'], 'version': 'v1.0'}
# algod status
Status: Not running
Status: Error
# conduit status
Status: Running
# indexer-db status
Status: Running
# indexer status
Status: Running
Port: 8980
Last round: 1
Version: v1.0
# indexer-db status
Status: Running
Error: At least one container isn't running; execute `algokit localnet start` to start the LocalNet
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ DEBUG: Running 'docker version' in '{current_working_directory}'
DEBUG: docker: STDOUT
DEBUG: docker: STDERR
DEBUG: Running 'docker compose ps --format json' in '{app_config}/sandbox'
DEBUG: docker: [{"ID": "90ce27e631e4d0b048322abd01a9e68e4c899b936ad4e4e3106ad5d9f774a189", "Name": "algokit_algod", "Command": "start.sh", "Project": "algokit_sandbox", "Service": "algod", "State": "running", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "0.0.0.0", "TargetPort": 4001, "PublishedPort": 4001, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 4002, "PublishedPort": 4002, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 9392, "PublishedPort": 9392, "Protocol": "tcp"}]}, {"ID": "d3a74173d552ac388643ee65c9c6aa4c1864cb1442d0423d62bd95c468ac4b97", "Name": "algokit_indexer", "Command": "/tmp/start.sh", "Project": "algokit_sandbox", "Service": "indexer", "State": "running", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "0.0.0.0", "TargetPort": 8980, "PublishedPort": 8980, "Protocol": "tcp"}]}, {"ID": "9e66aca1cd3542446e7b88f0701122a90f388308f7de0b57b6e2d843b3da9026", "Name": "algokit_postgres", "Command": "docker-entrypoint.sh postgres", "Project": "algokit_sandbox", "Service": "indexer-db", "State": "running", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "", "TargetPort": 5432, "PublishedPort": 0, "Protocol": "tcp"}]}]
DEBUG: docker: [{"ID": "e900c9dfe5e4676ca7fb3ac38cbee366ca5429ae447222282b64c059f5727a47", "Name": "algokit_algod", "Image": "algorand/algod:latest", "Command": "/node/run/run.sh", "Project": "algokit_sandbox", "Service": "algod", "Created": 1701664778, "State": "running", "Status": "", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "", "TargetPort": 4160, "PublishedPort": 0, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 7833, "PublishedPort": 4002, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 8080, "PublishedPort": 4001, "Protocol": "tcp"}, {"URL": "", "TargetPort": 9100, "PublishedPort": 0, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 9392, "PublishedPort": 9392, "Protocol": "tcp"}]}, {"ID": "2ba986bf8539527dbc1f2c3e9d8f83e834099ffea30d31f341691b172748464f", "Name": "algokit_conduit", "Image": "algorand/conduit:latest", "Command": "docker-entrypoint.sh", "Project": "algokit_sandbox", "Service": "conduit", "Created": 1701664778, "State": "running", "Status": "", "Health": "", "ExitCode": 0, "Publishers": []}, {"ID": "fa5b36dddbd112eb8b52ccd4de7db47c55ad49124b0483896a23f6727335cb3d", "Name": "algokit_sandbox-indexer-1", "Image": "algorand/indexer:latest", "Command": "docker-entrypoint.sh daemon --enable-all-parameters", "Project": "algokit_sandbox", "Service": "indexer", "Created": 1701664778, "State": "running", "Status": "", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "0.0.0.0", "TargetPort": 8980, "PublishedPort": 8980, "Protocol": "tcp"}]}, {"ID": "f3a0bf6fe1e1fcbff96b88f39e30bcadab4c1792234c970d654b7a34fb71e1d7", "Name": "algokit_postgres", "Image": "postgres:13-alpine", "Command": "docker-entrypoint.sh postgres", "Project": "algokit_sandbox", "Service": "indexer-db", "Created": 1701664778, "State": "running", "Status": "", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "0.0.0.0", "TargetPort": 5432, "PublishedPort": 5443, "Protocol": "tcp"}]}]
DEBUG: HTTP Request: GET http://localhost:4001/v2/status "HTTP/1.1 200 OK"
DEBUG: HTTP Request: GET http://localhost:4001/versions "HTTP/1.1 200 OK"
DEBUG: HTTP Request: GET http://localhost:8980/health "HTTP/1.1 200 OK"
Expand All @@ -17,10 +17,12 @@ Time since last round: 15.3s
Genesis ID: {genesis_id}
Genesis hash: {genesis_hash_b64}
Version: 1.2.1
# conduit status
Status: Running
# indexer-db status
Status: Running
# indexer status
Status: Running
Port: 8980
Last round: 1
Version: v1.0
# indexer-db status
Status: Running
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ DEBUG: Running 'docker version' in '{current_working_directory}'
DEBUG: docker: STDOUT
DEBUG: docker: STDERR
DEBUG: Running 'docker compose ps --format json' in '{app_config}/sandbox'
DEBUG: docker: [{"ID": "00e93d3db91d964d1b2bcf444c938140dc6b43398380374eaac8510f45381973", "Name": "algokit_algod", "Command": "start.sh", "Project": "algokit_sandbox", "Service": "algod", "State": "running", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "0.0.0.0", "TargetPort": 4001, "PublishedPort": 4001, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 4002, "PublishedPort": 4002, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 9392, "PublishedPort": 9392, "Protocol": "tcp"}]}, {"ID": "a242581a65f7e49d376bff9fd8d2288cdd85a28a264657d73db84dbeef6155b7", "Name": "algokit_indexer", "Command": "/tmp/start.sh", "Project": "algokit_sandbox", "Service": "indexer", "State": "running", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "0.0.0.0", "TargetPort": 1234, "PublishedPort": 1234, "Protocol": "tcp"}]}, {"ID": "9e66aca1cd3542446e7b88f0701122a90f388308f7de0b57b6e2d843b3da9026", "Name": "algokit_postgres", "Command": "docker-entrypoint.sh postgres", "Project": "algokit_sandbox", "Service": "indexer-db", "State": "running", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "", "TargetPort": 5432, "PublishedPort": 0, "Protocol": "tcp"}]}]
DEBUG: docker: [{"ID": "e900c9dfe5e4676ca7fb3ac38cbee366ca5429ae447222282b64c059f5727a47", "Name": "algokit_algod", "Image": "algorand/algod:latest", "Command": "/node/run/run.sh", "Project": "algokit_sandbox", "Service": "algod", "Created": 1701664778, "State": "running", "Status": "", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "", "TargetPort": 4160, "PublishedPort": 0, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 7833, "PublishedPort": 4002, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 8080, "PublishedPort": 4001, "Protocol": "tcp"}, {"URL": "", "TargetPort": 9100, "PublishedPort": 0, "Protocol": "tcp"}, {"URL": "0.0.0.0", "TargetPort": 9392, "PublishedPort": 9392, "Protocol": "tcp"}]}, {"ID": "2ba986bf8539527dbc1f2c3e9d8f83e834099ffea30d31f341691b172748464f", "Name": "algokit_conduit", "Image": "algorand/conduit:latest", "Command": "docker-entrypoint.sh", "Project": "algokit_sandbox", "Service": "conduit", "Created": 1701664778, "State": "running", "Status": "", "Health": "", "ExitCode": 0, "Publishers": []}, {"ID": "fa5b36dddbd112eb8b52ccd4de7db47c55ad49124b0483896a23f6727335cb3d", "Name": "algokit_sandbox-indexer-1", "Image": "algorand/indexer:latest", "Command": "docker-entrypoint.sh daemon --enable-all-parameters", "Project": "algokit_sandbox", "Service": "indexer", "Created": 1701664778, "State": "running", "Status": "", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "0.0.0.0", "TargetPort": 8980, "PublishedPort": 8980, "Protocol": "tcp"}]}, {"ID": "f3a0bf6fe1e1fcbff96b88f39e30bcadab4c1792234c970d654b7a34fb71e1d7", "Name": "algokit_postgres", "Image": "postgres:13-alpine", "Command": "docker-entrypoint.sh postgres", "Project": "algokit_sandbox", "Service": "indexer-db", "Created": 1701664778, "State": "running", "Status": "", "Health": "", "ExitCode": 0, "Publishers": [{"URL": "0.0.0.0", "TargetPort": 5432, "PublishedPort": 5443, "Protocol": "tcp"}]}]
DEBUG: HTTP Request: GET http://localhost:4001/v2/status "HTTP/1.1 200 OK"
DEBUG: HTTP Request: GET http://localhost:4001/versions "HTTP/1.1 200 OK"
DEBUG: Error checking indexer status: No response can be found for GET request on http://localhost:8980/health amongst:
Match all requests on http://localhost:4001/v2/status
Match all requests on http://localhost:4001/versions
# algod status
Status: Running
Port: 4001
Expand All @@ -15,8 +18,10 @@ Time since last round: 15.3s
Genesis ID: {genesis_id}
Genesis hash: {genesis_hash_b64}
Version: 1.2.1
# indexer status
Status: Error
# conduit status
Status: Running
# indexer-db status
Status: Running
# indexer status
Status: Error
Error: At least one container isn't running; execute `algokit localnet start` to start the LocalNet