Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https://index.crates.io/ Returns an error, modify https://crates.io/data-access #8617

Open
FBDev64 opened this issue May 8, 2024 · 3 comments
Labels
A-infrastructure 📡 C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works

Comments

@FBDev64
Copy link

FBDev64 commented May 8, 2024

Current Behavior

https://crates.io/data-access#crate-index Says to go to index.crates.io, but returns :

<Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
<Key>index.html</Key>
<RequestId>9N18CM92BR5XTWKS</RequestId>
<HostId>q4ty6zmoEGQcE1NRdlL1qFT0U1yIjTb7xPLi1qBBBPYr+KxOgFlUFmifgWnTMcZWwgXVy4x9R1jdxnnCpzh6mA==</HostId>
</Error>

Expected Behavior

Expected a valid site

Steps To Reproduce

Go to : https://index.crates.io/

Environment

  • Browser: Chrome 124.0.6367.119 (Build officiel) (64 bits) (cohort: Control)
  • OS: Windows 10

Anything else?

Capture d’écran (14)

@Eh2406
Copy link
Contributor

Eh2406 commented May 9, 2024

The API is set up and works correctly. The only thing missing is a html page. Given that we link to the root, and the number of people been confused by this, perhaps we should add a index.html to the S3 bucket explaining how API is to be used.

@hi-rustin
Copy link
Member

crates.io/data-access#crate-index Says to go to index.crates.io, but returns :

From the crate-index page, it gives an example:
image

You need to specify the crate name in the index URL.

@hi-rustin
Copy link
Member

hi-rustin commented May 10, 2024

perhaps we should add a index.html to the S3 bucket explaining how API is to be used.

Sounds good to me! It would help users understand how to access the index by crate name.

@hi-rustin hi-rustin added C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works A-infrastructure 📡 labels May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-infrastructure 📡 C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works
Projects
None yet
Development

No branches or pull requests

3 participants