qdrant / qdrant/rust-client

Rustls Issue

Open
#257 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
415
Forks
83
Avg merge
2h 20m
Merged PRs (30d)
3

Description

Looks like I'm seeing the following error when I'm calling QDrant client on an Alpine box.

Call CryptoProvider::install_default() before this point to select a provider manually, or make sure exactly one of the 'aws-lc-rs' and 'ring' features is enabled.

I'm using qdrant-client = "1.16.0"

My Cargo.toml looks like

[package]
name = "traind"
version = "0.1.0"
edition = "2024"

[dependencies]
axum = { version = "0.8.4", features = ["http1", "json", "matched-path", "tokio", "macros", "form", "query", "tracing", "original-uri"] }
tokio = { version = "1", features = ["full"] }
serde = { version = "1.0.219", features = ["derive"] }
clap = { version = "4.5.45", features = ["derive"] }
modyne = { version = "0.3.0", features = ["derive"] }
aws-config = { version = "1.1.7", features = ["behavior-version-latest", "rustls"] }
aws-sdk-s3 = { version = "1.115.0", default-features = false, features = ["rustls"] }
aws-sdk-dynamodb = { version = "1.90.0", default-features = false, features = ["rustls"] }
aws-sdk-sqs = { version = "1.90.0", default-features = false, features = ["rustls"] }

# Ensure consistent crypto provider for rustls
rustls = { version = "0.23", features = ["ring"] }
dotenvy = "0.15.7"
rand = "0.9.2"
tower-http = { version = "0.6.6", features = [
    "cors",
    "compression-gzip",
    "compression-deflate",
    "trace",
] }
tracing = "0.1.41"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt", "json", "time"] }
anyhow = "1.0.99"
thiserror = "2.0.16"
serde_json = "1.0.143"
jsonwebtoken = { version = "10.2.0", features = ["rust_crypto"] }
arc-swap = "1.7.1"
schemars = { version = "1.0.5", features = ["derive"] }
base64 = "0.22.1"
reqwest = { version = "0.12.24", default-features = false, features = ["native-tls", "json"] }
openssl-sys = { version = "0.9", features = ["vendored"] }
cliform = "0.1.0"
infer = "0.19.0"
mime_guess = "2.0.5"
open = "5.3.3"
confy = "2.0.0"
reqwest-middleware = { version = "0.4.2", features = ["json"] }
reqwest-tracing = "0.5.8"
qdrant-client = "1.16.0"
http = "1.4.0"
indoc = "2.0.7"
modelsocket = "0.2.1"
directories = "6.0.0"
slack-morphism = { version = "2.17", features = ["axum"] }
jiff = { version = "0.2.16", features = ["serde"] }
futures = "0.3"

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository file or test is named. Start by reviewing the Cargo.toml dependency features, especially qdrant-client, rustls, reqwest, and the AWS crates, and reproduce the CryptoProvider error on Alpine. Done means identifying a compatible provider configuration or documenting the required dependency changes so the QDrant client runs successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.