EmbarkStudios / cargo-deny

❌ Cargo plugin for linting your dependencies 🦀
http://embark.rs
Apache License 2.0
1.63k stars 81 forks source link

Bug: check advisories: error trying to connect: invalid URL, scheme is not http #564

Closed jayvdb closed 8 months ago

jayvdb commented 10 months ago

Describe the bug

On our Github Actions CI we see the following on 0.14.2

> cargo deny check advisories
Error: -09 03:18:02 [ERROR] failed to fetch advisory database https://github.com/RustSec/advisory-db: An IO error occurred when talking to the server: error sending request for url (https://github.com/RustSec/advisory-db/info/refs?service=git-upload-pack): error trying to connect: invalid URL, scheme is not http

It was running ok for v0.14.1.

I cant reproduce it locally.

To reproduce

I havent had time to create an isolated github action run which doesnt include our custom steps. I will have time to work on it later this week.

cargo-deny version

0.14.2

What OS were you running cargo-deny on?

Linux

Additional context

No response

jayvdb commented 8 months ago

This was resolved by adding feature "reqwest/rustls-tls-webpki-roots"