Ore icon indicating copy to clipboard operation
Ore copied to clipboard

Some projects missing icons after loading Ore for the first time

Open bloodmc opened this issue 6 years ago • 5 comments

Browser & Version: Latest Chrome

Operating System: Windows 10

Error message (if applicable): N/A

Steps to reproduce:

  • Step 1 - Navigate to https://ore.spongepowered.org
  • Step 2 - Some project icons will be missing
  • Step 3 - Refresh page to fix issue

bloodmc avatar Mar 05 '18 19:03 bloodmc

I'm not able to recreate this on my desktop, nor on a fresh mobile device. If anyone can show images or error logs then we can solve this.

phase avatar Mar 05 '18 19:03 phase

I'm definitely seeing how this could be caused.

The page loads the user's avatar, which has no defined limit apparently, and can be massive images. Each image is also loaded multiple times if the user has more than 1 project.

Example: https://auth.spongepowered.org/media/avatars/88/7d/86/7b69f7e15e66e970ed1527aab15f5204d5d0a6b76864e7d42c2e190065_VwATrdQ.png

That is a 2.7MB file which is downloaded twice on the page. It's probably a "it's downloading and slowly" rendering, and then it's using the cache once it is there.

LordRalex avatar Mar 05 '18 19:03 LordRalex

I wasn't even logged in and this occured so it can't be the avatar.

bloodmc avatar Mar 05 '18 19:03 bloodmc

When I say avatar, the project icon will use the author's avatar as the image, and one user in particular has a very large one there. Once the cache gets involved images load nicely, but that's the cache, and does kinda sound what would occur if you refresh.

I only have seen this from the following, and a refresh isn't resolving this issue.

Request URL:https://ore.spongepowered.org/RedNesto/FileInventories/icon Request Method:GET Status Code:303 Remote Address:192.168.100.195:8080 Referrer Policy:no-referrer-when-downgrade

image

404s from the auth server also don't show, but no refresh helping here - https://auth.spongepowered.org/media/avatars/ed/aa/13/329f5fdbf3703f7428541660013ad94701c9bf247cf7a050e110c471d4.png

LordRalex avatar Mar 05 '18 19:03 LordRalex

Ähmm yes, I remember.. For Box o Utils it's a known issue. Spaces in name break something

felixoi avatar Mar 05 '18 19:03 felixoi