Skip to content

Concurrent SSL client creation can fail during rustls CryptoProvider initialization #216

Description

@reez

Downstream issue: bitcoindevkit/bdk-dart#103

A downstream bdk-dart integration run hit Failed to install CryptoProvider when multiple Electrum SSL clients were created concurrently... the same Electrum canary passed when rerun alone, and the full integration suite passed with --concurrency=1.

This is easiest to reproduce in CI or parallel test runners, but I wouldn't necessarily rule out real apps hitting the same path.

CouldNotCreateConnectionElectrumException(unexpected error: Failed to install CryptoProvider)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions