[Bug 42677] Black Desert Online launcher fails to download/update files, reports "An error occurred while downloading file. (errorcode : 12006 or 13403)"

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 1 19:46:50 CDT 2018


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://akamai-gamecdn.black
                   |                            |desertonline.com/game/downl
                   |                            |oad/setup/BlackDesertOnline
                   |                            |Setup_20180524_10010.exe
                 CC|                            |focht at 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 at 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/BlackDesertOnlineSetup_20180524_10010.exe

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

-- 
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