mtlynch / picoshare

A minimalist, easy-to-host service for sharing images and other files
https://demo.pico.rocks
Other
2.33k stars 169 forks source link

504 Gateway Time-out on 1.6GB File #595

Closed W1BTR closed 2 months ago

W1BTR commented 2 months ago

Trying to host a debian system image. Upon uploading, it says the file is processing. Eventually it fails:

<html>
<head><title>504 Gateway Time-out</title></head>
<body>
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>openresty</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->

image

mtlynch commented 2 months ago

Thanks for reporting this!

This seems to be a dupe of https://github.com/mtlynch/picoshare/issues/355

The short answer is that PicoShare doesn't work well for files > 1 GB unless it's a fairly large server. I'm working on improving this, but the solution is non-trivial.

W1BTR commented 2 months ago

Makes sense! I found when I went to my files list it had successfully uploaded, so at least there's that!