Skip to content

Commit aa2acda

Browse files
committed
fix: no process-level CryptoProvider available -- call CryptoProvider::install_default() before this point
Signed-off-by: Anush008 <[email protected]>
1 parent 9dc9abc commit aa2acda

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

examples/text_embedding/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ curl -X PUT \
2828
}'
2929
```
3030

31+
You can view the collections and data with the Qdrant dashboard at <http://localhost:6333/dashboard>.
32+
3133
## Run
3234

3335
Install dependencies:
@@ -48,8 +50,6 @@ Update index:
4850
python main.py cocoindex update
4951
```
5052

51-
You can now view the data in the Qdrant dashboard at <http://localhost:6333/dashboard>.
52-
5353
Run:
5454

5555
```bash

src/ops/storages/qdrant.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ impl Executor {
6161
.chain(value_fields_schema.iter())
6262
.cloned()
6363
.collect::<Vec<_>>();
64+
65+
// Hotfix to resolve
66+
// `no process-level CryptoProvider available -- call CryptoProvider::install_default() before this point`
67+
// when using HTTPS URLs.
68+
let _ = rustls::crypto::ring::default_provider().install_default();
69+
6470
Ok(Self {
6571
client: Qdrant::from_url(&url)
6672
.api_key(api_key)

0 commit comments

Comments
 (0)