Question

After reading Steve Sandersons post on swf upload.

http://blog.stevensanderson.com/2008/11/24/jquery-ajax-uploader-plugin-with-progress-bar/

I have implemented the swf upload on a site I am working on, Some users are getting a variety of issues where the progress bar gets stuck, or they get the error message 2038 - with error code -220 (System IO error.) - this is not related to Certificates as in the test below both addresses can be accessed with http or https

I haven't been able to reproduce much of these errors, However when trying to upload large images over 2 mb

It works fine on the test site, But not on the live

UPDATE: I had posted examples here, now removed as the links don't work.

Both sites hosted on App Harbor. exactly the same code.

The Limit for image uploads should be 10 mb - and I have successfully uploaded larger images that the one posted here.

what could be the cause of this?

Was it helpful?

Solution 2

This turned out to be a configurations setting at the load balancer level, We have a dedicated load balancer with app harbor to so we can offer full ssl support. It had not been set up to allow requestes of 10mb, they have changed it now.

OTHER TIPS

Can I ask what language the rest of the site is written in?

My first thought is that if it's an IO error it could be running out of space?

Run:

Df -h

On the servers and see what we get, remember that all file uploads are written to /tmp before being moved where you want them, so if that fills upload stops.

Just don't forget to have the parameters in php.ini that set :

session cookies to on
and session.use_only_cookies to off

and in the js plugin session are handled this way:

 post_params: {
   <?php echo "'".ini_get('session.name')."':'".session_id()."',"; ?>
 }

Furthermore, don't forget to check the list of images extensions handled by your js plugin

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top