stf icon indicating copy to clipboard operation
stf copied to clipboard

APK with some non-ascii character file name fails to upload

Open chenpig1123 opened this issue 10 years ago • 3 comments

This is not about the stf project but the formidable node mudule, I try to upload app which is more than 2.5GB, "socket hang up" error happens. I think the http server maybe timeout cause every time the error happens two minutes later after I begin uploading files, but I changed the settings like so:

server.timeout = 1000 * 60 * 10

or:

req.connection.setTimeout(1000 * 60 * 10)

It not works. Does someone know this problem and how to solve it? Thanks.

(I think I've solved it, this issue can be closed.)

chenpig1123 avatar Feb 15 '16 02:02 chenpig1123

I met the same problem when upload apk file. Could I ask how did you solve it? Thanks.

Tierney0115 avatar Feb 27 '16 10:02 Tierney0115

May I ask what kind of an application requires 2.5GB of disk space?

sorccu avatar Feb 27 '16 15:02 sorccu

@sorccu An old 3D game apk, it has a big size. @Tierney0115 You can reset the timeout of server, not only the temp.js on storage server, but the index.js on processor server, just use "server.timeout = 1000 * 60 * 10", maybe a bad way, but it can solve my problem now.

chenpig1123 avatar Feb 29 '16 06:02 chenpig1123