No Internet Connection - Uplay Anno 1602

Questions about Wine on macOS.
Locked
Chris89
Newbie
Newbie
Posts: 3
Joined: Wed Apr 08, 2020 11:09 am

No Internet Connection - Uplay Anno 1602

Post by Chris89 »

Hi guys,

I really need your help :(. I am quite new to Wine and not able to get the internet connection for a download within uplay running.
I am able to log-in and everything (so MacOS El Capitan has access to internet), but apparently some handshake through SSL is not working - at least this is my guess :). The error message in uplay is something like "can't start download - please check internet connection and that you have sufficient hard drive space".

See the log below:

Code: Select all

err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:heap:RtlSetHeapInformation 0x110000 0 0x33ece0 4 stub
fixme:ver:GetCurrentPackageId (0x33f64c 0x0): stub
fixme:winsock:WSAEnumNameSpaceProvidersW (0x32a324 0x33e078) Stub!
fixme:ver:GetCurrentPackageId (0x33f9b0 0x0): stub
fixme:process:SetProcessDEPPolicy (3): stub
fixme:heap:RtlSetHeapInformation 0x0 1 0x0 0 stub
fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented
fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x10196420, 0x12e62460, 0x12e92f08) stub.
fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenSessionId, ...) semi-stub
fixme:imm:ImmDisableTextFrameService Stub
fixme:nls:GetThreadPreferredUILanguages 00000038, 0xe7afc78, 0x0 0xe7afc7c
fixme:nls:get_dummy_preferred_ui_language (0x38 0xe7afc78 0x0 0xe7afc7c) returning a dummy value (current locale)
fixme:nls:GetThreadPreferredUILanguages 00000038, 0xe7afc78, 0x43c4620 0xe7afc7c
fixme:nls:get_dummy_preferred_ui_language (0x38 0xe7afc78 0x43c4620 0xe7afc7c) returning a dummy value (current locale)
fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenSessionId, ...) semi-stub
fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenSessionId, ...) semi-stub
fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenSessionId, ...) semi-stub
fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenSessionId, ...) semi-stub
fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenSessionId, ...) semi-stub
fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenSessionId, ...) semi-stub
fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenSessionId, ...) semi-stub
fixme:winsock:WSALookupServiceBeginW (0xe7af9f4 0x00000ff0 0xe7afa30) Stub!
[0408/090138:ERROR:network_change_notifier_win.cc(153)] WSALookupServiceBegin failed with: 8
fixme:iphlpapi:NotifyAddrChange (Handle 0xe7afb94, overlapped 0x43d0b70): stub
fixme:win:RegisterDeviceNotificationW (hwnd=0x30042, filter=0xe7afb68,flags=0x00000000) returns a fake device notification handle!
fixme:win:RegisterDeviceNotificationW (hwnd=0x30042, filter=0xe7afb68,flags=0x00000000) returns a fake device notification handle!
fixme:win:EnumDisplayDevicesW ((null),0,0xe7af5e4,0x00000000), stub!
fixme:ver:GetCurrentPackageId (0xfc5f758 0x0): stub
fixme:xinput:XInputGetState (index 0, state 0xe7af91c) Stub!
fixme:xinput:XInputGetStateEx (index 0, state 0xe7af89c) Stub!
fixme:win:RegisterRawInputDevices Unhandled flags 0x100 for device 0.
fixme:win:RegisterRawInputDevices Unhandled flags 0x100 for device 1.
fixme:win:RegisterRawInputDevices Unhandled flags 0x100 for device 2.
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ntdll:EtwRegisterTraceGuidsW (0x1019f800, 0x12e92f48, {3dada31d-19ef-4dc1-b345-037927193422}, 1, 0x12e624b4, (null), (null), 0x12e92f60): stub
fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {00000000-0000-0000-0000-000000000000}
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:heap:RtlSetHeapInformation 0x110000 0 0x33ece0 4 stub
fixme:process:SetProcessDEPPolicy (3): stub
fixme:heap:RtlSetHeapInformation 0x0 1 0x0 0 stub
fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x10196420, 0x12e62460, 0x12e92f08) stub.
fixme:ntdll:EtwRegisterTraceGuidsW (0x1019f800, 0x12e92f48, {3dada31d-19ef-4dc1-b345-037927193422}, 1, 0x12e624b4, (null), (null), 0x12e92f60): stub
fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {00000000-0000-0000-0000-000000000000}
fixme:gdi:GdiInitializeLanguagePack stub
[0408/090139:ERROR:renderer_main.cc(200)] Running without renderer sandbox
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:heap:RtlSetHeapInformation 0x110000 0 0x33ece0 4 stub
fixme:process:SetProcessDEPPolicy (3): stub
fixme:heap:RtlSetHeapInformation 0x0 1 0x0 0 stub
fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x10196420, 0x12e62460, 0x12e92f08) stub.
fixme:ntdll:EtwRegisterTraceGuidsW (0x1019f800, 0x12e92f48, {3dada31d-19ef-4dc1-b345-037927193422}, 1, 0x12e624b4, (null), (null), 0x12e92f60): stub
fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {00000000-0000-0000-0000-000000000000}
fixme:gdi:GdiInitializeLanguagePack stub
[0408/090139:ERROR:renderer_main.cc(200)] Running without renderer sandbox
fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported
fixme:winsock:set_dont_fragment IP_DONTFRAGMENT for IPv4 not supported in this platform
fixme:winsock:WSAIoctl ignoring keepalive interval
fixme:winsock:WSAIoctl ignoring keepalive interval
fixme:secur32:schan_get_cipher_algid Don't know CALG for encryption algorithm 4, returning 0
fixme:secur32:schan_imp_get_max_message_size Returning 1 << 14.
fixme:secur32:schan_get_cipher_algid Don't know CALG for encryption algorithm 4, returning 0
fixme:secur32:schan_imp_get_max_message_size Returning 1 << 14.
fixme:winsock:WSAIoctl ignoring keepalive interval
err:secur32:schan_imp_handshake Handshake failed: -9836
SSLHandshake: bad protocol version
fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x10091009, 0000: semi-stub!
fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x10091009, 0000: semi-stub!
fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x10091009, 0000: semi-stub!
fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x10091009, 0000: semi-stub!
fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x10091009, 0000: semi-stub!
fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x10091009, 0000: semi-stub!
fixme:winsock:WSAIoctl ignoring keepalive interval
err:secur32:schan_imp_handshake Handshake failed: -9820
SSLHandshake: bad MAC
I already tried some options that I found in the forum, such as "winetricks corefonts" and "wininet".

Any idea what I could do?

Let me know if you need any additional info?

Thanks,
Chris
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: No Internet Connection - Uplay Anno 1602

Post by Gcenx »

Winehq releases aren't built with gnutls support that’s required for SSL connections.

You’ll need to compile wine from source with this support,
If your running 10.9>10.14 I do have a GitHub repository with a macports overlay that will let your build current wine with gnutls and other features missing from the winehq builds

macports-wine
Chris89
Newbie
Newbie
Posts: 3
Joined: Wed Apr 08, 2020 11:09 am

Re: No Internet Connection - Uplay Anno 1602

Post by Chris89 »

Hi Gcenx,
Thanks so much for the quick reply :)!
This sounds great, but I honestly don't know how to use it. Do I have to install Macports first? (I assume I have to homebrew first?)
Chris89
Newbie
Newbie
Posts: 3
Joined: Wed Apr 08, 2020 11:09 am

Re: No Internet Connection - Uplay Anno 1602

Post by Chris89 »

Finally, I was able to set it up. Unfortunately, the download still does not work.

Code: Select all

007e:fixme:gdi:GdiInitializeLanguagePack stub
003c:fixme:ras:RasEnumConnectionsW (08CDDE10,0538FB88,0B550004),stub!
003c:fixme:ras:RasEnumConnectionsW RAS support is not implemented! Configure program to use LAN connection/winsock instead!
003a:fixme:winsock:WSAIoctl ignoring keepalive interval
005e:fixme:ntdll:EtwUnregisterTraceGuids deadbeef: stub
005e:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
003a:fixme:winsock:WSAIoctl ignoring keepalive interval
003a:fixme:secur32:schan_imp_get_max_message_size Returning 1 << 14.
003a:fixme:winsock:WSAIoctl ignoring keepalive interval
003a:fixme:secur32:schan_get_cipher_algid Don't know CALG for encryption algorithm 4, returning 0
003a:fixme:secur32:schan_imp_get_max_message_size Returning 1 << 14.
0009:fixme:shell:IShellBrowser_fnOnViewWindowActive stub, 0xab2c80 (0xd02a90)
0009:fixme:exec:SHELL_execute flags ignored: 0x0000000c
0009:fixme:ntdll:FILE_GetNtStatus Converting errno 8 to STATUS_UNSUCCESSFUL
0095:fixme:esync:do_esync eventfd not supported on this platform.
0039:fixme:winsock:WSAIoctl ignoring keepalive interval
0039:fixme:secur32:schan_imp_get_max_message_size Returning 1 << 14.
003c:fixme:ras:RasEnumConnectionsW (08CDDE10,0538FB88,0B550004),stub!
003c:fixme:ras:RasEnumConnectionsW RAS support is not implemented! Configure program to use LAN connection/winsock instead!
Any ideas? Thanks!
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: No Internet Connection - Uplay Anno 1602

Post by Gcenx »

You need to build wine from source with gnutls to get RSA support, Winehq macOS releases aren't built with gnutls. Or use my Portfiles with macports to build wine with gnutls support.

Wine-4.17 added RSA key support.
Locked