Error: Connection lost during download

30 views
Skip to first unread message

SR

unread,
Nov 10, 2020, 12:41:35 PM11/10/20
to web2py-users
Hi
I store my uploaded file in the web2py "static" folder.
One of the download link for linux binaries fails.  It downloads 1GB, then fails.
This is the link:
Is this problem due to the file is larger than 1GB? Could it be related to one of the server settings?
Could you help me figure out what is going on?
Thank you very much in advance.

Regards
Sneka.

Clemens

unread,
Nov 10, 2020, 12:47:53 PM11/10/20
to web2py-users
If I had to guess, I'd say, that your web server is running in a timeout while downloading such a large file.

Best regards
Clemens

SR

unread,
Nov 10, 2020, 4:10:28 PM11/10/20
to web2py-users
How do I fix this? Any suggestion would be appreciated.

Jim S

unread,
Nov 10, 2020, 4:20:52 PM11/10/20
to web2py-users
That depends on your software stack. 

Where is this hosted?

What web server?

Are you using uwsgi?

I have experience with nginx and uwsgi but not much else.  

-Jim

Clemens

unread,
Nov 10, 2020, 4:40:37 PM11/10/20
to web2py-users
Same as Jim: I have experience with nginx and uwsgi.

And googling "<your web server> set timeout" should give you the answer, e.g.:

If it's not a timeout problem (but I'm sure it is), I could be a restriction in the size of the data transferable per request. But please first try to increase the timeout.

Clemens
Reply all
Reply to author
Forward
0 new messages