Danbooru

Thumbnails are not showing up

Posted under Bugs & Features

I was scrolling through the new comments when I noticed a bunch of the thumbnails was not loading. They were giving me that little error image you get when they can't be loaded. I clicked a few of them and most of them and they load normally when selected at least. Anyone else having this problem?

Decided to post at this thread instead of creating a new one.

I have been experiencing a bit different problem for a week or so: for me, no thumbnails are loading at all.

No updates were installed on my machine before the problem appeared or any changes whatsoever. The thumbnails just stopped loading out of the blue. I use chromium with the following command line options, if that matters: chromium --proxy-server="socks5://..." --host-resolver-rules="MAP * ~NOTFOUND , EXCLUDE 127.0.0.1"

I opened the Developer tools and saw a bunch of these errors in the console:

Access to Image at 'https://cdn.donmai.us/crop/ <every thumbnail> .jpg' from origin 'https://danbooru.donmai.us' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://danbooru.donmai.us' is therefore not allowed access. The response had HTTP status code 403.

When I open a thumbnail URL explicitly, it loads fine, and after that shows on the search result page from cache.

I tried running chrome with --disable-web-security to lift the CORS policy, but it did not change anything (aside of the browser showing me a warning).

Is it a server-side problem? I am only experiencing this issue here on danbooru, and only on the search result pages (and pools). The posts load just fine.

.k1.38e+23 said:

> Access to Image at 'https://cdn.donmai.us/crop/ <every thumbnail> .jpg' from origin 'https://danbooru.donmai.us' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://danbooru.donmai.us' is therefore not allowed access. The response had HTTP status code 403.

Both danbooru.donmai.us and cdn.donmai.us have the 'Access-Control-Allow-Origin' header for me. Either Cloudflare is being weird for you or you have some problematic browser addon installed. Security addons like uBlock and NoScript can sometimes cause these misleading error messages even when the access was blocked for some other reason.

1