http://bugs.winehq.org/show_bug.cgi?id=26339
Summary: MSXML, HTTPS GET don't work Product: Wine Version: 1.3.15 Platform: x86 URL: http://netikka.net/dev/msxml6.exe OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msxml3 AssignedTo: wine-bugs@winehq.org ReportedBy: ocean04@suomi24.fi
See example. http://netikka.net/dev/msxml6.exe
Click button.. With http address it's fine.
Note: Doesn't even work with winetricks msxml6 ie6
And using msxml3, doesn't make any difference. Ubuntu 10.10.
Code is very simple:
Uses comobj;
procedure TForm1.Button1Click(Sender: TObject); var xmlhttp: variant; starttime: dword; begin starttime:=gettickcount; xmlhttp:=createoleobject('MSXML2.XMLHTTP.6.0'); xmlhttp.open('GET', edit1.text, true); xmlhttp.send(); while (xmlhttp.readystate<>4) and (gettickcount<starttime+30000) do application.processmessages; if gettickcount>starttime+30000 then showmessage('timeout!') else memo1.text:=xmlhttp.responsetext; end;
http://bugs.winehq.org/show_bug.cgi?id=26339
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|msxml3 |-unknown Ever Confirmed|0 |1
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2011-03-07 04:16:30 CST --- (In reply to comment #0)
Note: Doesn't even work with winetricks msxml6 ie6
So it's not a msxml problem. XMLHTTP goes through urlmon (that uses wininet), so it doesn't access networking API directly.
From what I see:
--- fixme:urlmon:HttpProtocol_on_error Not handling error 12030 ---
it looks like urlmon/wininet problem. Error code means ERROR_INTERNET_CONNECTION_ABORTED.
http://bugs.winehq.org/show_bug.cgi?id=26339
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
http://bugs.winehq.org/show_bug.cgi?id=26339
ocean04@suomi24.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |wininet
--- Comment #2 from ocean04@suomi24.fi 2011-04-02 13:30:59 CDT --- Yes, winetricks wininet works
http://bugs.winehq.org/show_bug.cgi?id=26339
--- Comment #3 from ocean04@suomi24.fi 2011-11-18 15:02:43 CST --- Created attachment 37524 --> http://bugs.winehq.org/attachment.cgi?id=37524 Wininet log
Still in 1.3.33. Attached wininet log
http://bugs.winehq.org/show_bug.cgi?id=26339
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
--- Comment #4 from Jerome Leclanche adys.wh@gmail.com 2012-02-19 10:27:31 CST --- (In reply to comment #3) Please retest in wine-1.4-rc4, I remember some recent commits related to ssl.
http://bugs.winehq.org/show_bug.cgi?id=26339
--- Comment #5 from ocean04@suomi24.fi 2012-02-19 12:44:30 CST --- Doesn't work.. I increased sample timeout to 60 seconds (in case it's just slow) but it shows timeout after 60 seconds.
And I must correct what I wrote before. Native msmxl6 DOES also help.
So there are 2 workarounds. Native wininet OR msxml6
http://bugs.winehq.org/show_bug.cgi?id=26339
Todd Chester ToddAndMargo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ToddAndMargo@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=26339
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com, | |nerv@dawncrow.de
http://bugs.winehq.org/show_bug.cgi?id=26339
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com 2013-03-18 04:14:15 CDT --- With current wine if fails for me with INET_E_DOWNLOAD_FAILURE like that:
--- 0009:trace:urlmon:BindStatusCallback_OnProgress 0x17a100)->(3863 0 BINDSTATUS_DOWNLOADINGDATA L"https://www.fortify.net/sslcheck.html") 0009:trace:msxml:BindStatusCallback_OnProgress (0x17a0d8)->(3863 0 5 L"https://www.fortify.net/sslcheck.html") 0009:trace:urlmon:BindStatusCallback_OnDataAvailable (0x17a100)->(00000002 3863 0x32dae4 0x32db08) 0009:trace:urlmon:ProtocolStream_Read (0x17a8b8)->(0x32c9f8 4096 0x32d9fc) 0024:trace:wininet:HTTP_GetCustomHeaderIndex L"Host", 0, 1 0009:trace:urlmon:BindProtocol_Release (0x17a768) ref=3 0024:trace:wininet:HTTP_GetCustomHeaderIndex Return: 1 0024:trace:wininet:CommitUrlCacheEntryW (L"https://www.fortify.net/sslcheck.html", L"C:\users\nsivov\Local Settings\Temporary Internet Files\Content.IE5\CTTK1AML\sslcheck[0]", ..., ..., 1, 0x1dc500, 138, (null), (null)) 0024:trace:wininet:CommitUrlCacheEntryInternal (L"https://www.fortify.net/sslcheck.html", L"C:\users\nsivov\Local Settings\Temporary Internet Files\Content.IE5\CTTK1AML\sslcheck[0]", ..., ..., 1, 0x17dc68, 138, (null), (null)) 0024:trace:wininet:URLCacheContainers_FindContainerW searching for prefix for URL: L"https://www.fortify.net/sslcheck.html" 0024:trace:wininet:URLCacheContainers_FindContainerW found container with prefix L"" for URL L"https://www.fortify.net/sslcheck.html" 0024:trace:wininet:cache_container_lock_index Signature: WINE URLCache Ver 0.2012001, file size: 32768 bytes 0024:trace:wininet:cache_container_lock_index Directory[0] = "CTTK1AML" 0024:trace:wininet:cache_container_lock_index Directory[1] = "8LF7YRRZ" 0024:trace:wininet:cache_container_lock_index Directory[2] = "K9KA8DDR" 0024:trace:wininet:cache_container_lock_index Directory[3] = "G16X4UI6" 0024:trace:wininet:URLCache_FindFirstFreeEntry Found free block at no. 37 (0x5280) 0024:trace:wininet:URLCache_FindFirstFreeEntry Found free block at no. 37 (0x5280) 0024:trace:wininet:URLCache_FindFirstFreeEntry Found free block at no. 37 (0x5280) 0024:trace:wininet:URLCache_FindFirstFreeEntry Found free blocks starting at no. 37 (0x5280) 0024:trace:wininet:refill_read_buffer read 0 bytes, read_size 0 0024:warn:wininet:HTTP_ReceiveRequestData res 0 read 0, closing connection 0024:trace:wininet:http_release_netconn 0x17b420 0x17e4c0 0024:trace:wininet:INTERNET_SendCallback callback(0x7e0264b0) (0x3 (0x17b420), 0017a910, 50 (INTERNET_STATUS_CLOSING_CONNECTION), (nil), 0) 0024:warn:urlmon:internet_status_callback Unhandled Internet status callback 50 0024:trace:wininet:INTERNET_SendCallback end callback(). 0024:trace:wininet:INTERNET_SendCallback callback(0x7e0264b0) (0x3 (0x17b420), 0017a910, 51 (INTERNET_STATUS_CONNECTION_CLOSED), (nil), 0) 0024:warn:urlmon:internet_status_callback Unhandled Internet status callback 51 0024:trace:wininet:INTERNET_SendCallback end callback(). 0024:trace:wininet:INTERNET_SendCallback callback(0x7e0264b0) (0x3 (0x17b420), 0017a910, 100 (INTERNET_STATUS_REQUEST_COMPLETE), {1, 0}, 8) 0024:trace:urlmon:request_complete (0x17a910)->(0x76e918) 0024:trace:urlmon:BPInternetProtocolSink_Switch (0x17a768)->(0x76e840) 0024:trace:urlmon:BPInternetProtocolSink_Switch flags 0 state f1000000 data 0x9 cb 0 0024:trace:urlmon:BindProtocol_AddRef (0x17a768) ref=4 0024:trace:wininet:INTERNET_SendCallback end callback(). 0024:trace:wininet:WININET_Release object 0x17b420 refcount = 1 0009:trace:urlmon:ProtocolHandler_Continue (0x17a768)->(0x1d42f8) 0009:trace:urlmon:HttpProtocol_Continue (0x17a910)->(0x1d42f8) 0009:trace:wininet:InternetQueryDataAvailable (0x3 0x17a990 0 0) 0009:trace:wininet:WININET_AddRef 0x17b420 -> refcount = 2 0009:trace:wininet:get_handle_object handle 3 -> 0x17b420 0009:trace:wininet:HTTPREQ_QueryDataAvailable (0x17b420 0x17a990 0 0) 0009:trace:wininet:netconn_read read 0 bytes 0009:trace:wininet:refill_read_buffer read 0 bytes, read_size 0 0009:trace:wininet:HTTPREQ_QueryDataAvailable returning 0 0009:trace:wininet:WININET_Release object 0x17b420 refcount = 1 0009:trace:urlmon:protocol_continue available 0 bytes 0009:warn:urlmon:protocol_continue unexpected end of file? 0009:trace:urlmon:BPInternetProtocolSink_ReportResult (0x17a768)->(800c0008 0 (null)) 0009:trace:urlmon:ProtocolSinkHandler_ReportResult (0x17a768)->(800c0008 0 (null)) 0009:trace:urlmon:InternetProtocolSink_ReportResult (0x17a2f0)->(800c0008 0 (null)) 0009:trace:urlmon:BindProtocol_UnlockRequest (0x17a768) 0009:trace:urlmon:ProtocolHandler_UnlockRequest (0x17a768) 0009:trace:urlmon:HttpProtocol_UnlockRequest (0x17a910) 0009:trace:urlmon:BindStatusCallback_OnStopBinding (0x17a100)->(800c0008 (null)) 0009:trace:msxml:BindStatusCallback_OnStopBinding (0x17a0d8)->(0x800c0008 (null)) ---
http://bugs.winehq.org/show_bug.cgi?id=26339
ocean04@suomi24.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #7 from ocean04@suomi24.fi --- Recently fixed
https://bugs.winehq.org/show_bug.cgi?id=26339
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.15.