http://bugs.winehq.org/show_bug.cgi?id=58160
Bug ID: 58160 Summary: Wine cannot download mono Product: Wine Version: 10.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: scallegari@arces.unibo.it Distribution: ---
Recently, wine seems uncapable of downloading mono. The progress bar does not move from 0 an everything hangs. Might be an issue with wine itself or with the servers from which mono is meant to be developed. In either case, lack of a proper timeout and diagnostics in wine seems problematic.
To repro: `wine 'C:\windows\system32\control.exe' appwiz.cpl install_mono`
http://bugs.winehq.org/show_bug.cgi?id=58160
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=58160
--- Comment #1 from Esme Povirk madewokherd@gmail.com --- I know this has worked before because I have the msi in my cache, but after deleting that, I can reproduce this issue. The "Cancel" button is functional at least, so it's not fully hanging.
http://bugs.winehq.org/show_bug.cgi?id=58160
--- Comment #2 from Esme Povirk madewokherd@gmail.com --- I see this in the terminal: 0154:err:appwizcpl:InstallCallback_OnStopBinding Binding failed 800c0008
Error code is INET_E_DOWNLOAD_FAILURE, which is unhelpful, but it indicates that detecting the failure and reporting it would be possible. Ideally we should do that in addition to fixing the failure.
http://bugs.winehq.org/show_bug.cgi?id=58160
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
http://bugs.winehq.org/show_bug.cgi?id=58160
--- Comment #3 from Esme Povirk madewokherd@gmail.com --- 0158:trace:wininet:GetAddress failed to get IPv4 address of L"s3.amazonaws.comhttps", retrying with IPv6 0158:trace:wininet:GetAddress failed to get address of L"s3.amazonaws.comhttps"
I think we must be incorrectly handling a redirect somehow.
http://bugs.winehq.org/show_bug.cgi?id=58160
--- Comment #4 from Esme Povirk madewokherd@gmail.com --- Very strange, Firefox is able to download the url Wine is using, but
meh@esme-desktop:~/wine$ curl --head 'http://dl.winehq.org/wine/wine-mono/10.0.0/wine-mono-10.0.0-x86.msi' 2>/dev/null|grep Location Location: https://s3.amazonaws.comhttps://s3.amazonaws.comhttps://s3.amazonaws.comhttp...
http://bugs.winehq.org/show_bug.cgi?id=58160
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|10.5 |unspecified Product|Wine |WineHQ.org Keywords|download, source | Component|-unknown |www-unknown
--- Comment #5 from Esme Povirk madewokherd@gmail.com --- So, wine: fails curl -L: fails firefox: succeeds wget: succeeds
Based on the debug output of all these tools, it seems to me the successful and failing cases are getting different headers from the website. I think this must be a website bug.
http://bugs.winehq.org/show_bug.cgi?id=58160
--- Comment #6 from Hans Leidekker hans@meelstraat.net --- (In reply to Esme Povirk from comment #5)
So, wine: fails curl -L: fails firefox: succeeds wget: succeeds
Based on the debug output of all these tools, it seems to me the successful and failing cases are getting different headers from the website. I think this must be a website bug.
Yes, looks like a configuration issue on the server. https works, which is what Firefox does.
http://bugs.winehq.org/show_bug.cgi?id=58160
--- Comment #7 from Esme Povirk madewokherd@gmail.com --- I made an MR to report the failure, anyway. https://gitlab.winehq.org/wine/wine/-/merge_requests/7912
http://bugs.winehq.org/show_bug.cgi?id=58160
David david.l.bridges@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |david.l.bridges@gmail.com
--- Comment #8 from David david.l.bridges@gmail.com --- Browse to https://gitlab.winehq.org/wine/wine/-/wikis/Download
In section "Wine Source Downloads" is a link "WineHQ download server - our official source release site."
which links to https://dl.winehq.org/wine/source Clicking the above link downloads an empty document named "Download"
The .msi files for Wine Mono used to be at https://dl.winehq.org/wine/wine-mono but clicking a link to this URL also downloads an empty document named "Download"
http://bugs.winehq.org/show_bug.cgi?id=58160
Chiitoo chiitoo@gentoo.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chiitoo@gentoo.org
http://bugs.winehq.org/show_bug.cgi?id=58160
morgwai foss@morgwai.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |foss@morgwai.pl
--- Comment #9 from morgwai foss@morgwai.pl --- I've just tried downloading using wget, here is the result: ``` $ wget http://dl.winehq.org/wine/wine-mono/10.0.0/wine-mono-10.0.0-x86.msi --2025-04-28 18:53:26-- http://dl.winehq.org/wine/wine-mono/10.0.0/wine-mono-10.0.0-x86.msi Resolving dl.winehq.org (dl.winehq.org)... 146.75.122.217, 2a04:4e42:8e::729 Connecting to dl.winehq.org (dl.winehq.org)|146.75.122.217|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://s3.amazonaws.comhttps://s3.amazonaws.comhttps://s3.amazonaws.comhttp... [following] --2025-04-28 18:53:27-- https://s3.amazonaws.comhttps//s3.amazonaws.comhttps://s3.amazonaws.comhttps... Resolving s3.amazonaws.comhttps (s3.amazonaws.comhttps)... 172.30.3.254 Connecting to s3.amazonaws.comhttps (s3.amazonaws.comhttps)|172.30.3.254|:443... connected. The certificate's owner does not match hostname ‘s3.amazonaws.comhttps’ ```
Downloading with Firefox works for me also however. This is really strange...
http://bugs.winehq.org/show_bug.cgi?id=58160
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED
--- Comment #10 from Esme Povirk madewokherd@gmail.com --- This looks like the same cause as Bug 58159, just Wine having trouble instead of APT.
*** This bug has been marked as a duplicate of bug 58159 ***
http://bugs.winehq.org/show_bug.cgi?id=58160
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Ken Sharp imwellcushtymelike@gmail.com --- Closing reports marked as duplicate.