okawaffles / OkayuCDN

A File Upload Server based around Nekomata Okayu.
https://okayu.okawaffles.com
Other
2 stars 0 forks source link

Upload Bug on Nightly (Okayu-Nightly) #36

Closed tacobella03 closed 5 months ago

tacobella03 commented 6 months ago

An issue when uploading to the Nightly Server happens but image still is uploaded to MyBox

When uploading (could be because i am in the UK) an error message occurs saying "The server did not respond in 25 seconds. It may be under high load, or you might be located too far away. Details: client checkResult() request timeout (CCR-RTO)" This is shown below

image

However, after this error, the image is still in MyBox and the image can be viewed with the correct link. image image

Here is what is in the Network when looking in the DevTools image

Honestly, i do not know why this happens. I have been finding many bugs on the Nightly Server but that is understandable since it is Extremely Unstable. Will try and find bugs on the Stable Server for now.

okawaffles commented 6 months ago

aggressive caching policies

okawaffles commented 6 months ago

might be able to be fixed by appending an incrementing query at the end.

okawaffles commented 6 months ago

server is not caching results. as i've decided to rewrite the entire server from scratch in TS, this issue will be resolved by simply scrapping the entire caching system and instead implementing an API call that gets a result which will be stored in memory rather than disk.

as for now, nightly will not be updated until the typescript rewrite is stable enough to upload, manage, and view files.

okawaffles commented 5 months ago

okayu-nightly no longer uses this type of upload confirmation system due to the new method of uploading. hypothetically, this error should not occur anymore, unless theres some specific circumstances i'm missing.