http://bugs.winehq.org/show_bug.cgi?id=30023
Bug #: 30023 Summary: Google Earth installer (google update version) complains "could not connect to the internet" Product: Wine Version: 1.4-rc5 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
This is just like bug 29074 in that the error dialog is the same and native winhttp works around it, but it must be different under the hood.
To reproduce, grab http://www.google.com/earth/download/thanks.html#os=win#updater=yes (at the moment, that points to http://dl.google.com/tag/s/appguid%3D%7B74AF07D8-FB8F-4d51-8AC7-927721D56EBB... )
and run in a clean wineprefix. After twenty seconds or so, the failure dialog pops up.
This seems to be the last bit of winhttp activity in the log before the failure:
0009:Call winhttp.WinHttpQueryHeaders(00000003,00000016,00000000,00000000,0084e6a0,00000000) ret=1803b163 0009:trace:winhttp:WinHttpQueryHeaders 0x3, 0x00000016, (null), (nil), 0x84e6a0, (nil) 0009:trace:winhttp:addref_object 0x15b070 -> refcount = 2 0009:trace:winhttp:grab_object handle 0x3 -> 0x15b070 0009:trace:winhttp:release_object object 0x15b070 refcount = 1 0009:Ret winhttp.WinHttpQueryHeaders() retval=00000000 ret=1803b163 0009:Call KERNEL32.GetLastError() ret=1800b70c 0009:Ret KERNEL32.GetLastError() retval=00002f92 ret=1800b70c ... 0031:Call oleaut32.SysAllocStringLen(0015b520 L"The installer could not connect to the Internet. Ensure that your computer is connected to the Internet and your firewall allows GoogleUpdate.exe to connect then try again.",000000ac) ret=18021e72
http://bugs.winehq.org/show_bug.cgi?id=30023
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |http://www.google.com/earth | |/download/thanks.html#os=wi | |n#updater=yes
http://bugs.winehq.org/show_bug.cgi?id=30023
--- Comment #1 from Dan Kegel dank@kegel.com 2012-02-27 03:31:32 CST --- Also affects the google earth plugin installer, http://dl.google.com/earth/plugin/GoogleEarthPluginSetup.exe
http://bugs.winehq.org/show_bug.cgi?id=30023
--- Comment #2 from Austin English austinenglish@gmail.com 2012-05-04 13:51:08 CDT --- Created attachment 40031 --> http://bugs.winehq.org/attachment.cgi?id=40031 winhttp trace
Still in wine-1.5.3-101-g9c19ba6. Here's a trace trying to install chrome.
http://bugs.winehq.org/show_bug.cgi?id=30023
--- Comment #3 from Juan Lang juan.lang@gmail.com 2012-05-04 14:08:31 CDT ---
From your log:
0009:Ret KERNEL32.GetLastError() retval=00002f92 ret=1800b70c
00002f92 is 12178, ERROR_WINHTTP_AUTO_PROXY_SERVICE_ERROR. That only seems to be set here: http://source.winehq.org/source/dlls/winhttp/session.c#L2012
Reading through that, I'd guess that modifying the default return value of WinHttpDetectAutoProxyConfigUrl to be TRUE would work around it.
My suspicion is that the real error is in WinHttpGetProxyForUrl, which shouldn't fail if WinHttpDetectAutoProxyConfigUrl fails, but return WINHTTP_ACCESS_TYPE_NO_PROXY. It'd need tests though.
http://bugs.winehq.org/show_bug.cgi?id=30023
Juan Lang juan.lang@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winhttp
--- Comment #4 from Juan Lang juan.lang@gmail.com 2012-05-04 14:09:00 CDT --- Oh yeah, since native winhttp works around it, setting component to that.
http://bugs.winehq.org/show_bug.cgi?id=30023
--- Comment #5 from Juan Lang juan.lang@gmail.com 2012-05-07 14:54:13 CDT --- Created attachment 40082 --> http://bugs.winehq.org/attachment.cgi?id=40082 Don't fail WinHttpGetProxyForUrl when WinHttpDetectAutoProxyConfigUrl fails.
Does this patch help?
http://bugs.winehq.org/show_bug.cgi?id=30023
--- Comment #6 from Austin English austinenglish@gmail.com 2012-05-07 15:32:15 CDT --- Created attachment 40084 --> http://bugs.winehq.org/attachment.cgi?id=40084 winhttp trace
Still fails, here's a trace with the patch.
http://bugs.winehq.org/show_bug.cgi?id=30023
--- Comment #7 from Juan Lang juan.lang@gmail.com 2012-05-07 15:41:59 CDT --- (In reply to comment #6)
Still fails, here's a trace with the patch.
That last bit in your log looks funny: fixme:mstask:MSTASK_ITaskScheduler_Activate Partial stub always returning COR_E_FILENOTFOUND
I'm not sure, but I'd guess this might be a new bug. Is there a way to override mstask.dll?
http://bugs.winehq.org/show_bug.cgi?id=30023
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
--- Comment #8 from Austin English austinenglish@gmail.com 2012-05-09 04:49:19 CDT --- (In reply to comment #7)
(In reply to comment #6)
Still fails, here's a trace with the patch.
That last bit in your log looks funny: fixme:mstask:MSTASK_ITaskScheduler_Activate Partial stub always returning COR_E_FILENOTFOUND
I'm not sure, but I'd guess this might be a new bug. Is there a way to override mstask.dll?
No: err:module:DelayLoadFailureHook failed to delay load API-MS-Win-Security-SDDL-L1-1-0.dll.ConvertStringSecurityDescriptorToSecurityDescriptorW wine: Call from 0x7b83b092 to unimplemented function API-MS-Win-Security-SDDL-L1-1-0.dll.ConvertStringSecurityDescriptorToSecurityDescriptorW, aborting fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for 80000100 err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\windows\system32\mstask.dll"
http://bugs.winehq.org/show_bug.cgi?id=30023
--- Comment #9 from Juan Lang juan.lang@gmail.com 2012-05-09 14:36:12 CDT --- (In reply to comment #8)
(In reply to comment #7)
(In reply to comment #6)
Still fails, here's a trace with the patch.
That last bit in your log looks funny: fixme:mstask:MSTASK_ITaskScheduler_Activate Partial stub always returning COR_E_FILENOTFOUND
I'm not sure, but I'd guess this might be a new bug. Is there a way to override mstask.dll?
No: err:module:DelayLoadFailureHook failed to delay load API-MS-Win-Security-SDDL-L1-1-0.dll.ConvertStringSecurityDescriptorToSecurityDescriptorW wine: Call from 0x7b83b092 to unimplemented function API-MS-Win-Security-SDDL-L1-1-0.dll.ConvertStringSecurityDescriptorToSecurityDescriptorW, aborting
And if you also install API-MS-Win-Security-SDDL-L1-1-0.dll?
http://bugs.winehq.org/show_bug.cgi?id=30023
--- Comment #10 from Austin English austinenglish@gmail.com 2012-05-09 17:35:55 CDT --- (In reply to comment #9)
(In reply to comment #8)
(In reply to comment #7)
(In reply to comment #6)
Still fails, here's a trace with the patch.
That last bit in your log looks funny: fixme:mstask:MSTASK_ITaskScheduler_Activate Partial stub always returning COR_E_FILENOTFOUND
I'm not sure, but I'd guess this might be a new bug. Is there a way to override mstask.dll?
No: err:module:DelayLoadFailureHook failed to delay load API-MS-Win-Security-SDDL-L1-1-0.dll.ConvertStringSecurityDescriptorToSecurityDescriptorW wine: Call from 0x7b83b092 to unimplemented function API-MS-Win-Security-SDDL-L1-1-0.dll.ConvertStringSecurityDescriptorToSecurityDescriptorW, aborting
And if you also install API-MS-Win-Security-SDDL-L1-1-0.dll?
Still gives similar errors. Trying regsvr32-ing: austin@aw21 ~/.wine/drive_c/windows/system32 $ wine regsvr32.exe mstask.dll err:module:DelayLoadFailureHook failed to delay load API-MS-Win-Security-SDDL-L1-1-0.dll.ConvertStringSecurityDescriptorToSecurityDescriptorW wine: Call from 0x7b83b092 to unimplemented function API-MS-Win-Security-SDDL-L1-1-0.dll.ConvertStringSecurityDescriptorToSecurityDescriptorW, aborting fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for 80000100 Failed to load DLL mstask.dll austin@aw21 ~/.wine/drive_c/windows/system32 $ wine regsvr32.exe api-ms-win-security-sddl-l1-1-0.dll Failed to load DLL api-ms-win-security-sddl-l1-1-0.dll
http://bugs.winehq.org/show_bug.cgi?id=30023
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|winhttp |mstask
http://bugs.winehq.org/show_bug.cgi?id=30023
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |20244
http://bugs.winehq.org/show_bug.cgi?id=30023
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|mstask |-unknown
--- Comment #11 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, the downloader/updater still complains after some time with "could not connect to the internet".
Interestingly the app has running winhttp session/transfers in background at the time the message appears which contradicts the message text.
In contrast to 'winetricks -q winhttp', builtin winhttp get/post sequences seem to have large time gaps in between (delayed). Maybe these delays exceed some app internal timeout value, resulting in abort.
To verify it's still alive while the progress bar is just revolving, start with:
--- snip --- $ WINEDEBUG=+tid,+seh,+winhttp wine ./GoogleEarthSetup.exe --- snip ---
$ sha1sum GoogleEarthSetup.exe b2e492cf6f9ae47fb99736d3096d8a7e46a7b59a GoogleEarthSetup.exe
$ du -sh GoogleEarthSetup.exe 800K GoogleEarthSetup.exe
$ wine --version wine-1.7.9-209-gb231b4b
Additionally:
* this has nothing do to with 'mstask' component * you should also avoid test with obviously broken WINEPREFIX
Regards
http://bugs.winehq.org/show_bug.cgi?id=30023
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #12 from hanska2@luukku.com --- I tried with 1.7.22 I let the program run around 1 minute. Couldnt see the erorr, but it shouldnt take so long. Console showed that it tried to look some proxy.
I assume its same state as reported before.
https://bugs.winehq.org/show_bug.cgi?id=30023
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=30023
Teras teras@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |teras@luukku.com
--- Comment #13 from Teras teras@luukku.com --- still an issue 1.7.37
https://bugs.winehq.org/show_bug.cgi?id=30023
--- Comment #14 from Austin English austinenglish@gmail.com --- Still in 1.7.41.
https://bugs.winehq.org/show_bug.cgi?id=30023
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #15 from super_man@post.com --- still failing 1.7.49
https://bugs.winehq.org/show_bug.cgi?id=30023
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winhttp
--- Comment #16 from Bruno Jesus 00cpxxx@gmail.com --- winetricks -q winhttp is a workaround, it allows the program to start downloading. The interesting thing is that the installer actually only installs Google Update and then requests Google Update to install the application.
https://bugs.winehq.org/show_bug.cgi?id=30023
Adam Bolte abolte@systemsaviour.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |abolte@systemsaviour.com
https://bugs.winehq.org/show_bug.cgi?id=30023
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #17 from winetest@luukku.com --- Still valid wine 2.0rc5 and staging 2.0rc5.
https://bugs.winehq.org/show_bug.cgi?id=30023
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #18 from Austin English austinenglish@gmail.com --- *** Bug 43416 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=30023
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Google Earth installer |Google Chrome/Earth |(google update version) |installer (Google update |complains "could not |version) complains "could |connect to the internet" |not connect to the | |internet"
https://bugs.winehq.org/show_bug.cgi?id=30023
--- Comment #19 from Fabian Maurer dark.shadow4@web.de --- Still valid as of wine2.12-staging. Sidenote, "winetricks -q winhttp" doesn't help anymore.
https://bugs.winehq.org/show_bug.cgi?id=30023
Aaron Franke arnfranke@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |arnfranke@yahoo.com
--- Comment #20 from Aaron Franke arnfranke@yahoo.com --- Can we change the status of this bug from "New" to "Confirmed"?
https://bugs.winehq.org/show_bug.cgi?id=30023
--- Comment #21 from Fabian Maurer dark.shadow4@web.de --- In this bugtracker "Unconfirmed" is the standard status, "NEW" means confirmed.
https://bugs.winehq.org/show_bug.cgi?id=30023
--- Comment #22 from Fabian Maurer dark.shadow4@web.de --- Also affects https://adwords.google.com/home/tools/adwords-editor/. native winhttp works around the issue.
https://bugs.winehq.org/show_bug.cgi?id=30023
--- Comment #23 from Fabian Maurer dark.shadow4@web.de --- Just for completeness sake, make sure you set the windows version to win7 and not to xp when testing, because it does not work in XP mode or on real XP either way.
https://bugs.winehq.org/show_bug.cgi?id=30023
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |45347
https://bugs.winehq.org/show_bug.cgi?id=30023
--- Comment #24 from Hans Leidekker hans@meelstraat.net --- This works for me with the installer downloaded from the URL in comment 1:
$ sha1sum GoogleEarthSetup.exe 469afbd92e1e98517233f22e382566b582edd933 GoogleEarthSetup.exe
The file has changed since comment 11, so it's not clear if anything was fixed in Wine. AF, do you still have that installer lying around somewhere?
https://bugs.winehq.org/show_bug.cgi?id=30023
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #25 from Anastasius Focht focht@gmx.net --- Hello Hans,
--- quote --- The file has changed since comment 11, so it's not clear if anything was fixed in Wine. AF, do you still have that installer lying around somewhere? --- quote ---
No, unfortunately that old installer got lost when I broke my git-annex some years ago. The Internet Archive has many snapshots from the download site but sadly not for the updater.
https://web.archive.org/web/*/http://www.google.com/earth/download/thanks.ht...
I'm still able to reproduce the problem with old Wine 2.x/3.x releases and the download from comment #0
dl.google.com/tag/s/appguid%3D%7B74AF07D8-FB8F-4d51-8AC7-927721D56EBB%7D%26iid%3D%7B5DBEA7C8-737D-5756-11C4-EA16649A70CF%7D%26lang%3Den%26browser%3D3%26usagestats%3D0%26appname%3DGoogle%2520Earth%26needsadmin%3DTrue%26brand%3DGGGE/earth/client/GoogleEarthSetup.exe
--- snip --- $ 7z l GoogleEarthSetup.exe
Scanning the drive for archives: 1 file, 1295576 bytes (1266 KiB)
Listing archive: GoogleEarthSetup.exe
-- Path = GoogleEarthSetup.exe Type = PE WARNING = Checksum error Physical Size = 1295576 CPU = x86 Characteristics = Executable 32-bit Created = 2020-03-03 01:31:16 Headers Size = 1024 Checksum = 1338192 Name = GoogleUpdateSetup.exe Image Size = 1290240 Section Alignment = 4096 File Alignment = 512 Code Size = 83456 Initialized Data Size = 1187328 Uninitialized Data Size = 0 Linker Version = 14.20 OS Version = 5.1 Image Version = 0.0 Subsystem Version = 5.1 Subsystem = Windows GUI DLL Characteristics = Relocated NX-Compatible TerminalServerAware Stack Reserve = 1048576 Stack Commit = 4096 Heap Reserve = 1048576 Heap Commit = 4096 Image Base = 4194304 Comment = FileVersion: 1.3.35.452 ProductVersion: 1.3.35.452 CompanyName: Google LLC FileDescription: Google Update Setup InternalName: Google Update Setup LegalCopyright: Copyright 2018 Google LLC OriginalFilename: GoogleUpdateSetup.exe ProductName: Google Update LanguageId: en --- snip ---
Good news: the problem was fixed in between Wine 4.2 and 4.3 releases. Maybe I provide the commit info later ;-)
$ sha1sum GoogleEarthSetup.exe 469afbd92e1e98517233f22e382566b582edd933 GoogleEarthSetup.exe
$ du -sh GoogleEarthSetup.exe 1.3M GoogleEarthSetup.exe
$ wine --version wine-4.3
Regards
https://bugs.winehq.org/show_bug.cgi?id=30023
--- Comment #26 from Hans Leidekker hans@meelstraat.net --- (In reply to Anastasius Focht from comment #25)
Good news: the problem was fixed in between Wine 4.2 and 4.3 releases. Maybe I provide the commit info later ;-)
Thanks. The only relevant winhttp commit between those releases is 18e17e8d3631bfde8a17d20c10b558789eabd44d.
https://bugs.winehq.org/show_bug.cgi?id=30023
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |18e17e8d3631bfde8a17d20c10b | |558789eabd44d
--- Comment #27 from Anastasius Focht focht@gmx.net --- Hello Hans,
yes, it's commit https://source.winehq.org/git/wine.git/commitdiff/18e17e8d3631bfde8a17d20c10... ("winhttp: Include URL extra info in the path unless the caller asks for it separately.") that fixed it.
Regards
https://bugs.winehq.org/show_bug.cgi?id=30023
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #28 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.12.
https://bugs.winehq.org/show_bug.cgi?id=30023
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.google.com/earth |https://web.archive.org/web |/download/thanks.html#os=wi |/20211121171951/http://dl.g |n#updater=yes |oogle.com/tag/s/appguid%3D% | |7B74AF07D8-FB8F-4d51-8AC7-9 | |27721D56EBB%7D%26iid%3D%7B5 | |DBEA7C8-737D-5756-11C4-EA16 | |649A70CF%7D%26lang%3Den%26b | |rowser%3D3%26usagestats%3D0 | |%26appname%3DGoogle%2520Ear | |th%26needsadmin%3DTrue%26br | |and%3DGGGE/earth/client/Goo | |gleEarthSetup.exe
--- Comment #29 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link via Internet Archive for documentation.
Unfortunately no snapshot exists for that exact URL hence I created one (signature date 2021-09-17 03:51:00). Even with that one it was reproducible with Wine 4.2 and fixed with Wine 4.3 (updater claimed "no update available").
https://web.archive.org/web/20211121171951/http://dl.google.com/tag/s/appgui...
https://www.virustotal.com/gui/file/18a52e0601516acc18d0fdff837c363167ca516b...
$ sha1sum GoogleEarthSetup.exe 426d92490d34b4d57db4b8b5786e554cbb1df72e GoogleEarthSetup.exe
$ du -sh GoogleEarthSetup.exe 1.3M GoogleEarthSetup.exe
Regards