README intermittently fails to load

In the above image, the left is without uBlock Origin, the right is with uBlock Origin enabled.

I am not sure where to report this, uBlock Origin or crates.io, so I just put it here.

What browser version and what uBlock Origin rules are you using?

I use uBlock Origin on Firefox with most ad (but no privacy) filters enabled, and I have no problems on crates.io. Here's a screenshot of my Filter lists config page:

We're going to have to know what filter lists you have installed before anyone can help, because I just enabled all of the filter lists, and none of them hid that readme. I have uBlock Origin, and the README showed up, so let's find out what's different.

What I'd like you to do is bring up the Logger, and run it on https://crates.io/crates/sane-fmt. To enable the Logger, click your uBlock Origin button:

Then click the Logger button, between the eyedropper picker and the control panel. Once the logger's open, click the Refresh button, then click the Copy button:

Paste the results here, please.

1 Like

To clarify, my purpose here isn't to get help (I have fixed the problem myself) but to report that crates.io does not work with Chrome's uBlock Origin with default settings so that someone may make it works (for other people).

UPDATE: I thought I fixed it by whitelisting, but it stops working just now:

I have re-enabled uBlock Origin and this is the logs:

Logger output
+3 crates.io 1 xhr https://static.crates.io/readmes/sane-fmt/sane-fmt-0.2.23.html
+3 crates.io 3 css https://ajax.googleapis.com/ajax/static/modules/gviz/1.0/core/tooltip.css
+3 crates.io 1 xhr https://crates.io/api/v1/crates/sane-fmt/downloads
+3 crates.io 1 xhr https://crates.io/api/v1/crates/sane-fmt/owner_team
+3 crates.io 1 xhr https://crates.io/api/v1/crates/sane-fmt/owner_user
+3 crates.io 3 xhr https://docs.rs/crate/sane-fmt/0.2.23/builds.json
+3 crates.io 1 xhr https://crates.io/api/v1/crates/sane-fmt/0.2.23/readme
+3 crates.io 1 xhr https://crates.io/api/v1/crates/sane-fmt/0.2.23/authors
+3 crates.io 1 xhr https://crates.io/api/v1/crates/sane-fmt/0.2.23/dependencies
+3 crates.io 1 image https://crates.io/favicon.ico
+3 crates.io 1 image https://crates.io/cargo-835dd6a18132048a52ac569f2615b59d.png
+3 crates.io 1 image https://crates.io/cargo-835dd6a18132048a52ac569f2615b59d.png
+3 crates.io 1 other https://crates.io/manifest.webmanifest
+2 crates.io 3 script https://www.google.com/uds/api/visualization/1.0/36558b280aac4fa99ed8215e60015cff/format+en,default+en,ui+en,corechart+en.I.js
+2 crates.io 3 css https://www.google.com/uds/api/visualization/1.0/36558b280aac4fa99ed8215e60015cff/ui+en.css
+2 crates.io 3 script https://www.google.com/uds/?file=visualization&v=1.0&packages=corechart&async=2
+2 crates.io 1 image https://crates.io/assets/ajax-loader-1055ecf8290cc425e7f01607a30a68da.gif
+2 crates.io 1 image https://crates.io/assets/search-1bf5f758e4272794e840ccb4b0a0dca9.png
+2 crates.io 1 image https://crates.io/assets/forkme-3cf1263dc1fba4320312f5faff9993bb.png
+2 crates.io 1 image https://crates.io/assets/Cargo-Logo-Small-c39abeb466d747f3be442698662c5260.png
+2 crates.io 1 xhr https://crates.io/api/v1/crates/sane-fmt
+2 crates.io 3 script https://www.google.com/jsapi
+1 crates.io 1 script https://crates.io/assets/cargo-b76b79df168a4cde420de6e44b44209d.js
+1 crates.io 1 script https://crates.io/assets/vendor-8f43b0b3916f1fd700076bfb0d8aa575.js
+1 crates.io 1 css https://crates.io/assets/cargo-36faf4a89a0a87561b98eb23cd1e843c.css
+1 crates.io 1 css https://crates.io/assets/vendor-675bde0c4c5e6112038f1ac4d4dbe213.css
+0 crates.io 1 doc https://crates.io/crates/sane-fmt

It's not uBlock Origin. The log shows that it isn't blocking anything, and the screenshot shows the problem as present when it's turned off.

You are right. I delete all the cookies and it work again:

But it stops working as soon as I reload:

What happens when you follow this link? Try reloading the page a few times after you open it:

https://static.crates.io/readmes/sane-fmt/sane-fmt-0.2.23.html

I think it is this issue: https://github.com/rust-lang/crates.io/issues/2497

4 Likes

It works without problem (4 reloads):

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.