Problem uploading big files with HTTPS

A Andreas Marchart 3 years 6 months ago
4 1 0

Hi,

we developed a RhoMobile applicaton, where it is possible to capture a signature and send this signature to a server.
For the uplaod, we use the network upload file function:
r = Rho.Network.uploadFile(obj);

When we use a HTTP connecton the file upload is working fine. We tested to send an image with about 1 MB and this is transferred  within few seconds.

When we use a HTTPS connection, the upload is working fine for small files (e.g. a 2,5 KB png file is working). If there is a bigger file, for example with 100 KB, on some devices the server returns immediatley status 400 and no result message and on other devices we are running into a timeout. But if we change the connection type to HTTP it is working fine.

Is there a difference between a HTTP and a HTTPS connection for the file upload?
Is there maybe a special parameter for the timeout or something else which should be configured in addition?

Thank you in advance.

Best Regards,
Andreas

CONTACT
Can’t find what you’re looking for?