Comments (5)
One possible problem could be that the crates where downloaded before from crates.io and now they are downloaded from your kellnr proxy. Unfortunately cargo is not able to work with "mixed" indicies.
Can you try to delete your Cargo.lock
and clean your old index cache with rm -rf ~/.cargo/registry/*
and check if the issue persists?
from kellnr.
One possible problem could be that the crates where downloaded before from crates.io and now they are downloaded from your kellnr proxy. Unfortunately cargo is not able to work with "mixed" indicies.
Can you try to delete your
Cargo.lock
and clean your old index cache withrm -rf ~/.cargo/registry/*
and check if the issue persists?
Sorry, I forgot to mention, the issue persists even after deleting the registry directory and running 'cargo clean'
from kellnr.
If if it's not a mixed index, I don't have another idea, but I'll try to help debug the issue.
Can you provide logs from Kellnr (log level = trace) and from cargo when you run it with a verbose flag? Maybe there is a hint somewhere in the logs.
from kellnr.
when running with trace kellnr log level I get:
...
2024-01-14T16:35:21.769952Z DEBUG registry::cratesio_api: Crate not found on disk, downloading from crates.io
2024-01-14T16:35:21.845836Z TRACE registry::cratesio_api: Downloading crate: unicase (2.7.0) from path /opt/kdata/crates/unicase-2.7.0.crate
2024-01-14T16:35:21.846510Z TRACE registry::cratesio_api: Crate found in cache, skipping download
cargo run --verbose
doesn't return any other errors than:
error: failed to download replaced source registry `crates-io`
Caused by:
failed to verify the checksum of `unicase v2.7.0 (registry `kellnr-cratesio`)`
I've removed ~/.cargo/registry
I've ran cargo clean
I've deleted Cargo.lock
from kellnr.
I'm out of ideas, as I cannot reproduce the issue. I'll close the issue, but if you find out what the issue is, or have more information available, feel free to reopen it.
from kellnr.
Related Issues (20)
- Could a view be added that displays packages via proxy? HOT 1
- statusCode=404 in Cargo.toml in Visual Studio Code HOT 2
- Permission to push and pull HOT 2
- I can not figure out how to set it up correctly HOT 4
- Switch to static.crates.io
- Updating helm values and upgrading, does not change default.toml HOT 1
- Spurious network error HOT 1
- [feature request] list dependees in addition to dependencies
- UI bug in search view HOT 3
- Doc build in kellnr docker container fails with: Invalid cross-device link HOT 3
- Kellnr's docker image doubled in size in last release HOT 4
- Public crates registry HOT 3
- Feature Improvement Request: Simplifying Documentation URL Format and Adding Latest Version Link HOT 4
- Cannot upload doc HOT 7
- ldap support HOT 1
- Disabaling the crates.io proxy will not disable the sparse index HOT 1
- private registry hosting cratesio setup HOT 2
- Kellnr calculates wrong checksum [CRITICAL] HOT 15
- Doc build in kellnr docker container fails with: Invalid cross-device link HOT 5
- Can't autogenerate docs when using docker image HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kellnr.