http://bugs.winehq.org/show_bug.cgi?id=34540
Bug #: 34540 Summary: THS (Chinese name is 同花顺) cannot connect internet and QQgame cannot download any files Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wininet AssignedTo: wine-bugs@winehq.org ReportedBy: hillwoodroc@gmail.com Classification: Unclassified
Use winetricks to install wininet can fix it.
http://bugs.winehq.org/show_bug.cgi?id=34540
--- Comment #1 from Austin English austinenglish@gmail.com 2013-09-17 13:29:53 CDT --- Please attach a +wininet trace (using builtin).
http://bugs.winehq.org/show_bug.cgi?id=34540
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://zjcmpp.hexin.com.cn/ | |soft/THS_insoft.exe CC| |dank@kegel.com Summary|THS (Chinese name is 同花顺) |THS (Chinese name is 同花顺) |cannot connect internet and |cannot connect internet |QQgame cannot download any | |files |
--- Comment #2 from Dan Kegel dank@kegel.com 2013-09-17 22:45:05 CDT --- Also, this might be two separate bugs. Let's make this about THS; you should open a separate bug for QQGame unless you're quite sure the underlying cause is the same.
The sha1sum of the app is said to be 7af2000ffdc6fa68450065101e089e61f80ddff8.
Finally, what version of Wine are you using?
http://bugs.winehq.org/show_bug.cgi?id=34540
fangpeishi fangpeishi@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fangpeishi@gmail.com
--- Comment #3 from fangpeishi fangpeishi@gmail.com --- Confimed on wine 1.7.11, THS_v8.30.92_20131209 .
http://bugs.winehq.org/show_bug.cgi?id=34540
--- Comment #4 from fangpeishi fangpeishi@gmail.com --- Created attachment 47321 --> http://bugs.winehq.org/attachment.cgi?id=47321 relay-wininet-tid
https://bugs.winehq.org/show_bug.cgi?id=34540
simon xia simonxiaomg@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |simonxiaomg@gmail.com
--- Comment #5 from simon xia simonxiaomg@gmail.com --- This bug is caused by wininet.dll doesn't support 'Accept-encoding' field in HTTP1.0 request.
And the same bug(https://bugs.winehq.org/show_bug.cgi?id=37046) caused by this issue has been fixed
Although rfc2616 has mentioned (http://tools.ietf.org/html/rfc2616#section-14.3)
Note: Most HTTP/1.0 applications do not recognize or obey qvalues
associated with content-codings. This means that qvalues will not work and are not permitted with x-gzip or x-compress.
But native dll allow this to happen
https://bugs.winehq.org/show_bug.cgi?id=34540
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=34540
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #6 from Jacek Caban jacek@codeweavers.com --- Bug 37046 has been fixed, please retest.
https://bugs.winehq.org/show_bug.cgi?id=34540
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |focht@gmx.net Version|unspecified |1.7.11 Resolution|--- |DUPLICATE Summary|THS (Chinese name is 同花顺) |THS v8.x (Chinese name is |cannot connect internet |同花顺) cannot connect | |internet
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
works fine here.
--- snip --- 002a:trace:wininet:InternetOpenA ("TestDNS", 0x00000000, "", (null), 0x04000000) 002a:trace:wininet:InternetOpenW (L"TestDNS", 0, L"", (null), 67108864) 002a:trace:wininet:InternetOpenW access type : INTERNET_OPEN_TYPE_PRECONFIG 002a:trace:wininet:InternetOpenW flags : INTERNET_FLAG_NO_CACHE_WRITE ... 002a:trace:wininet:InternetConnectW (0x1, L"220.189.211.17", 80, (null), (nil), 3, 0, 1) ... 002a:trace:wininet:InternetConnectW returning 0x2 002a:trace:wininet:HttpOpenRequestA (0x2, "GET", "/DNSTest.xml", "HTTP/1.0", (null), (nil), 24080000, 00000001) 002a:trace:wininet:HttpOpenRequestW (0x2, L"GET", L"/DNSTest.xml", L"HTTP/1.0", (null), (nil), 24080000, 00000001) ... 002a:trace:wininet:HttpOpenRequestW returning 0x3 ... 002d:trace:wininet:HttpSendRequestW 0x3, L"Accept-Encoding: gzip, deflate\r\nHost: 10jqka.com.cn\r\nAccept: */*\r\n", 66, (nil), 0) ... 002d:trace:wininet:HTTP_ProcessHeader --> L"Host": L"220.189.211.17" - 0x12000000 002d:trace:wininet:HTTP_GetCustomHeaderIndex L"Host", 0, 1 002d:trace:wininet:HTTP_GetCustomHeaderIndex Return: -1 002d:trace:wininet:HTTP_InsertCustomHeader --> L"Host": L"220.189.211.17" 002d:trace:wininet:HTTP_HttpAddRequestHeadersW copying header: L"User-Agent: TestDNS\r\n" 002d:trace:wininet:HTTP_HttpAddRequestHeadersW interpreting header L"User-Agent: TestDNS" 002d:trace:wininet:HTTP_InterpretHttpHeader field(L"User-Agent") Value(L"TestDNS") 002d:trace:wininet:HTTP_ProcessHeader --> L"User-Agent": L"TestDNS" - 0x12000000 002d:trace:wininet:HTTP_GetCustomHeaderIndex L"User-Agent", 0, 1 002d:trace:wininet:HTTP_GetCustomHeaderIndex Return: -1 002d:trace:wininet:HTTP_InsertCustomHeader --> L"User-Agent": L"TestDNS" 002d:trace:wininet:HTTP_HttpAddRequestHeadersW interpreting header L"" 002d:trace:wininet:HTTP_HttpAddRequestHeadersW copying header: L"Accept-Encoding: gzip, deflate\r\nHost: 10jqka.com.cn\r\nAccept: */*\r\n" 002d:trace:wininet:HTTP_HttpAddRequestHeadersW interpreting header L"Accept-Encoding: gzip, deflate" 002d:trace:wininet:HTTP_InterpretHttpHeader field(L"Accept-Encoding") Value(L"gzip, deflate") 002d:trace:wininet:HTTP_ProcessHeader --> L"Accept-Encoding": L"gzip, deflate" - 0xa2000000 002d:trace:wininet:HTTP_GetCustomHeaderIndex L"Accept-Encoding", 0, 1 002d:trace:wininet:HTTP_GetCustomHeaderIndex Return: -1 002d:trace:wininet:HTTP_InsertCustomHeader --> L"Accept-Encoding": L"gzip, deflate" 002d:trace:wininet:HTTP_HttpAddRequestHeadersW interpreting header L"" 002d:trace:wininet:HTTP_HttpAddRequestHeadersW interpreting header L"Host: 10jqka.com.cn" 002d:trace:wininet:HTTP_InterpretHttpHeader field(L"Host") Value(L"10jqka.com.cn") 002d:trace:wininet:HTTP_ProcessHeader --> L"Host": L"10jqka.com.cn" - 0xa2000000 002d:trace:wininet:HTTP_GetCustomHeaderIndex L"Host", 0, 1 002d:trace:wininet:HTTP_GetCustomHeaderIndex Return: 0 002d:trace:wininet:HTTP_InsertCustomHeader --> L"Host": L"10jqka.com.cn" 002d:trace:wininet:HTTP_HttpAddRequestHeadersW interpreting header L"" 002d:trace:wininet:HTTP_HttpAddRequestHeadersW interpreting header L"Accept: */*" 002d:trace:wininet:HTTP_InterpretHttpHeader field(L"Accept") Value(L"*/*") 002d:trace:wininet:HTTP_ProcessHeader --> L"Accept": L"*/*" - 0xa2000000 002d:trace:wininet:HTTP_GetCustomHeaderIndex L"Accept", 0, 1 002d:trace:wininet:HTTP_GetCustomHeaderIndex Return: -1 002d:trace:wininet:HTTP_InsertCustomHeader --> L"Accept": L"*/*" 002d:trace:wininet:HTTP_HttpAddRequestHeadersW interpreting header L"" 002d:trace:wininet:HTTP_GetCustomHeaderIndex L"Host", 0, 1 002d:trace:wininet:HTTP_GetCustomHeaderIndex Return: 2 002d:trace:wininet:HTTP_HttpSendRequestW Going to url L"10jqka.com.cn" L"/DNSTest.xml" 002d:trace:wininet:HTTP_GetCustomHeaderIndex L"Host", 0, 1 002d:trace:wininet:HTTP_GetCustomHeaderIndex Return: 2 002d:trace:wininet:retrieve_cached_basic_authorization Looking for authorization for L"10jqka.com.cn":(null) 002d:trace:wininet:INTERNET_SendCallback callback(0xc17294) (0x3 (0x145c08), 00000001, 10 (INTERNET_STATUS_RESOLVING_NAME), 0x140ad8, 15) 002d:trace:wininet:INTERNET_SendCallback end callback(). 002d:trace:wininet:GetAddress L"220.189.211.17" 002d:trace:wininet:INTERNET_SendCallback callback(0xc17294) (0x3 (0x145c08), 00000001, 11 (INTERNET_STATUS_NAME_RESOLVED), 0x140ad8, 15) 002d:trace:wininet:INTERNET_SendCallback end callback(). 002d:trace:wininet:HTTP_ResolveName resolved L"220.189.211.17" to 220.189.211.17 002d:trace:wininet:open_http_connection connecting to L"220.189.211.17", proxy (null) 002d:trace:wininet:INTERNET_SendCallback callback(0xc17294) (0x3 (0x145c08), 00000001, 20 (INTERNET_STATUS_CONNECTING_TO_SERVER), 0x140ad8, 15) 002d:trace:wininet:INTERNET_SendCallback end callback(). 002d:trace:wininet:INTERNET_SendCallback callback(0xc17294) (0x3 (0x145c08), 00000001, 21 (INTERNET_STATUS_CONNECTED_TO_SERVER), 0x13ca48, 15) 002d:trace:wininet:INTERNET_SendCallback end callback(). 002d:trace:wininet:open_http_connection Created connection to L"220.189.211.17": 0x144100 002d:trace:wininet:build_request_header Adding custom header L"User-Agent" (L"TestDNS") 002d:trace:wininet:build_request_header Adding custom header L"Accept-Encoding" (L"gzip, deflate") 002d:trace:wininet:build_request_header Adding custom header L"Host" (L"10jqka.com.cn") 002d:trace:wininet:build_request_header Adding custom header L"Accept" (L"*/*") 002d:trace:wininet:HTTP_HttpSendRequestW Request header -> L"GET /DNSTest.xml HTTP/1.0\r\nUser-Agent: TestDNS\r\nAccept-Encoding: gzip, deflate\r\nHost: 10jqka.com.cn\r\nAccept: */*\r\n\r\n" 002d:trace:wininet:HTTP_HttpSendRequestW full request -> "GET /DNSTest.xml HTTP/1.0\r\nUser-Agent: TestDNS\r\nAccept-Encoding: gzip, deflate\r\nHost: 10jqka.com.cn\r\nAccept: */*\r\n\r\n" 002d:trace:wininet:INTERNET_SendCallback callback(0xc17294) (0x3 (0x145c08), 00000001, 30 (INTERNET_STATUS_SENDING_REQUEST), (nil), 0) 002d:trace:wininet:INTERNET_SendCallback end callback(). 002d:trace:wininet:INTERNET_SendCallback callback(0xc17294) (0x3 (0x145c08), 00000001, 31 (INTERNET_STATUS_REQUEST_SENT), 0x1dad404, 4) 002d:trace:wininet:INTERNET_SendCallback end callback(). 002d:trace:wininet:INTERNET_SendCallback callback(0xc17294) (0x3 (0x145c08), 00000001, 40 (INTERNET_STATUS_RECEIVING_RESPONSE), (nil), 0) 002d:trace:wininet:INTERNET_SendCallback end callback(). 002d:trace:wininet:HTTP_GetResponseHeaders --> --- snip ---
Based on the comments resolving as dupe of bug 37046
https://www.virustotal.com/en/file/c689041850ca19c4071126e9e6eacd7585ce4eec2...
$ sha1sum THS_insoft.exe 0ad2f4468a7cc7ef586d8c20863ffd4d12d0798d THS_insoft.exe
$ du -sh THS_insoft.exe 20M THS_insoft.exe
$ wine --version wine-1.7.54-212-gf97ac58
Regards
*** This bug has been marked as a duplicate of bug 37046 ***
https://bugs.winehq.org/show_bug.cgi?id=34540
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Austin English austinenglish@gmail.com --- Closing.