SWFUpload on HTTPS does not work

I have a problem downloading files using SWFUpload when the target servlet listens for HTTPS. By HTTP, it works great.

The problem is only when using FireFox or Opera. It works fine in IE - I have not tried other browsers.

EDIT: The error message indicated in SWFUpload in debug mode:

SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0 SWF DEBUG: Event: uploadError: IO Error: File ID: SWFUpload_0_0. I / O error: error # 2038 SWF DEBUG: Event: uploadComplete: upload cycle completed.

+6
flash swfupload
source share
5 answers

Perhaps the problem is with the certificate.

Check if there are any warnings related to the certificate when opening the target site in these browsers.

Open the certificate and check for warnings.

+6
source

This is probably a certificate issue - it will work with HTTPS, Firefox, and the official certificate .

I use SWFUpload in combination with HTTPS on invoiceplatform.com and work with IE, Safari, Firefox and Chrome (I have not tested other browsers). On a test server, Firefox does not work with HTTPS because an official certificate is not configured.

+3
source

2038 Flash IO Error:

β€œFlash IO errors are not very useful. The same pair of error numbers is returned for almost everyone.

Here are some common problems that cause these error codes:

  • Invalid URL
  • Maximum message size for server or maximum download size
  • The server unexpectedly terminates the connection.
  • Zero byte file uploaded
  • Basic Authentication Error

To debug these problems, I first verify that my download works using the standard HTML submission form pointing to my upload.php "

If it was http, I would suggest using fiddler or wirehark, but I don't think this will help for https.

+2
source

There seems to be a problem with the certificate: Discussion of SWF over HTTPS

+1
source

Last time I had a huge problem on a site with ssl security and SWFUpload and other Flash downloaders. There was always error # 2038. In addition, there was a problem with the distribution of content from the https website to Facebook. I spent many hours to find a solution, and I found it! There was a problem with ssl certificates.

First of all, you will need originals, not self-generated certificates, if you have the same problem, because Flash has problems with the latter. The site server is located on Nginx, so you will correctly install the certificates, here is the instruction. And most importantly, combine the primary certificate and the intermediate certificate. If you do not, your page will work correctly, but not a flash loader, and even if you try

curl https://your-site.com

You may see an error explaining that there is a problem with the certificate.

What is interesting is that on Windows and Mac Os computers the flash works fine even without certificate concatenation, and there is a problem on Ubuntu. But in every system there is a problem with sharing on Facebook, since it depends on the configuration of the FB servers.

0
source

All Articles