Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When TLS is enabled recieved and size are always the same #37

Closed
Vespasian opened this issue May 5, 2014 · 4 comments
Closed

When TLS is enabled recieved and size are always the same #37

Vespasian opened this issue May 5, 2014 · 4 comments

Comments

@Vespasian
Copy link

After I setup TLS for my website the size and the recieved field in the reported progress are always the same (the correct size of the uploaded file). I tested it with large files to make sure the upload doesn't finish to early

The state still changes from uploading to done once the upload finishes.

Using standard unencrypted http everything works as expected.

I configure TLS with the following directives

    ssl_certificate /etc/ssl/private/certificate.pem;
    ssl_certificate_key /etc/ssl/private/certificate.key;
    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
    ssl_prefer_server_ciphers on;
    ssl_ciphers "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS !RC4";
        add_header Strict-Transport-Security "max-age=31536000; includeSubdomains;";
        ssl_session_cache shared:SSL:10m;
        ssl_session_timeout 10m;

A debug session for one file upload is here
https://gist.github.com/Vespasian/d2214d1c25544510f58d

If you need anything feel free to contact me by mail or in this issue. Thanks for your great work on this module

@masterzen
Copy link
Owner

@Vespasian, I quickly read you log searching for "upload", and I couldn't find any spot where the upload is actually posted to nginx. There are indication that some older uploads are being deleted from the known upload database, but nothing about new uploads.

Can you check your whole configuration to make sure you have debug enabled everywhere it's needed?
Then, send again the error log. The part I'm interested in is the the beginning of the upload.

@Vespasian
Copy link
Author

I'll create a minimal configuration, which provokes the bug, later this week and send you the logs once I manage to find something about the start of the upload in them.

@masterzen
Copy link
Owner

@Vespasian would you have a log file showing the problem with and without TLS activated?
I'll try to debug the issue during the week, but apparently you're not the only one having the issue (see issue #32) with TLS enabled.

@masterzen
Copy link
Owner

This isn't TLS specific, as I was able to reproduce it without TLS enabled.
This is a duplicate of #36.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants