[Bug 43783] Cannot activate Office2013 (KMS nor MAK)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon May 21 17:28:08 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=43783

--- Comment #15 from Luiz Angelo Daros De Luca <luizluca at gmail.com> ---
Created attachment 61468
  --> https://bugs.winehq.org/attachment.cgi?id=61468
Wine Logs (extra debug) since prefix creation, while being socksified, proxy
env unset, proxy detection disabled on registry

I just tested again with a recent wine (3.7). It seems that CA is now working
but I still cannot activate. I get 0x80072EE7 error.

Something seems to be wrong here:

008e:trace:winhttp:WinHttpSendRequest 0x3, L"SOAPAction:
\"http://microsoft.com/SL/ProductActivationService/IssueToken\"\r\nContent-Type:
text/xml; charset=utf-8\r\n", 114, 14628, 14628, 0
...
008e:trace:winhttp:process_header L"Host": L"activation.sls.microsoft.com"
0x10000000
008e:trace:winhttp:get_header_index L"Host"
008e:trace:winhttp:get_header_index returning -1
...
008e:trace:winhttp:resolve_hostname failed to get IPv4 address of L"" (Name or
service not known), retrying with IPv6
008e:trace:winhttp:resolve_hostname failed to get address of L"" (Name or
service not known)

Maybe it is the get_header_index (returning -1?). It might explain why it tried
to resolve "".

BTW, that hostname do resolve nicely:

$ host activation.sls.microsoft.com
activation.sls.microsoft.com is an alias for activation.sls.trafficmanager.net.
activation.sls.trafficmanager.net has address 65.52.98.231

BTW, I managed to disable proxy and allow Office to talk directly to internet.
Without disabling Proxy, wine simply crash and burn.

In order to disable Proxy, I need to:

1) unset all proxy env vars (http_proxy= https_proxy=)
2) copy HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\Connections\DefaultConnectionSettings from a Windows with disable
proxy detection
3) run socksified wine (either redsocks or proxychains work)

Proxy usage is no fun with Wine. It is detected by default, broken (at least
for this case), and very complicated to disable. It would be nice to have a tab
in winecfg for proxy settings.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list