Cosmetica-cc / Cosmetica

Custom public cosmetics, Free for everyone. Forever. Ongoing Development is happening at Cosmetica-2, still WIP
https://cosmetica.cc
Apache License 2.0
54 stars 10 forks source link

api.cosmetica.cc gets the request cut off #144

Open node0505 opened 2 weeks ago

node0505 commented 2 weeks ago

Describe the bug The main cosmetica.cc website doesn't load anything. After digging in devtools, I saw it make a request to api.cosmetica.cc/get/featuredcosmetics, which almost always returned a "NS_ERROR_NET_PARTIAL_TRANSFER". After making the request separately, it gets cut off at around the 78000 character mark. Normally, this is at one of the images, since they are stored plain.

To Reproduce Steps to reproduce the behavior:

  1. Go to cosmetica.cc

  2. See error

  3. Go to the request page

Expected behavior The page should load

Screenshots One of the requests Firefox saying the request just ends An incognito Chrome devtools with Chrome just refusing to finish the request

Setup (please complete the following information):

Additional context Pretty sure if the images were served as URLs instead, this could be lazily fixed, but depending on how many cosmetics are being loaded at once you might run into this again. Also I get if this is being fixed in cosmetica v2, but just thought I'd say something in case. I have tried on different browsers, different devices, and different IPs. Sorry if it's me :/