Rustls Issue

Aperta
#257 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
api

Direzione di ricerca

Non è indicato alcun file del repository né alcun test. Inizia esaminando le funzionalità delle dipendenze in Cargo.toml, in particolare qdrant-client, rustls, reqwest e i crate AWS, e riproduci l’errore CryptoProvider su Alpine. Il lavoro è completato quando viene identificata una configurazione del provider compatibile oppure vengono documentate le modifiche necessarie alle dipendenze affinché il client QDrant venga eseguito correttamente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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"
Lingua principale
Rust
Stelle
425
Fork
89
Merge medio
2h 48m
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di qdrant/rust-client

Tutte le issue di qdrant/rust-client

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.