Skip to content

Snapshot download fails when both IPv4 and IPv6 are enabled #2750

@btbf

Description

@btbf

Context & versions

Mithril Client CLI version: 0.12.30+6a7107e
Environment: Ubuntu 22.04
Network: everything
Both IPv4 and IPv6 enabled

Steps to reproduce

mithril_network=release-preprod
export AGGREGATOR_ENDPOINT="https://aggregator.${mithril_network}.api.mithril.network/aggregator"
export GENESIS_VERIFICATION_KEY="$(wget -q -O - https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/${mithril_network}/genesis.vkey)"
export ANCILLARY_VERIFICATION_KEY=$(wget -q -O - https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/${mithril_network}/ancillary.vkey)
export NETWORK=preprod
export SNAPSHOT_DIGEST="latest"
mithril-client cardano-db download  --include-ancillary latest

Actual behavior

Mithril Client CLI version: 0.12.30+6a7107e
Ancillary verification does not use the Mithril certification: as a mitigation, IOG owned keys are used to sign these files.
1/5 - Checking local disk info…
2/5 - Fetching the certificate and verifying the certificate chain…
Certificate chain validated
3/5 - Downloading and unpacking the cardano db
Error: Can not get download and unpack cardano db for digest: 'latest'

Caused by:
    Could not find a working download location for the snapshot digest '9c42d709cd5b237aad37e8a7a594e0b7dd7170830547aea985f18ac3f27b5cea', tried location: {'https://storage.googleapis.com/cdn.aggregator.release-preprod.api.mithril.network/cardano-immutable-files-full/preprod-e248-i4886.9c42d709cd5b237aad37e8a7a594e0b7dd7170830547aea985f18ac3f27b5cea.tar.zst'}.

Expected behavior

The snapshot download should succeed regardless of whether IPv6 is enabled.

Additional Information

When IPv6 is disabled, the snapshot download starts successfully.
The issue seems to occur only when both IPv4 and IPv6 are active.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions