Closed
Bug 1510390
Opened 6 years ago
Closed 6 years ago
Downloads of application/x-msdownload create 0 byte file and no TCP connection
Categories
(Core :: Networking: HTTP, defect, P2)
Tracking
()
RESOLVED
DUPLICATE
of bug 1513135
People
(Reporter: davidbradshaw415, Assigned: dragana)
Details
(Whiteboard: [necko-triaged])
Attachments
(7 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36
Steps to reproduce:
Try downloading file from Cloudfront (http://d3gcli72yxqn2z.cloudfront.net/connect/v4/bin/IBMAsperaConnect-ML-3.8.1.161274.msi).
We tested that using an anchor to download or just pasting the address in the URL bar fails after a few downloads (usually second and beyond). New windows will allow another, but not new tabs.
Using version: 63.0.3 on Windows ONLY (tested on Windows 7 SP1) (not reproducable on Mac)
Actual results:
Usually it works the first time (not always) and then it just created a 0 byte file and sits on Unknown time left. Can click this link in a web page or just go to it. Failed on HTTP or HTTPS.
Using Wireshark we verified that it never actually makes a TCP connection when it gets into this state.
Expected results:
File should download.
Verified that bug exists on Windows 10 (build 17134-sr4). However, it took more successful attempts before bug was shown (around 6)
After further research we have seen it only happens on MSI and executables (binary files with .exe downloaded fine and did not reproduce).
Seems to only show issue when the content-type is application/x-msdownload. EXE files that show as octet stream do not have the issue. For our server our workaround may be to not report as application/x-msdownload.
Summary: Downloads create 0 byte file and no TCP connection → Downloads of application/x-msdownload create 0 byte file and no TCP connection
Comment 4•6 years ago
|
||
Works for me with the URL from comment#0.
I have tested Firefox63 and Firefox 65 nightly on windows10
Did you assign a helper application for that content-type under preferences/general/applications ?
Clean install on new Windows 10. We did not adjust any settings. I attached my settings.
Going to download Visual Studios:
https://code.visualstudio.com/docs/?dv=win
Clicking `direct download link` made the bug appear after the second try. Updated screenshot added as well.
Visual studio download is an EXE file not an MSI file in this case; but we checked headers and it was x-msdownload.
Comment 7•6 years ago
|
||
I always get a full download in 10 of 10 tries with Firefox 65 nightly on windows10.
Do you have third party Antivirus/security software installed ?
On Windows 7 we tried disabling Microsoft Defender and still had same issue.
We got a VM from Modern IE and are using new Firefox download.
https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
(MSEdge on Win10).
Our QA team originally found this on a Windows 7 machine in VSphere and we have been trying to replicate the issue and were able to in Win10 and Win7 image from Modern IE.
So maybe a VM only issue? Which seems weird...
Comment 9•6 years ago
|
||
I reproduce this issue with other URLs.
https://d3gcli72yxqn2z.cloudfront.net/connect/v4/bin/IBMAsperaConnectInstaller-3.8.1.161274.dmg
https://d3gcli72yxqn2z.cloudfront.net/connect/v4/bin/ibm-aspera-connect-3.8.1.161274-linux-g2.12-64.tar.gz
Maybe some kind of TLS bug.
Updated•6 years ago
|
Component: Untriaged → Networking: HTTP
Product: Firefox → Core
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
I captured the download failure under Process Monitor and used symbols to poke around Firefox source code to find logging flags.
NSPR_LOG_MODULES=timestamp,BackgroundFileSaver:5,nsThread:5,NetworkPredictor:5,nsIOService:5,nsJarProtocol:5,nsPrefetch:5,nsStreamCopier:5,nsStreamPump:5
Comment 12•6 years ago
|
||
Again, this is only happening on your systems and not on my native Windows10 system or on the billions of Firefox installations on native systems.
application/x-msdownload in Firefox should have the same handling as application/octet-stream and if only application/x-msdownload doesn't work right and other content-types are working I think it can be only caused by a bug in the VM or external software.
External Software can be active Antivirus Software as example or something that modifies the Firefox profile or something that corrupts the Firefox networking cache.
Comment 13•6 years ago
|
||
I confirm this bug. Network Monitor shows "No headers for this request". Download manager: "Unknown time left — 0 bytes (0 bytes/sec)". File of size 0 is created on disk.
I've tested on fresh profile, no antivirus or firewall. It happens on 1 of 10 downloads, on different Content-Types, http/1.1 and http/2, different sites. Maybe it is somehow related to CDN or https.
I've added Fiddler as a proxy, problem request successfully finishes in Fiddler, as usual. So, file is really downloaded by proxy. But Firefox doesn't start saving this file.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → dd.mozilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P2
Whiteboard: [necko-triaged]
Comment 14•6 years ago
|
||
Dup of bug 1513135?
Comment 15•6 years ago
|
||
(In reply to Masatoshi Kimura [:emk] from comment #14)
Dup of bug 1513135?
Yes, the same bug, and it is fixed in Firefox 65. Thank you.
Assignee | ||
Updated•6 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•