Frequent errors when clicking on crate Dependents link
atouchet opened this issue · comments
Alex Touchet commented
Current Behavior
I am experiencing frequent errors when trying to load the Dependents link from a crate page. This issue has been happening for a while now.
Expected Behavior
I expected the Dependents page to load as it is supposed to.
Steps To Reproduce
I have not found a way to consistently reproduce the issue 100% of the time but this is an example of the issue happening:
- Go to a crate page (ex. https://crates.io/crates/serde)
- Click "Dependents" (ex. https://crates.io/crates/serde/reverse_dependencies)
- The page does not finish loading and returns the error "Could not load reverse dependencies for the "serde" crate: Internal Server Error
Environment
- Browser: Firefox 120.0
- OS: Windows 10
Anything else?
Error image:
Tobias Bieniek commented
unfortunately this is caused by a performance issue with the corresponding database query. on less depended-upon crates it works fine but for cases like werde it takes a long time to respond. some attempts have been made to improve the situation, but it's still very slow unfortunately.