Failure in file uploading

4 posts, 0 answers
  1. Marianna
    Marianna avatar
    2 posts
    Member since:
    Feb 2014

    Posted 23 Feb 2014 Link to this post

    Dear Fiddler support,

    I'm working with lighttpd 1.4.32 server on Linux, and JavaScript application on ExtJs widget.
    There a problem in my application during file  uploading (about 30MB) to the server.
    SOMETIMES, in IE, file is failed to be uploaded.
    No errors in lighttpd, all parameters for file uploading are defined well. In other browsers, file is uploaded.
    While debuging this problem, the following error is observed in console:
    SEC7111: HTTPS security is compromised by res://ieframe.dll/dnserrordiagoff.htm
    .....
    All suggestions by Google didn't lead to proper result (update windows, decrease IE security options etc.)
    BUT, when I'm using Fiddler application to catch response code, file is uploaded!!!
    Please note, that other HTTP analyzers doesn't make such effect.

    I'm inside this bug for several months. Quite frustrating.
    I will be very appreciate if you could give me some direction why in Fiddler file is uploaded.
    Thank you in advance, Marianna

  2. EricLaw
    EricLaw avatar
    67 posts
    Member since:
    Oct 2012

    Posted 24 Feb 2014 in reply to Marianna Link to this post

    Which IE version are you using? Is the upload target a HTTPS URL?

    Do you *always* see "SEC7111: HTTPS security is compromised by res://ieframe.dll/dnserrordiagoff.htm" in the console, or only in the failing case? That error message means that the HTTPS page had a frame which attempted to navigate (e.g. to perform an upload) to a server which was unavailable (either due to a DNS lookup failure or potentially due to a HTTPS connection problem or timeout).

    Does your server have an upload timeout? In very old versions of IE (not the one you're using), the upload send buffer was too small so files uploaded very slowly. Running Fiddler fixed that problem because Fiddler used a better send buffer size than IE6/7 (see http://blogs.telerik.com/fiddler/posts/13-02-28/help!-running-fiddler-fixes-my-app- for more details on this.).  
  3. EricLaw
    EricLaw avatar
    67 posts
    Member since:
    Oct 2012

    Posted 24 Feb 2014 in reply to Marianna Link to this post

    Which IE version are you using? Is the upload target a HTTPS URL?

    Do you *always* see "SEC7111: HTTPS security is compromised by res://ieframe.dll/dnserrordiagoff.htm" in the console, or only in the failing case? That error message means that the HTTPS page had a frame which attempted to navigate (e.g. to perform an upload) to a server which was unavailable (either due to a DNS lookup failure or potentially due to a HTTPS connection problem or timeout).

    Does your server have an upload timeout? In very old versions of IE (not the one you're using), the upload send buffer was too small so files uploaded very slowly. Running Fiddler fixed that problem because Fiddler used a better send buffer size than IE6/7 (see http://blogs.telerik.com/fiddler/posts/13-02-28/help!-running-fiddler-fixes-my-app- for more details on this.).  
  4. Marianna
    Marianna avatar
    2 posts
    Member since:
    Feb 2014

    Posted 25 Feb 2014 Link to this post

    EricLaw, Hi

    Thanks for the attitude.
    I'm using IE9. I know that the problem occurred in IE8 as well.

    Upload target is a tgz file residing in PC File System.
    Destination folder is defined in lighttpd.conf
    Parts of uploading code:
    *************** JS *******************
    uploadFileFormSubmit.getForm().submit({
    url:'php/system/SystemManager.php',
    params:{"run":"updateFirmware"},
            method:'POST',
    ****************************************

    ******************PHP*****************
    ....
    move_uploaded_file($filename,$fullPath))
    .....
    *****************************************
    Regarding error message in console: I always see the error when file is failed to be uploaded and don't see on success.
    The lighttpd server has uploaded timeout (300 sec). When failure occurs, it happen just in few seconds after beginning uploading.  Success uploading file takes about 1 min. 

    Thank you in advance, Marianna


Back to Top