tel8618217223380 / cpassman

Automatically exported from code.google.com/p/cpassman
0 stars 0 forks source link

Upload CSV with TLS Gnutls IO error #225

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Creating a csv file with the correct fields
2. Uploading the file in the home section
3. The system display "IO Error"

What is the expected output? What do you see instead?

I'm having Issues in the apache logs :
Fri Dec 23 15:29:11 2011] [info] GnuTLS: Error reading data. (-9) 'A TLS packet 
with unexpected length was received.'
[Fri Dec 23 15:31:07 2011] [info] (70014)End of file found: GnuTLS: Error 
reading data. (-9) 'A TLS packet with unexpected length was received.'

What version of the product are you using?

TeamPass 2.0

On what operating system? With what Browser (IEx, FFx, ...)

Debian wheezy (vserver)

Please provide any additional information below.

That works fine without Gnutls.

here's my vhost config :

   GnuTLSEnable on
        GnuTLSCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
        GnuTLSKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
        ServerName teampass.iliane.fr:443
        GnuTLSPriorities NORMAL

        DocumentRoot /var/www/teampass
        <Directory /var/www/teampass>
          AllowOverride None
          Options Indexes FollowSymLinks MultiViews +ExecCGI
          Order Deny,Allow
          Allow from All
        </Directory>

Original issue reported on code.google.com by obat...@gmail.com on 23 Dec 2011 at 2:52

GoogleCodeExporter commented 9 years ago
Hum ... well here I need to check how uploadify script manages the TSL protocol.
I'm not an expert of this sort of protocol. But the error explicitly indicates 
that the script doesn't send the expected data.

I take the point ...

Original comment by nils.cpa...@gmail.com on 23 Dec 2011 at 9:14

GoogleCodeExporter commented 9 years ago
This problem has to do with flash plugin in the web browser, if you don't use a 
valid CA signed certificate for HTTPS in your site adobe flash doesn't connect 
to the server and upload fails, no matter if you install CA or certificate or 
whatever in trusted stores of your machine.

The only browser I have been able to make it work is internet explorer once I 
install CA and certificate in trusted stores, any other browser it's imposible. 
This is a known uploadify problem.

Original comment by alar...@gmail.com on 1 Jan 2012 at 12:07