This is a migrated thread and some comments may be shown as answers.

Failure in file uploading

3 Answers 80 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
Marianna
Top achievements
Rank 1
Marianna asked on 23 Feb 2014, 09:01 AM
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

3 Answers, 1 is accepted

Sort by
0
EricLaw
Top achievements
Rank 1
answered on 24 Feb 2014, 04:18 PM
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.).  
0
EricLaw
Top achievements
Rank 1
answered on 24 Feb 2014, 04:24 PM
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.).  
0
Marianna
Top achievements
Rank 1
answered on 25 Feb 2014, 06:04 AM
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


Tags
Fiddler Classic
Asked by
Marianna
Top achievements
Rank 1
Answers by
EricLaw
Top achievements
Rank 1
Marianna
Top achievements
Rank 1
Share this question
or