VITAS changed the topic of #spacedock to: Problems?: https://github.com/KSP-SpaceDock/SpaceDock/issues | Matrix/Riot Chat: https://im.52k.de +spacedock:52k.de Feel free to ask for help, we only bite a little bit! | If you want to help, please check https://github.com/KSP-SpaceDock/SpaceDock-Backend/issues/5 :) | <VITAS> inet users have the attentionspan of a squirrel...
oeuf has joined #spacedock
egg has quit [Ping timeout: 198 seconds]
VITAS[m] has joined #spacedock
<VITAS[m]> IMPORTANT: SOME SERVIES WILL BE DOWN TOMORROW (30th January) DUE TO MAINTANANCE IN MY DC!
<VITAS[m]> spacedock will be one of them
<VITAS[m]> Can someone verify that you cant upload 1gb large mods to spacedock and maybe even find out why?
<VITAS[m]> (see https://forum.kerbalspaceprogram.com/index.php?/topic/170865-spacedockinfo-mod-hosting-site/page/73/#comments )
VITAS[m] has quit [Quit: Idle timeout reached: 10800s]
DasSkelett[m] has joined #spacedock
<DasSkelett[m]> Trying a 1 GiB file on Beta
<DasSkelett[m]> It's about right now that I would really like to have a synchronous internet connection
<DasSkelett[m]> So upload is done, SD just takes forever know to process the file. SD isn't doing health checks, is it?
<DasSkelett[m]> So upload is done, SD just takes forever now to process the file. SD isn't doing health checks, is it?
<DasSkelett[m]> Ah okay, looks like the API is misbehaving; `"POST /api/mod/1/update HTTP/1.1" 400 476 "https://beta.spacedock.info/mod/1/Super%20Awesome%20Test%20Mod/update"`
VITAS[m] has joined #spacedock
<VITAS[m]> so its a bug?
<DasSkelett[m]> Mhh, the 400 was probably because of the invalid zip (`dd if=/dev/urandom of=bigfile.zip` ahem).
<DasSkelett[m]> Tried on beta again with a 512 MiB valid zip and it worked, now trying a 1 GiB valid zip on prod.
<VITAS[m]> you can answer the guy on the forums if it works
<VITAS[m]> it might beee flaky depending on the time it takes to upload
<VITAS[m]> it needs only a little hickup on one sidee
<DasSkelett[m]> Yep. I'm definitely not experiencing a stop at around 25%, the upload always finishes.
<DasSkelett[m]> I guess it's been connectivity issues for him.
<VITAS[m]> yes its quite a large file so its no wonder
<VITAS[m]> i gave him aan nextcloud share he can upload. if that doesnt work either its proof
<VITAS[m]> but non the less you can write him
<VITAS[m]> i will shutdown spacedock tomorrow before 7am
<VITAS[m]> and wait til 16:00 before starting it again
<VITAS[m]> the DC does stuff on the storage
<VITAS[m]> and i dont want it to get corupted
<DasSkelett[m]> Okay
<DasSkelett[m]> Can you display a "maintenance" page? Or do you just want to make it unreachable?
<VITAS[m]> i was thinking about one
<VITAS[m]> an otomatic one would be even better (one thaat auto shows when the site goes down)
<VITAS[m]> ifr you want to throw one together and put it on some random webspace i can point to it while the server is down
<VITAS[m]> the rev proxy can stay up i guess
<DasSkelett[m]> For automatic fallback I think there are some features in the NGINX paid version, but you can proabbly achieve something similar with the free version too.
<VITAS[m]> i would do it on the rev proxy
<DasSkelett[m]> For automatic fallback I think there are some features in the NGINX paid version, but you can probably achieve something similar with the free version too.
<VITAS[m]> for now a static page with soem info udner some random url is good enough
<VITAS[m]> i simply map it to the urls while the reest is down
<DasSkelett[m]> If you don't expect anything beautiful, I'd just do a simple bare html page, linking to your comment in the forum thread.
<VITAS[m]> yes
<VITAS[m]> we coudl also link to a forums page :D
<VITAS[m]> good
<VITAS[m]> url?
<DasSkelett[m]> Do you just want the file?
<VITAS[m]> an external url would be good
<DasSkelett[m]> As upstream for the rev proxy?
<DasSkelett[m]> If an IPv6 is enough: http://[2a03:4000:24:7af::1]/maintenance.html (it's on a VPS, no worries)
<VITAS[m]> yes
<VITAS[m]> i might be rebooting the whole server at one point
<VITAS[m]> but that doesnt span the whole time
<VITAS[m]> thx :)
DasSkelett[m] has quit [Quit: Idle timeout reached: 10800s]
VITAS[m] has quit [Quit: Idle timeout reached: 10800s]