https://bugs.winehq.org/show_bug.cgi?id=42677
Bug ID: 42677 Summary: [Black Desert Online] - An error occurred while downloading file. (errorcode : 12006) Product: Wine Version: 2.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: jason.bagavatsingham@gmail.com Distribution: ---
Created attachment 57633 --> https://bugs.winehq.org/attachment.cgi?id=57633 Wine log +wininet
*Found:* After opening the Launcher for Black Desert Online user is presented with the following error message: "An error occurred while downloading file. (errorcode : 12006)". Dismissing the prompt closes the launcher.
*Steps to reproduce:* 1. Download the latest Black Desert Online Installer (akamai-gamecdn.blackdesertonline.com/live001/game/download/setup/BlackDesertOnlineSetup_20170227_1013.exe). 2. Launch the installer and proceed through the install wizard (WINEARCH=win32 WINEPREFIX=~/.wine32 wine BlackDesertOnlineSetup_20170227_1013.exe). 3. Observe the Launcher upon completion of the Wizard.
*Actual Results:* User is presented with an error message and game downloads stops.
*Expected Results:* No errors occur and game data downloads.
*Reproduction Rate:* 5/5.
*Notes:* On occasion the Launcher will begin to download the games Binaries, but always fails when attempting to fetch BlackDesertOnline369.bcab (akamai-gamecdn.blackdesertonline.com//live001/game/download/059/BlackDesertOnline369.bcab). See game log.
*Environment:* wine-2.3
https://bugs.winehq.org/show_bug.cgi?id=42677
--- Comment #1 from Jason Bagavatsingham jason.bagavatsingham@gmail.com --- Created attachment 57634 --> https://bugs.winehq.org/attachment.cgi?id=57634 Game Log
https://bugs.winehq.org/show_bug.cgi?id=42677
--- Comment #2 from Jason Bagavatsingham jason.bagavatsingham@gmail.com --- Created attachment 57635 --> https://bugs.winehq.org/attachment.cgi?id=57635 Error message
https://bugs.winehq.org/show_bug.cgi?id=42677
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com --- How long do you have to wait for the error? The downloader wants to download 48Gb :-/
The importance field refers to how much Wine is affected, not the application. A problem in a single application is considered normal importance.
I can see the libcef problems too.
https://bugs.winehq.org/show_bug.cgi?id=42677
--- Comment #4 from Jason Bagavatsingham jason.bagavatsingham@gmail.com --- (In reply to Bruno Jesus from comment #3)
How long do you have to wait for the error? The downloader wants to download 48Gb :-/
Issue occurs instantly upon opening the launcher.
The importance field refers to how much Wine is affected, not the application. A problem in a single application is considered normal importance.
I can see the libcef problems too.
Thanks. I will keep that in mind moving forward.
https://bugs.winehq.org/show_bug.cgi?id=42677
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Jason Bagavatsingham from comment #4)
(In reply to Bruno Jesus from comment #3)
How long do you have to wait for the error? The downloader wants to download 48Gb :-/
Issue occurs instantly upon opening the launcher.
I see, for me the first 600Mb were downloaded without problems, I cancelled then. The installer I used was from comment 0, sha1sum: 6ce8c05aec6de2499afe714f314178c879a47a53 BlackDesertOnlineSetup_20170227_1013.exe
https://bugs.winehq.org/show_bug.cgi?id=42677
--- Comment #6 from Jason Bagavatsingham jason.bagavatsingham@gmail.com --- (In reply to Bruno Jesus from comment #5)
(In reply to Jason Bagavatsingham from comment #4)
(In reply to Bruno Jesus from comment #3)
How long do you have to wait for the error? The downloader wants to download 48Gb :-/
Issue occurs instantly upon opening the launcher.
I see, for me the first 600Mb were downloaded without problems, I cancelled then. The installer I used was from comment 0, sha1sum: 6ce8c05aec6de2499afe714f314178c879a47a53 BlackDesertOnlineSetup_20170227_1013.exe
Was the installer you ran in a clean 32-bit prefix or was something else installed on it?
I'm going to setup a secondary machine and try and see if I can get either of our results.
https://bugs.winehq.org/show_bug.cgi?id=42677
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://akamai-gamecdn.black | |desertonline.com/game/downl | |oad/setup/BlackDesertOnline | |Setup_20180524_10010.exe CC| |focht@gmx.net Component|-unknown |winhttp Keywords| |download Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Summary|[Black Desert Online] - An |Black Desert Online |error occurred while |launcher fails to |downloading file. |download/update files, |(errorcode : 12006) |reports "An error occurred | |while downloading file. | |(errorcode : 12006 or | |13403)"
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming. I think the client has evolved, now suffering from additional bugs.
https://www.blackdesertonline.com/download
http://akamai-gamecdn.blackdesertonline.com/game/download/setup/BlackDesertO...
There is a black user interface overlay in launcher and the CEF gpu process crashes due to bug 44985 Removing/disabling of 'libGLESv2.dll' ('WINEDLLOVERRIDES=libglesv2.dll=d') partially works around (still one non-fatal crash). After login the client immediately starts the download and fails - but with error code 13403. The originally reported error 12006 was likely due to old client version.
'launcher_xxx.log'
--- snip --- [10/02/2018::02:20:56] [MSG] DaumGame Global Launcher is started. (B92B14306AE44C5EA23F84403C069029) [10/02/2018::02:20:56] [MSG] Launcher version is 1.0.4.1 [10/02/2018::02:20:56] [MSG] bReturn is 1 [10/02/2018::02:20:57] [MSG] Action manager ACT_WAIT flow start. [10/02/2018::02:21:17] [MSG] Action manager ACT_INIT flow start. [10/02/2018::02:21:18] [MSG] Get required data is start. [10/02/2018::02:21:19] [MSG] Get required data is end. [10/02/2018::02:21:19] [MSG] Check NeedReinstall . [10/02/2018::02:21:19] [MSG] local version file not exist [10/02/2018::02:21:19] [MSG] Check installed. [10/02/2018::02:21:19] [MSG] Required files is not to directory. [10/02/2018::02:21:19] [MSG] Action manager ACT_INIT flow end. [10/02/2018::02:21:20] [MSG] Action manager ACT_CONFIG flow start. [10/02/2018::02:21:21] [MSG] BCAD action is start. [10/02/2018::02:21:21] [MSG] akamai-gamecdn.blackdesertonline.com [10/02/2018::02:21:21] [MSG] /live001/game/download/132/BlackDesertOnline894.bcab [10/02/2018::02:21:21] [MSG] An error occurred while downloading file. (errorcode : 13403) --- snip ---
Trace log:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files (x86)/Black Desert Online
$ WINEDEBUG=+seh,+relay,+winhttp WINEDLLOVERRIDES=libglesv2.dll=d wine ./Black\ Desert\ Online\ Launcher.exe >>log.txt 2>&1 ... 0067:Call winhttp.WinHttpOpen(00643210 L"BlackDesertOnline HTTP Client/1.0",00000000,00000000,00000000,00000000) ret=0046b9ba ... 0067:Call winhttp.WinHttpConnect(00000001,047f3fd8 L"akamai-gamecdn.blackdesertonline.com",00000050,00000000) ret=0046b9f0 0067:trace:winhttp:WinHttpConnect 0x1, L"akamai-gamecdn.blackdesertonline.com", 80, 0 ... 0067:Call winhttp.WinHttpOpenRequest(00000002,0064328c L"GET",0508ec74 L"/live001/game/download/132/BlackDesertOnline894.bcab?begin=0&end=12&hdnts=st=1538439676~exp=1538440576~acl=/live001/game/download/*!/live001/game/patch/*~hmac=f0ed2cc310c13f525ec4fb03e8da2dbd0559a8f3fb630e369ddd9ad58ba99d44",00000000,00000000,00000000,00000100) ret=0046baae ... 0067:trace:winhttp:WinHttpSendRequest 0x3, (null), 0, 0, 0, 0 0067:trace:winhttp:addref_object 0x4807cc8 -> refcount = 2 0067:trace:winhttp:grab_object handle 0x3 -> 0x4807cc8 0067:trace:winhttp:process_header L"User-Agent": L"BlackDesertOnline HTTP Client/1.0" 0x10000000 0067:trace:winhttp:get_header_index L"User-Agent" 0067:trace:winhttp:get_header_index returning -1 ... 0067:trace:winhttp:process_header L"Host": L"akamai-gamecdn.blackdesertonline.com" 0x10000000 0067:trace:winhttp:get_header_index L"Host" 0067:trace:winhttp:get_header_index returning -1 ... 0067:trace:winhttp:process_header L"Connection": L"Keep-Alive" 0x10000000 0049:Ret KERNEL32.GetTickCount() retval=00db0a1c ret=101011b3 0067:trace:winhttp:get_header_index L"Connection" 0049:Call KERNEL32.GetLastError() ret=100dd333 0067:trace:winhttp:get_header_index returning -1 0049:Ret KERNEL32.GetLastError() retval=00000000 ret=100dd333 0067:Call ntdll.RtlReAllocateHeap(00110000,00000008,002148f0,00000024) ret=7e25c554 0067:trace:winhttp:process_header L"Pragma": L"no-cache" 0x10000000 0067:trace:winhttp:get_header_index L"Pragma" 0067:trace:winhttp:get_header_index returning -1 0067:trace:winhttp:process_header L"Cache-Control": L"no-cache" 0x10000000 0067:trace:winhttp:get_header_index L"Cache-Control" 0067:trace:winhttp:get_header_index returning -1 ... 0067:trace:winhttp:build_request_string adding header L"User-Agent" (L"BlackDesertOnline HTTP Client/1.0") 0067:trace:winhttp:build_request_string adding header L"Host" (L"akamai-gamecdn.blackdesertonline.com") 0067:trace:winhttp:build_request_string adding header L"Connection" (L"Keep-Alive") 0067:trace:winhttp:build_request_string adding header L"Pragma" (L"no-cache") 0067:trace:winhttp:build_request_string adding header L"Cache-Control" (L"no-cache") ... 0067:trace:winhttp:send_request full request: "GET /live001/game/download/132/BlackDesertOnline894.bcab?begin=0&end=12&hdnts=st=1538439676%7Eexp=1538440576%7Eacl=/live001/game/download/*!/live001/game/patch/*%7Ehmac=f0ed2cc310c13f525ec4fb03e8da2dbd0559a8f3fb630e369ddd9ad58ba99d44 HTTP/1.1\r\nUser-Agent: BlackDesertOnline HTTP Client/1.0\r\nHost: "... 0067:Call ws2_32.send(00000358,0015c588,00000194,00000000) ret=7e259c4f ... 0067:Ret winhttp.WinHttpSendRequest() retval=00000001 ret=0046bb06 0067:Call winhttp.WinHttpReceiveResponse(00000003,00000000) ret=0046bb37 ... 0067:trace:winhttp:read_line returning "HTTP/1.1 403 Forbidden" 0067:trace:winhttp:read_reply version ["HTTP/1.1"] status code ["403"] status text ["Forbidden"] ... 0067:trace:winhttp:process_header L"Status": L"403" 0xa0000000 0067:trace:winhttp:get_header_index L"Status" 0067:trace:winhttp:get_header_index returning -1 ... 0067:trace:winhttp:read_line returning "" 0067:trace:winhttp:read_reply raw headers: L"HTTP/1.1 403 Forbidden\r\nServer: AkamaiGHost\r\nMime-Version: 1.0\r\nContent-Type: text/html\r\nContent-Length: 176\r\nExpires: Tue, 02 Oct 2018 00:21:21 GMT\r\nDate: Tue, 02 Oct 2018 00:21:21 GMT\r\nConnection: keep-alive\r\n\r\n" 0067:trace:winhttp:query_headers attribute L"Status" 0067:trace:winhttp:get_header_index L"Status" 0067:trace:winhttp:get_header_index returning 5 0067:trace:winhttp:query_headers returning number: 403 0067:trace:winhttp:query_headers attribute L"Content-Length" 0067:trace:winhttp:get_header_index L"Content-Length" 0067:trace:winhttp:get_header_index returning 9 0067:trace:winhttp:query_headers returning number: 176 0067:trace:winhttp:query_headers attribute L"Transfer-Encoding" 0067:trace:winhttp:get_header_index L"Transfer-Encoding" 0067:trace:winhttp:get_header_index returning -1 0067:Call ws2_32.setsockopt(00000358,0000ffff,00001006,0508eb48,00000004) ret=7e25b5f8 0067:Call ntdll.wine_server_handle_to_fd(00000358,00000000,0508e8ec,00000000) ret=7d4800e3 0067:Ret ntdll.wine_server_handle_to_fd() retval=00000000 ret=7d4800e3 0067:Call ntdll.wine_server_release_fd(00000358,00000006) ret=7d480117 0067:Ret ntdll.wine_server_release_fd() retval=00000000 ret=7d480117 0067:Ret ws2_32.setsockopt() retval=00000000 ret=7e25b5f8 0067:trace:winhttp:release_object object 0x4807cc8 refcount = 1 0067:Ret winhttp.WinHttpReceiveResponse() retval=00000001 ret=0046bb37 ... 0067:Call winhttp.WinHttpQueryHeaders(00000003,20000013,00000000,0508ec68,0508ec60,00000000) ret=0046bba1 0067:trace:winhttp:WinHttpQueryHeaders 0x3, 0x20000013, (null), 0x508ec68, 0x508ec60, (nil) 0067:trace:winhttp:addref_object 0x4807cc8 -> refcount = 2 0067:trace:winhttp:grab_object handle 0x3 -> 0x4807cc8 0067:trace:winhttp:query_headers attribute L"Status" 0067:trace:winhttp:get_header_index L"Status" 0067:trace:winhttp:get_header_index returning 5 0067:trace:winhttp:query_headers returning number: 403 0067:trace:winhttp:release_object object 0x4807cc8 refcount = 1 0067:Ret winhttp.WinHttpQueryHeaders() retval=00000001 ret=0046bba1 ... 0067:Call winhttp.WinHttpCloseHandle(00000003) ret=0046be4f ... 0067:Ret winhttp.WinHttpCloseHandle() retval=00000001 ret=0046be4f 0067:Call winhttp.WinHttpCloseHandle(00000002) ret=0046be65 ... 0067:Ret winhttp.WinHttpCloseHandle() retval=00000001 ret=0046be65 ... 0009:Call winex11.drv.SetWindowText(000200c2,04808350 L"An error occurred while downloading file. (errorcode : 13403)") ret=7e867144 --- snip ---
'winetricks -q winhttp' works around and the launcher downloads ~ 31 GB.
$ sha1sum BlackDesertOnlineSetup_20180524_10010.exe e729c18f0ee555e913fe4c2524d2a0091d1231e5 BlackDesertOnlineSetup_20180524_10010.exe
$ du -sh BlackDesertOnlineSetup_20180524_10010.exe 50M BlackDesertOnlineSetup_20180524_10010.exe
$ wine --version wine-3.17
Regards
https://bugs.winehq.org/show_bug.cgi?id=42677
zzzzzyzz@hacari.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzzzzyzz@hacari.org
https://bugs.winehq.org/show_bug.cgi?id=42677
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |ace7f05672d9759bdde842b74de | |ddea6caf0f012 Resolution|--- |FIXED
--- Comment #8 from Hans Leidekker hans@meelstraat.net --- Fixed by ace7f05672d9759bdde842b74deddea6caf0f012.
https://bugs.winehq.org/show_bug.cgi?id=42677
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.18.