Closed mxrharem closed 4 months ago
How big was the file?
I can try to replicate it by uploading a large file of similar size and improve the logging of errors.
I'll try with a 10gb file and see how I can improve the logging.
One thing I did notice was that requesting a server region doesn't guarantee that you will get servers in that region so you could end up uploading to na
even though you wanted eu
It's 10.4 gb. I tried using more workers which did not help.
| 9.10G/10.4G [05:00<00:42, 32.6MB/s]
I didn't notice that the region was changed, but I doubt that matters much.
If there's any logs or extra info I can provide let me know how. Thanks for the quick response!
I'm also able to reproduce the issue. With a 13gb file it failed at around 10gb upload size. I tried increasing the aiohttp timeout from from 300s to 600s and it worked the second time. I'll try this out a couple more times and if it works I'll add a param for it in the next release.
Try the latest prelease version to see if this fixes the issue
pip install GofileIOUploader==0.12.0.dev2
For uploading, only a single session is created per file upload. I have no idea if/how chunking uploads is possible with multipart forms, I probably won't venture into that because of complexity.
This fixed the issue, I was able to upload the 10GB file, thanks a bunch!
I used this command
gofile-upload -t redacted -z eu --public --no-use-config --no-save -f vods 2024-07-11_2195212115_potasticp_cleaning_up_through_dawntrailas_rem.mkv
Using config doesn't change the outcome. Smaller files work fine. Is there a way to increase the timeout duration?