https://bugs.winehq.org/show_bug.cgi?id=43676
Bug ID: 43676 Summary: Hitman(TM) requires session_set_option - option 84 Product: Wine Version: 2.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winhttp Assignee: wine-bugs@winehq.org Reporter: byi5000@gmail.com Distribution: ---
This missing option prevents Hitman(tm) from accessing online features
fixme:winhttp:session_set_option unimplemented option 84
https://bugs.winehq.org/show_bug.cgi?id=43676
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|winhttp |-unknown
--- Comment #1 from Hans Leidekker hans@meelstraat.net --- Can you attach a +winhttp,+seh,+tid trace?
https://bugs.winehq.org/show_bug.cgi?id=43676
--- Comment #2 from BieHDC byi5000@gmail.com --- Created attachment 59123 --> https://bugs.winehq.org/attachment.cgi?id=59123 the +winhttp,+seh,+tid trace
6,9mb unpacked The trace involved starting steam, starting the game, press retry on connect multible times, go offline (bypasses this), loading into a game (because you dont have an option to close it from the menu), closing the game, closing steam The first connection attempt by the game is at line 40603
https://bugs.winehq.org/show_bug.cgi?id=43676
--- Comment #3 from Hans Leidekker hans@meelstraat.net --- Created attachment 59148 --> https://bugs.winehq.org/attachment.cgi?id=59148 patch
00dd:trace:winhttp:netconn_secure_connect sending 142 bytes 00dd:warn:winhttp:netconn_secure_connect recv error 00dd:warn:winhttp:netconn_secure_connect Failed to initialize security context failed: 00002f7d
Can you attach another log with this patch applied? What's the output of the following command on your machine?
$ wget https://config.hitman.io:443/config/pc-prod/6_70_0?issuer=649780
https://bugs.winehq.org/show_bug.cgi?id=43676
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #59148|0 |1 is obsolete| |
--- Comment #4 from Hans Leidekker hans@meelstraat.net --- Created attachment 59149 --> https://bugs.winehq.org/attachment.cgi?id=59149 patch
Try this patch instead. If it still fails, please attach a +winhttp,+secur32,+seh,+tid trace.
https://bugs.winehq.org/show_bug.cgi?id=43676
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=43676
--- Comment #5 from BieHDC byi5000@gmail.com --- Created attachment 59151 --> https://bugs.winehq.org/attachment.cgi?id=59151 wget output
(In reply to Hans Leidekker from comment #3)
Created attachment 59148 [details] patch
00dd:trace:winhttp:netconn_secure_connect sending 142 bytes 00dd:warn:winhttp:netconn_secure_connect recv error 00dd:warn:winhttp:netconn_secure_connect Failed to initialize security context failed: 00002f7d
Can you attach another log with this patch applied? What's the output of the following command on your machine?
$ wget https://config.hitman.io:443/config/pc-prod/6_70_0?issuer=649780
wget https://config.hitman.io:443/config/pc-prod/6_70_0?issuer=649780 --2017-09-11 17:04:06-- https://config.hitman.io/config/pc-prod/6_70_0?issuer=649780 Auflösen des Hostnamen »config.hitman.io (config.hitman.io)«... 104.40.187.26 Verbindungsaufbau zu config.hitman.io (config.hitman.io)|104.40.187.26|:443... verbunden. HTTP-Anforderung gesendet, warte auf Antwort... 200 OK Länge: 1021 [application/json] In »»6_70_0?issuer=649780«« speichern.
100%[======================================>] 1.021 --.-K/s in 0s
2017-09-11 17:04:07 (101 MB/s) - »6_70_0?issuer=649780« gespeichert [1021/1021]
##creates file: 6_70_0?issuer=649780
https://bugs.winehq.org/show_bug.cgi?id=43676
--- Comment #6 from BieHDC byi5000@gmail.com --- (In reply to Hans Leidekker from comment #4)
Created attachment 59149 [details] patch
Try this patch instead. If it still fails, please attach a +winhttp,+secur32,+seh,+tid trace.
can you throw this over to https://dev.wine-staging.com/ Sebastian did that once for me as it is more secure against errors at my side. He just let the build bot build a custom wine-staging and i downloaded the deb files. or can i do it myself if i sign up for an account?
https://bugs.winehq.org/show_bug.cgi?id=43676
--- Comment #7 from Hans Leidekker hans@meelstraat.net --- Patch committed as 2b77b0bb6b220979278bc4153d0fa854f8eeb5e7. Please test.
https://bugs.winehq.org/show_bug.cgi?id=43676
BieHDC byi5000@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #59123|0 |1 is obsolete| |
--- Comment #8 from BieHDC byi5000@gmail.com --- Created attachment 59220 --> https://bugs.winehq.org/attachment.cgi?id=59220 log with +winhttp,+secur32,+seh,+tid
still fails with wine-2.17-staging. firewall is turned off just to make sure.
https://bugs.winehq.org/show_bug.cgi?id=43676
--- Comment #9 from Hans Leidekker hans@meelstraat.net --- (In reply to BieHDC from comment #8)
Created attachment 59220 [details] log with +winhttp,+secur32,+seh,+tid
still fails with wine-2.17-staging. firewall is turned off just to make sure.
I can make a secure connection to config.hitman.io with this hacked up version of the winhttp test. Can you run it like this and report back?
$ WINEDEBUG=+winhttp,+secur32,+seh,+tid wine winhttp_crosstest.exe winhttp
What version of GnuTLS are you using?
https://bugs.winehq.org/show_bug.cgi?id=43676
--- Comment #10 from Hans Leidekker hans@meelstraat.net --- Created attachment 59222 --> https://bugs.winehq.org/attachment.cgi?id=59222 hacked winhttp test
https://bugs.winehq.org/show_bug.cgi?id=43676
--- Comment #11 from BieHDC byi5000@gmail.com --- Created attachment 59223 --> https://bugs.winehq.org/attachment.cgi?id=59223 the requested log
has 4 fails
https://bugs.winehq.org/show_bug.cgi?id=43676
--- Comment #12 from BieHDC byi5000@gmail.com --- Created attachment 59224 --> https://bugs.winehq.org/attachment.cgi?id=59224 gnutls version
this is Linux Mint 17.3 4.4.0-72-generic #93~14.04.1-Ubuntu SMP Fri Mar 31 15:05:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
https://bugs.winehq.org/show_bug.cgi?id=43676
--- Comment #13 from Hans Leidekker hans@meelstraat.net --- (In reply to BieHDC from comment #12)
Created attachment 59224 [details] gnutls version
this is Linux Mint 17.3 4.4.0-72-generic #93~14.04.1-Ubuntu SMP Fri Mar 31 15:05:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Not sure what that screenshot means but it looks like you might be using libgnutls26. Your log output from gnutls is different from mine (libgnutls28) in any case. You could try removing old versions temporarily.
https://bugs.winehq.org/show_bug.cgi?id=43676
--- Comment #14 from BieHDC byi5000@gmail.com --- if i attempt to remove libgnutls26, linux mint would basically remove my whole desktop environment
https://bugs.winehq.org/show_bug.cgi?id=43676
--- Comment #15 from BieHDC byi5000@gmail.com --- (In reply to BieHDC from comment #14)
if i attempt to remove libgnutls26, linux mint would basically remove my whole desktop environment
edit: i just ran it over at my antergos installation, it succeeds with no errors. gnutls version is 3.5.15-1 so i think this issue will end with wine requiring at least libgnutls version 2.8? linux mint has the libgnutls 2.8 package but defaults to 2.6
https://bugs.winehq.org/show_bug.cgi?id=43676
--- Comment #16 from Hans Leidekker hans@meelstraat.net --- (In reply to BieHDC from comment #14)
if i attempt to remove libgnutls26, linux mint would basically remove my whole desktop environment
You're running a 64-bit OS, right? You would only need to remove old 32-bit versions of gnutls.
https://bugs.winehq.org/show_bug.cgi?id=43676
--- Comment #17 from Hans Leidekker hans@meelstraat.net --- (In reply to BieHDC from comment #15)
(In reply to BieHDC from comment #14)
if i attempt to remove libgnutls26, linux mint would basically remove my whole desktop environment
edit: i just ran it over at my antergos installation, it succeeds with no errors. gnutls version is 3.5.15-1 so i think this issue will end with wine requiring at least libgnutls version 2.8? linux mint has the libgnutls 2.8 package but defaults to 2.6
I think so, yes.
https://bugs.winehq.org/show_bug.cgi?id=43676
--- Comment #18 from BieHDC byi5000@gmail.com --- (In reply to Hans Leidekker from comment #16)
(In reply to BieHDC from comment #14)
if i attempt to remove libgnutls26, linux mint would basically remove my whole desktop environment
You're running a 64-bit OS, right? You would only need to remove old 32-bit versions of gnutls.
there is no 32-bit version of gnutls installed according to synaptic
https://bugs.winehq.org/show_bug.cgi?id=43676
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #19 from joaopa jeremielapuree@yahoo.fr --- What about this bug, Hans? It looks like you fixed it, right? Only is new gnutls recquired?
https://bugs.winehq.org/show_bug.cgi?id=43676
--- Comment #20 from Hans Leidekker hans@meelstraat.net --- (In reply to joaopa from comment #19)
What about this bug, Hans? It looks like you fixed it, right? Only is new gnutls recquired?
Yes, it's fixed with 2b77b0bb6b220979278bc4153d0fa854f8eeb5e7. Before this patch we'd use the default enabled protocols, which are intersected with the GnuTLS supported protocols. After this patch we pass the application specified list of protocols to GnuTLS, which may return an error if it can't support the priority string we built from it.
https://bugs.winehq.org/show_bug.cgi?id=43676
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winhttp
https://bugs.winehq.org/show_bug.cgi?id=43676
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |2b77b0bb6b220979278bc4153d0 | |fa854f8eeb5e7
--- Comment #21 from Hans Leidekker hans@meelstraat.net --- Fixed with 2b77b0bb6b220979278bc4153d0fa854f8eeb5e7.
https://bugs.winehq.org/show_bug.cgi?id=43676
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #22 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.0-rc2.