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