OpenTTD / bananas-frontend-web

Front-end to the BaNaNaS API
GNU General Public License v2.0
3 stars 7 forks source link

Bananas re-starting file-upload when uploading an update #227

Closed GarlicBread42 closed 1 year ago

GarlicBread42 commented 1 year ago

Currently BaNaNas loops file uploads when trying to update existing .grf's in the database.

After ticking the Terms of Service box and uploading the file, the upload starts. Once the upload hits 100%, it takes a short break and re-starts from 0%.

The issue occurs with latest Firefox and Edge browsers. The .grf has been compiled twice and uploaded. Also occurs when the .grf is packed into a zip-file before.

TrueBrain commented 1 year ago

There are no errors in the backend, and when I try it with Firefox it works fine. So this needs a bit further investigation.

@frosch123 Do you happen to have some time to check this out? I guess we need a way to reproduce, or get those browser console logs / network logs?

GarlicBread42 commented 1 year ago

console-export-2023-10-3_21-50-28.txt

I've just re-tried to upload, you'll find the browser console logs attached. If you need anything else, please let me know.

frosch123 commented 1 year ago

I can reproduce the error with a larger upload: