Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The current offset on block-info isn't update correct, 53293375 != -1 on 0 #482

Open
Sternbach-Software opened this issue Apr 19, 2022 · 3 comments

Comments

@Sternbach-Software
Copy link

Sternbach-Software commented Apr 19, 2022

OkDownload Version

Sample app included in repository as of April 19, 2022

Problem Describe

Adding this link to the urls array in the sample app bunchactivity.kt on serial mode, I get java.io.IOException: The current offset on block-info isn't update correct, 53293375 != -1 on 0. Seems related to #129.

Log

There is the whole log from LogCat when I occur the problem(I don't understand how to use okcat. it is not set up in the sample project for me to just run "okcat" from the terminal):

2022-04-19 14:18:38.458 373-373/? I/perfetto: ng_service_impl.cc:1948 Tracing session 21 ended, total sessions:0
2022-04-19 14:18:39.657 1363-1435/com.google.android.inputmethod.latin I/PeriodicStatsRunner: PeriodicStatsRunner.call():180 call()
2022-04-19 14:18:39.664 1363-1435/com.google.android.inputmethod.latin I/PeriodicStatsRunner: PeriodicStatsRunner.call():184 No submit PeriodicStats since input started.
2022-04-19 14:18:39.911 0-0/? D/logd: logdr: UID=2000 GID=2000 PID=11399 b tail=0 logMask=99 pid=0 start=0ns timeout=0ns
2022-04-19 14:18:40.931 367-367/? W/adbd: timeout expired while flushing socket, closing
2022-04-19 14:18:42.741 11342-11342/com.liulishuo.okdownload.sample D/BunchActivity: before bind bunch task consume 13 ms
2022-04-19 14:18:42.749 527-5175/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4
2022-04-19 14:18:42.750 527-5175/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4
2022-04-19 14:18:42.768 402-463/? D/AudioFlinger: mixer(0xb4000078fc7e7040) throttle end: throttle time(6)
2022-04-19 14:18:43.075 527-5175/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4
2022-04-19 14:18:43.296 293-9937/? W/android.hardware.audio.service.ranchu: TinyalsaSink::write:125 pcm_write was late reading frames, dropping 22131 us of audio
2022-04-19 14:18:43.646 293-9937/? I/chatty: uid=1041(audioserver) HwBinder:293_2 identical 3 lines
2022-04-19 14:18:43.663 293-9937/? W/android.hardware.audio.service.ranchu: TinyalsaSink::write:125 pcm_write was late reading frames, dropping 22131 us of audio
2022-04-19 14:18:43.682 11342-11342/com.liulishuo.okdownload.sample D/Util: Get final download store is com.liulishuo.okdownload.core.breakpoint.RemitStoreOnSQLite@c1b17a7
2022-04-19 14:18:43.682 11342-11342/com.liulishuo.okdownload.sample D/OkDownload: downloadStore[com.liulishuo.okdownload.core.breakpoint.BreakpointStoreOnSQLite@ae82454] connectionFactory[com.liulishuo.okdownload.core.connection.DownloadOkHttp3Connection$Factory@ce13ffd
2022-04-19 14:18:43.691 11342-11342/com.liulishuo.okdownload.sample D/BunchActivity: before bunch task consume 964 ms
2022-04-19 14:18:43.691 11342-11342/com.liulishuo.okdownload.sample D/DownloadContext: start true
2022-04-19 14:18:43.704 293-9937/? W/android.hardware.audio.service.ranchu: TinyalsaSink::write:125 pcm_write was late reading frames, dropping 22131 us of audio
2022-04-19 14:18:43.800 293-9937/? I/chatty: uid=1041(audioserver) HwBinder:293_2 identical 6 lines
2022-04-19 14:18:43.816 293-9937/? W/android.hardware.audio.service.ranchu: TinyalsaSink::write:125 pcm_write was late reading frames, dropping 22131 us of audio
2022-04-19 14:18:43.821 11342-11342/com.liulishuo.okdownload.sample D/DownloadContext: start finish true 130ms
2022-04-19 14:18:43.822 11342-11342/com.liulishuo.okdownload.sample D/BunchActivity: start bunch task consume 1095 ms
2022-04-19 14:18:43.822 11342-11342/com.liulishuo.okdownload.sample I/Choreographer: Skipped 65 frames!  The application may be doing too much work on its main thread.
2022-04-19 14:18:43.824 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: execute: com.liulishuo.okdownload.DownloadTask@37ff2079@15@https://torahcdn.net/tdn/1037000.mp3@/storage/emulated/0/Android/data/com.liulishuo.okdownload.sample/cache/bunch/null
2022-04-19 14:18:43.829 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskStart: 15
2022-04-19 14:18:43.836 11342-11366/com.liulishuo.okdownload.sample I/OpenGLRenderer: Davey! duration=1100ms; Flags=0, IntendedVsync=36373666486257, Vsync=36374749819547, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=36374753602619, AnimationStart=36374753604285, PerformTraversalsStart=36374753679077, DrawStart=36374760857827, SyncQueued=36374761677952, SyncStart=36374761962119, IssueDrawCommandsStart=36374762060202, SwapBuffers=36374763318869, FrameCompleted=36374767233952, DequeueBufferDuration=39791, QueueBufferDuration=328125, GpuCompleted=12884901891, 
2022-04-19 14:18:43.868 11342-11405/com.liulishuo.okdownload.sample I/TetheringManager: registerTetheringEventCallback:com.liulishuo.okdownload.sample
2022-04-19 14:18:43.914 293-9937/? W/android.hardware.audio.service.ranchu: TinyalsaSink::write:125 pcm_write was late reading frames, dropping 22131 us of audio
2022-04-19 14:18:43.956 293-9937/? I/chatty: uid=1041(audioserver) HwBinder:293_2 identical 1 line
2022-04-19 14:18:43.972 293-9937/? W/android.hardware.audio.service.ranchu: TinyalsaSink::write:125 pcm_write was late reading frames, dropping 22131 us of audio
2022-04-19 14:18:44.013 11342-11405/com.liulishuo.okdownload.sample W/download.sampl: Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (greylist,core-platform-api, reflection, allowed)
2022-04-19 14:18:44.013 11342-11405/com.liulishuo.okdownload.sample W/download.sampl: Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (greylist,core-platform-api, reflection, allowed)
2022-04-19 14:18:44.014 11342-11405/com.liulishuo.okdownload.sample W/download.sampl: Accessing hidden method Ldalvik/system/CloseGuard;->warnIfOpen()V (greylist,core-platform-api, reflection, allowed)
2022-04-19 14:18:44.024 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(15) {if-match=["ddcc5e8eb820af5d0b690d2e8d12c29b-7"], range=[bytes=0-0]}
2022-04-19 14:18:44.387 11342-11405/com.liulishuo.okdownload.sample W/download.sampl: Accessing hidden method Lcom/android/org/conscrypt/ConscryptEngineSocket;->setUseSessionTickets(Z)V (greylist-max-q,core-platform-api, reflection, allowed)
2022-04-19 14:18:44.388 11342-11405/com.liulishuo.okdownload.sample W/download.sampl: Accessing hidden method Lcom/android/org/conscrypt/ConscryptEngineSocket;->setHostname(Ljava/lang/String;)V (greylist-max-q,core-platform-api, reflection, allowed)
2022-04-19 14:18:44.388 11342-11405/com.liulishuo.okdownload.sample W/download.sampl: Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl;->setAlpnProtocols([B)V (greylist-max-q,core-platform-api, reflection, allowed)
2022-04-19 14:18:44.959 11342-11405/com.liulishuo.okdownload.sample W/download.sampl: Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl;->getAlpnSelectedProtocol()[B (greylist-max-q,core-platform-api, reflection, allowed)
2022-04-19 14:18:45.272 293-9937/? W/android.hardware.audio.service.ranchu: TinyalsaSink::write:125 pcm_write was late reading frames, dropping 22131 us of audio
2022-04-19 14:18:45.408 11342-11405/com.liulishuo.okdownload.sample D/ConnectTrial: task[15] redirect location: null
2022-04-19 14:18:45.408 11342-11405/com.liulishuo.okdownload.sample W/ConnectTrial: Transfer-Encoding isn't chunked but there is no valid instance length found either!
2022-04-19 14:18:45.419 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(15) code[200]{accept-ranges=[bytes], alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a50aa94282b1-IAD], content-disposition=[attachment;filename="brachos-90-tur-siman-212-TD1037000.mp3"], content-length=[55151582], content-type=[audio/mpeg], date=[Tue, 19 Apr 2022 18:18:47 GMT], etag=["ddcc5e8eb820af5d0b690d2e8d12c29b-7"], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], last-modified=[Thu, 14 Apr 2022 00:52:49 GMT], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=PxJRZQQVHlBsujToo0suGBD3O8cqJ%2FjhAkPPsarC1oUkEqmlVVaPPSHgC6j4rlJPzvVMTEBlyItS%2FUOZ7iWqQyt%2F0mtH9dCLcdD7TYXJYqUCWn%2FxQxwk5xItmMthDNs%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], x-amz-id-2=[QqWhmGC1vjbEoSrtKp3HBDKTJ2kO15+apWhLc205TSFeozBRk5SDHMB9mHJSQJrkLgHnIbWv9IY=], x-amz-request-id=[HBHPY9NR815CA4GA]}
2022-04-19 14:18:45.426 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(15) {}
2022-04-19 14:18:45.472 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: sync info with id: 15
2022-04-19 14:18:45.496 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(15) code[403]{alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a50d1e3f82b1-IAD], content-encoding=[gzip], content-type=[application/xml], date=[Tue, 19 Apr 2022 18:18:47 GMT], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=wlSdYD4KbPXDeOa4g9hoiW%2BmhlNg2YWWfiSI251dtyWYChO0qwaXH3fFHNLcxGCX2meHLwo%2FJxzvpN7%2BXksI0HNnqlF%2B%2B15r6wcTjyP7xynrURCXr3sNobneeirdA%2Fo%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], vary=[Accept-Encoding], x-amz-id-2=[LnmrgfojBg6bdOdpAH1NO8dpBCD9GzuJZgPxeelQaHRyruyaP0BSbYL+fQZAOqKcnl2X2jp8eRo=], x-amz-request-id=[40YXQE87PXG6WPXH]}
2022-04-19 14:18:45.497 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: is file conflict after run: 15
2022-04-19 14:18:45.499 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: remove free bunch id 15
2022-04-19 14:18:45.499 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskEnd: 15 ERROR com.liulishuo.okdownload.core.exception.ServerCanceledException: Response code can't handled on internal 200 with current offset 55151582
2022-04-19 14:18:45.499 11342-11405/com.liulishuo.okdownload.sample D/DownloadCall: call is finished 15
2022-04-19 14:18:45.500 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: execute: com.liulishuo.okdownload.DownloadTask@efeb8dfa@16@https://torahcdn.net/tdn/1037001.mp3@/storage/emulated/0/Android/data/com.liulishuo.okdownload.sample/cache/bunch/null
2022-04-19 14:18:45.503 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskStart: 16
2022-04-19 14:18:45.504 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(16) {if-match=["fa1f080c2e0cff31d8002cf6c7796c35-7"], range=[bytes=0-0]}
2022-04-19 14:18:45.780 11342-11405/com.liulishuo.okdownload.sample D/ConnectTrial: task[16] redirect location: null
2022-04-19 14:18:45.780 11342-11405/com.liulishuo.okdownload.sample W/ConnectTrial: Transfer-Encoding isn't chunked but there is no valid instance length found either!
2022-04-19 14:18:45.783 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(16) code[200]{accept-ranges=[bytes], alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a50d8f9082b1-IAD], content-disposition=[attachment;filename="brachos-91-shulchan-aruch-siman-212-seif-1-2-TD1037001.mp3"], content-length=[55445029], content-type=[audio/mpeg], date=[Tue, 19 Apr 2022 18:18:47 GMT], etag=["fa1f080c2e0cff31d8002cf6c7796c35-7"], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], last-modified=[Thu, 14 Apr 2022 00:41:52 GMT], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=hENretVGIOUyAnPPQUxr23In%2F54Nrqe%2FX5y3y2fQ8j5WybvSMSU2%2FGl8%2F3MWv5YUWctRdQ19mgms79bF1mvTq%2B9E6Iyw1OtGy4UITS6eFvtp3vhuM0rFwBEhL1y%2BKew%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], x-amz-id-2=[G3O7jxHuN4JhxDM97renaqm5A4MtotdfDjbClSrLBAFggJkqlNsyfivFS6+qsDL37MRYIILpdvc=], x-amz-request-id=[40YKXCKN0T4GZ5QZ]}
2022-04-19 14:18:45.793 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(16) {}
2022-04-19 14:18:45.873 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(16) code[403]{alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a50f6bbf82b1-IAD], content-encoding=[gzip], content-type=[application/xml], date=[Tue, 19 Apr 2022 18:18:47 GMT], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=C1sFqaUAq7JTg5XVUR8ovb2fHW91EqjrtL5Pc%2F%2BcEFjX7yL3qQDKbeUWBbLCgkdrsK5IRBiWjXxzmP%2FwicYyLa%2BfborFuUxiPQJ6aqTcMM38lBCRP%2FDCakQx7GyuXGI%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], vary=[Accept-Encoding], x-amz-id-2=[XAXG+EyQjuSYoquwPxWbOZVcfX7NpwWg+bAec5hioO5AKf+PQW4B42T2de2LwH2lYd91JlID8/k=], x-amz-request-id=[40YYP0YM2NKJYYTQ]}
2022-04-19 14:18:45.873 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: is file conflict after run: 16
2022-04-19 14:18:45.873 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskEnd: 16 ERROR com.liulishuo.okdownload.core.exception.ServerCanceledException: Response code can't handled on internal 200 with current offset 55445029
2022-04-19 14:18:45.873 11342-11405/com.liulishuo.okdownload.sample D/DownloadCall: call is finished 16
2022-04-19 14:18:45.875 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: execute: com.liulishuo.okdownload.DownloadTask@a7d7fb7b@17@https://torahcdn.net/tdn/1037002.mp3@/storage/emulated/0/Android/data/com.liulishuo.okdownload.sample/cache/bunch/null
2022-04-19 14:18:45.875 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskStart: 17
2022-04-19 14:18:45.885 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(17) {if-match=["24195192339bc9642bc3ff4a1ad35e03-7"], range=[bytes=0-0]}
2022-04-19 14:18:46.054 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: sync info with id: 16
2022-04-19 14:18:46.054 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: remove free bunch id 16
2022-04-19 14:18:46.064 527-5175/system_process I/system_server: oneway function results will be dropped but finished with status OK and parcel size 4
2022-04-19 14:18:46.150 11342-11405/com.liulishuo.okdownload.sample D/ConnectTrial: task[17] redirect location: null
2022-04-19 14:18:46.150 11342-11405/com.liulishuo.okdownload.sample W/ConnectTrial: Transfer-Encoding isn't chunked but there is no valid instance length found either!
2022-04-19 14:18:46.151 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(17) code[200]{accept-ranges=[bytes], alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a5102d3d82b1-IAD], content-disposition=[attachment;filename="brachos-92-shulchan-aruch-siman-212-seif-1-2-taz-sk-3-7-siman-215-bracha-lvatala-TD1037002.mp3"], content-length=[52426608], content-type=[audio/mpeg], date=[Tue, 19 Apr 2022 18:18:47 GMT], etag=["24195192339bc9642bc3ff4a1ad35e03-7"], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], last-modified=[Thu, 14 Apr 2022 00:40:54 GMT], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=q5%2FKCf171Fg62a%2FrtMmSCRb8vpROZsognp79kLrZTkLaS0HI%2FlrVynum0DZyATwB003InQxPee7nWQj%2FTZKbXy1dqfszYNgncwvQXIsRrk8D2r7oC2rtUEVONerjIck%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], x-amz-id-2=[6sQk1vkgskzNlBo7puJUGq5FYxuc2q4oZ3ij8+PfAzDhm2cCzoCH2x2QlYgq3JxfRRBiznrKV8w=], x-amz-request-id=[40YNCCAHGJ21AQCG]}
2022-04-19 14:18:46.151 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(17) {}
2022-04-19 14:18:46.187 11342-11356/com.liulishuo.okdownload.sample I/download.sampl: Background concurrent copying GC freed 26694(1479KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 3455KB/6911KB, paused 3.019ms total 406.995ms
2022-04-19 14:18:46.227 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(17) code[403]{alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a511a84a82b1-IAD], content-encoding=[gzip], content-type=[application/xml], date=[Tue, 19 Apr 2022 18:18:47 GMT], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=liFr15s2DqdfbQK5K0pHMmW1GgqsM8req9YpyejC0Kn8BnKxRClN4aBBBpzwqTD4isvtQgimmJgU71IKo1anY4q49iPpP7%2BsxBI0yO5bhdOA1byOOYoLHzQMgJhWPPk%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], vary=[Accept-Encoding], x-amz-id-2=[BIJnlwyBF7/G8SiOCnp4nBNOY4UNCxcmSPBUSt94YSTAV3eYds88lbZGFAYPJsgz3tNAMPzq0W4=], x-amz-request-id=[40YZK9V0NBZMP5QC]}
2022-04-19 14:18:46.227 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: is file conflict after run: 17
2022-04-19 14:18:46.227 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskEnd: 17 ERROR com.liulishuo.okdownload.core.exception.ServerCanceledException: Response code can't handled on internal 200 with current offset 52426608
2022-04-19 14:18:46.227 11342-11405/com.liulishuo.okdownload.sample D/DownloadCall: call is finished 17
2022-04-19 14:18:46.228 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: execute: com.liulishuo.okdownload.DownloadTask@5fc468fc@18@https://torahcdn.net/tdn/1037003.mp3@/storage/emulated/0/Android/data/com.liulishuo.okdownload.sample/cache/bunch/null
2022-04-19 14:18:46.228 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskStart: 18
2022-04-19 14:18:46.230 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(18) {if-match=["8b37412710a6330aa12100c9af69404b-7"], range=[bytes=0-0]}
2022-04-19 14:18:46.345 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: sync info with id: 17
2022-04-19 14:18:46.345 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: remove free bunch id 17
2022-04-19 14:18:46.633 11342-11405/com.liulishuo.okdownload.sample D/ConnectTrial: task[18] redirect location: null
2022-04-19 14:18:46.634 11342-11405/com.liulishuo.okdownload.sample W/ConnectTrial: Transfer-Encoding isn't chunked but there is no valid instance length found either!
2022-04-19 14:18:46.634 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(18) code[200]{accept-ranges=[bytes], alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a512194982b1-IAD], content-disposition=[attachment;filename="brachos-93-shulchan-aruch-siman-212-mb-sk-1-4-5-practical-questions-in-ikar-and-tafel-TD1037003.mp3"], content-length=[54681928], content-type=[audio/mpeg], date=[Tue, 19 Apr 2022 18:18:48 GMT], etag=["8b37412710a6330aa12100c9af69404b-7"], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], last-modified=[Thu, 14 Apr 2022 00:45:11 GMT], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=Dbr9Mf3QOD3FGQnnKVdKMukMTOsJUSil0Rpvj0qky71Ym0aLfjsADIXF78Mui6CxD9NjTpTBJJ%2BEiPEw2i9JJehHOM23tznxxATYs7YeVvv8cX4V02dRGtR8p8ATf%2B0%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], x-amz-id-2=[3S//Irgrl9soC/pAoTxY9e3SXQ/DZ+IvxV01AJGZGT0SNKtSQp3jvT6J2muDPTjcf8oZfa1Qyug=], x-amz-request-id=[CAG0Q5HDDWY292P3]}
2022-04-19 14:18:46.635 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(18) {}
2022-04-19 14:18:46.707 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(18) code[403]{alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a514aeb782b1-IAD], content-encoding=[gzip], content-type=[application/xml], date=[Tue, 19 Apr 2022 18:18:48 GMT], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=e3Q5Zhm%2BSys%2FlkQvEZtpNimiLSrujH39gosmhYXntPqg28lNw4sDvCOgKj%2FhClZFh0gbhu2Lhc63DNv1Yub4eW03QpzvMRGNlq6Rvz3d3uuJJ4FFLDR43NjmMxE3bwk%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], vary=[Accept-Encoding], x-amz-id-2=[7S57wKZkUj3GPgo2xZqwC+LjPNZcQlzeX8QKnyyqc1qysUNQdl7+yjGmKQKskEYoREwZz9utWKA=], x-amz-request-id=[CAG74SW47VJZN8P9]}
2022-04-19 14:18:46.707 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: is file conflict after run: 18
2022-04-19 14:18:46.707 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskEnd: 18 ERROR com.liulishuo.okdownload.core.exception.ServerCanceledException: Response code can't handled on internal 200 with current offset 54681928
2022-04-19 14:18:46.707 11342-11405/com.liulishuo.okdownload.sample D/DownloadCall: call is finished 18
2022-04-19 14:18:46.707 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: execute: com.liulishuo.okdownload.DownloadTask@17b0d67d@19@https://torahcdn.net/tdn/1037004.mp3@/storage/emulated/0/Android/data/com.liulishuo.okdownload.sample/cache/bunch/null
2022-04-19 14:18:46.707 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskStart: 19
2022-04-19 14:18:46.709 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(19) {if-match=["10e0a60c17fac98bc4955e5d5246fd1f-6"], range=[bytes=0-0]}
2022-04-19 14:18:46.785 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: sync info with id: 18
2022-04-19 14:18:46.785 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: remove free bunch id 18
2022-04-19 14:18:46.927 11342-11405/com.liulishuo.okdownload.sample D/ConnectTrial: task[19] redirect location: null
2022-04-19 14:18:46.927 11342-11405/com.liulishuo.okdownload.sample W/ConnectTrial: Transfer-Encoding isn't chunked but there is no valid instance length found either!
2022-04-19 14:18:46.929 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(19) code[200]{accept-ranges=[bytes], alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a5151f8d82b1-IAD], content-disposition=[attachment;filename="brachos-95-pesachim-100b-introduction-to-shinui-makom-and-kiddush-bmakom-seuda-TD1037004.mp3"], content-length=[49910066], content-type=[audio/mpeg], date=[Tue, 19 Apr 2022 18:18:48 GMT], etag=["10e0a60c17fac98bc4955e5d5246fd1f-6"], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], last-modified=[Thu, 14 Apr 2022 00:53:11 GMT], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=Th%2FMc4EgJ3%2BDM725UNg6eHzOK2AxUEhT78jBgIx0IgLmBe0A054iQxo9FCFhklZPNetxiBINIWOP2iLlqSrVFIrnLIRUvhdAZiFahdCVOPzkj3WBIZ39vxz0FGhGCXg%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], x-amz-id-2=[cpUKhLPiZuR6WakNTUqBi7BorkulmAeh8GGCaI3SgjsU2zg1acAqbMeNXPbKHkK+Lxl2WFT1r34=], x-amz-request-id=[CAG109APZNGQS4XV]}
2022-04-19 14:18:46.930 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(19) {}
2022-04-19 14:18:47.007 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(19) code[403]{alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a5167a7482b1-IAD], content-encoding=[gzip], content-type=[application/xml], date=[Tue, 19 Apr 2022 18:18:48 GMT], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=8Rtu3wXsPiiYTCOy2G62GqvgYtsOXaRKF7CqsUwfGMv%2BeqEKf4UcYDAelnmj%2BTe9uZZoRVTgIM4Lt4xdaK1iTiYWTzDbi7KLVhEMZZugN%2BWF2NikkJ9rc%2BmbjG7Ntv0%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], vary=[Accept-Encoding], x-amz-id-2=[2UQeVl+lQ4jTNvZQBj0M5IB1QNfNuPhCeq4/Bg1aAsOwpxtdLtVYiNbX4jMcQCFF+i+jqqJ85iY=], x-amz-request-id=[CAG9QVG83Z6Z2M51]}
2022-04-19 14:18:47.007 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: is file conflict after run: 19
2022-04-19 14:18:47.007 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskEnd: 19 ERROR com.liulishuo.okdownload.core.exception.ServerCanceledException: Response code can't handled on internal 200 with current offset 49910066
2022-04-19 14:18:47.007 11342-11405/com.liulishuo.okdownload.sample D/DownloadCall: call is finished 19
2022-04-19 14:18:47.007 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: execute: com.liulishuo.okdownload.DownloadTask@cf9d43fe@20@https://torahcdn.net/tdn/1037005.mp3@/storage/emulated/0/Android/data/com.liulishuo.okdownload.sample/cache/bunch/null
2022-04-19 14:18:47.008 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskStart: 20
2022-04-19 14:18:47.009 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(20) {if-match=["7f9e6ba13f6844b5af186cb927eea0e3-7"], range=[bytes=0-0]}
2022-04-19 14:18:47.052 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: sync info with id: 19
2022-04-19 14:18:47.052 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: remove free bunch id 19
2022-04-19 14:18:47.202 11342-11405/com.liulishuo.okdownload.sample D/ConnectTrial: task[20] redirect location: null
2022-04-19 14:18:47.202 11342-11405/com.liulishuo.okdownload.sample W/ConnectTrial: Transfer-Encoding isn't chunked but there is no valid instance length found either!
2022-04-19 14:18:47.202 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(20) code[200]{accept-ranges=[bytes], alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a516fb9282b1-IAD], content-disposition=[attachment;filename="brachos-96-pesachim-100b-tosfos-TD1037005.mp3"], content-length=[51910322], content-type=[audio/mpeg], date=[Tue, 19 Apr 2022 18:18:48 GMT], etag=["7f9e6ba13f6844b5af186cb927eea0e3-7"], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], last-modified=[Thu, 14 Apr 2022 00:45:31 GMT], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=hIyeD9wkwQPT9cao3DmckMqhaM13MgFhTgvQuf9seMpOVy%2BbWSnI09cxnVbSezZethoRWPO5W%2BO%2BEtwUFff8YaWOYrFLZrjZS%2FU%2Br5LJupPvtIvmdnLjLtFIpmA7fdE%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], x-amz-id-2=[e3CDfCkiQvOxgt9kHFxY9CG06g8iYMqWoAV3w3AHHlktcF20jfOKxbiILUFHyqKc10ympajp6mE=], x-amz-request-id=[CAGB94PZQK9MGFFE]}
2022-04-19 14:18:47.202 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(20) {}
2022-04-19 14:18:47.281 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(20) code[403]{alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a5183e7182b1-IAD], content-encoding=[gzip], content-type=[application/xml], date=[Tue, 19 Apr 2022 18:18:49 GMT], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=lMdQ2kBaT5a6ORZiT5or7eudW6J9Yw%2Fk6uBkoYPjN3KDuqcde%2BR%2BHPE7U5K2MzJsjYvKqVv3ZhsyCBSrAtIgbU5mvETAAVUyzlbXDwc9XF1I3%2Fm%2F8nRGHWUfm%2FlW8ok%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], vary=[Accept-Encoding], x-amz-id-2=[vFwaZS9UjlavVjyHSnNFzczW66nP2Fp90teATmcNqFjUmZhAZXlR0KMDRn1qosLzrPZ+lvK6UGI=], x-amz-request-id=[WHZHKWWAJ0YN1RW7]}
2022-04-19 14:18:47.281 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: is file conflict after run: 20
2022-04-19 14:18:47.282 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskEnd: 20 ERROR com.liulishuo.okdownload.core.exception.ServerCanceledException: Response code can't handled on internal 200 with current offset 51910322
2022-04-19 14:18:47.282 11342-11405/com.liulishuo.okdownload.sample D/DownloadCall: call is finished 20
2022-04-19 14:18:47.282 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: execute: com.liulishuo.okdownload.DownloadTask@8789b17f@21@https://torahcdn.net/tdn/1037006.mp3@/storage/emulated/0/Android/data/com.liulishuo.okdownload.sample/cache/bunch/null
2022-04-19 14:18:47.283 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskStart: 21
2022-04-19 14:18:47.285 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(21) {if-match=["7e54b26af71593ea8202ad0ed35c6ab0-6"], range=[bytes=0-0]}
2022-04-19 14:18:47.332 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: sync info with id: 20
2022-04-19 14:18:47.332 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: remove free bunch id 20
2022-04-19 14:18:47.497 11342-11405/com.liulishuo.okdownload.sample D/ConnectTrial: task[21] redirect location: null
2022-04-19 14:18:47.497 11342-11405/com.liulishuo.okdownload.sample W/ConnectTrial: Transfer-Encoding isn't chunked but there is no valid instance length found either!
2022-04-19 14:18:47.497 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(21) code[200]{accept-ranges=[bytes], alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a518bf6982b1-IAD], content-disposition=[attachment;filename="brachos-97-pesachim-101a-tosfos-TD1037006.mp3"], content-length=[46195567], content-type=[audio/mpeg], date=[Tue, 19 Apr 2022 18:18:49 GMT], etag=["7e54b26af71593ea8202ad0ed35c6ab0-6"], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], last-modified=[Thu, 14 Apr 2022 00:45:36 GMT], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=5asv9jQOf4l3Qs%2B0PY%2BvGdHM6R9o4%2FGXrkanbM2pBtF2MU3h2v343cH5S4uTriya5PWvGhd2cUlLmyDH5P8hqjV8czP%2B5ZROpUOai5Pipq8AwlXGd12wcl0i8PWeB8s%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], x-amz-id-2=[2ufEcX0mmcl9mT+Otwh99YZ5No+0x1G4ja+Bw2DG/fc6Zcks9hGHISjEhICQFSc8/YFPwALIFfo=], x-amz-request-id=[WHZS49SRVWWBJRY6]}
2022-04-19 14:18:47.498 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(21) {}
2022-04-19 14:18:47.568 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(21) code[403]{alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a51a1aa782b1-IAD], content-encoding=[gzip], content-type=[application/xml], date=[Tue, 19 Apr 2022 18:18:49 GMT], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=EEr01UE13pMbaUNcNDIA70B09JMRO0leWFTa2dI%2FxNu4c6SPd%2F5CQN3AXhaBwb4nsbZTF7vlNFnm5I61UUDbAYu%2FaPBrZ4YQVUpPTcxTQBJKT1Hv7NBpdGAvpaVpoB8%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], vary=[Accept-Encoding], x-amz-id-2=[6enYtB4559XLV0ZeJyG7P3cXuPzWbIo+qPC2Ql2WKNBexPFpFU3DWhrFgldYe2LMaO6Ec/MEoLw=], x-amz-request-id=[WHZVFC8J5J9VQG26]}
2022-04-19 14:18:47.568 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: is file conflict after run: 21
2022-04-19 14:18:47.568 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskEnd: 21 ERROR com.liulishuo.okdownload.core.exception.ServerCanceledException: Response code can't handled on internal 200 with current offset 46195567
2022-04-19 14:18:47.568 11342-11405/com.liulishuo.okdownload.sample D/DownloadCall: call is finished 21
2022-04-19 14:18:47.568 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: execute: com.liulishuo.okdownload.DownloadTask@3f761f00@22@https://torahcdn.net/tdn/1037007.mp3@/storage/emulated/0/Android/data/com.liulishuo.okdownload.sample/cache/bunch/null
2022-04-19 14:18:47.568 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskStart: 22
2022-04-19 14:18:47.569 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(22) {if-match=["7fda73fb449035287c42274a276b7f25-7"], range=[bytes=0-0]}
2022-04-19 14:18:47.610 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: sync info with id: 21
2022-04-19 14:18:47.610 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: remove free bunch id 21
2022-04-19 14:18:47.691 11342-11405/com.liulishuo.okdownload.sample D/ConnectTrial: task[22] redirect location: null
2022-04-19 14:18:47.691 11342-11405/com.liulishuo.okdownload.sample W/ConnectTrial: Transfer-Encoding isn't chunked but there is no valid instance length found either!
2022-04-19 14:18:47.691 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(22) code[200]{accept-ranges=[bytes], alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a51a7b8582b1-IAD], content-disposition=[attachment;filename="brachos-98-pesachim-100b-101a-rosh-siman-4-6-TD1037007.mp3"], content-length=[53293375], content-type=[audio/mpeg], date=[Tue, 19 Apr 2022 18:18:49 GMT], etag=["7fda73fb449035287c42274a276b7f25-7"], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], last-modified=[Thu, 14 Apr 2022 00:44:34 GMT], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=3GkDaXefj6JPbfkUPWaJaUDXXcs2SoVabhNxcIfABR1CqR6STsNGXxd1kej%2FwemhGii9ccMDiUlRBP2F0ZQia8qkGlZ68Z%2B%2BHvIQXVo0eTo2dZTkH%2F6Vq5FH9zWZXr4%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], x-amz-id-2=[fwIXY9J5d/Zpmrw4tc3C/5Of0/F5wpt+UsP7Dl7EBBeRso7UfPNv5tluv9tOjs7ZwOuRbaCN2dM=], x-amz-request-id=[WHZWPQ77DS6GDM4Z]}
2022-04-19 14:18:47.692 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(22) {}
2022-04-19 14:18:47.757 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(22) code[403]{alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a51b3cf982b1-IAD], content-encoding=[gzip], content-type=[application/xml], date=[Tue, 19 Apr 2022 18:18:49 GMT], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=QqcpPG3Rl3X3D1WkLAwCE8mHtTAtPMJDvBDUhbA8%2B2SkF%2FP5qoYR4WulSd7Q64CZIMXLPtb0dFJmzpIxjBxmFMVyLbtTvx%2F6PIfuUKODWvKXhWywFpoFIpcuuulQ2Ic%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], vary=[Accept-Encoding], x-amz-id-2=[XrgQp7dpgeiVr3r9+shTx2v+pLwlbhcebEYBoO8yubnCM9RPzyOHtyMDC7SF+J5uznQO9pUk3o8=], x-amz-request-id=[WHZK63VPW29B9SD2]}
2022-04-19 14:18:47.757 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: is file conflict after run: 22
2022-04-19 14:18:47.757 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskEnd: 22 ERROR com.liulishuo.okdownload.core.exception.ServerCanceledException: Response code can't handled on internal 200 with current offset 53293375
2022-04-19 14:18:47.757 11342-11405/com.liulishuo.okdownload.sample D/DownloadCall: call is finished 22
2022-04-19 14:18:47.757 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: execute: com.liulishuo.okdownload.DownloadTask@f7628c81@23@https://torahcdn.net/tdn/1037008.mp3@/storage/emulated/0/Android/data/com.liulishuo.okdownload.sample/cache/bunch/null
2022-04-19 14:18:47.757 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskStart: 23
2022-04-19 14:18:47.758 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(23) {if-match=["d49c68ab58d559949605a853b1bd9cce-7"], range=[bytes=0-0]}
2022-04-19 14:18:47.790 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: sync info with id: 22
2022-04-19 14:18:47.791 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: remove free bunch id 22
2022-04-19 14:18:47.995 11342-11405/com.liulishuo.okdownload.sample D/ConnectTrial: task[23] redirect location: null
2022-04-19 14:18:47.996 11342-11405/com.liulishuo.okdownload.sample W/ConnectTrial: Transfer-Encoding isn't chunked but there is no valid instance length found either!
2022-04-19 14:18:47.997 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(23) code[200]{accept-ranges=[bytes], alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a51bae0282b1-IAD], content-disposition=[attachment;filename="brachos-99-pesachim-100b-101a-ran-tur-siman-269-shitas-sar-mikutzy-siman-273-TD1037008.mp3"], content-length=[54253914], content-type=[audio/mpeg], date=[Tue, 19 Apr 2022 18:18:49 GMT], etag=["d49c68ab58d559949605a853b1bd9cce-7"], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], last-modified=[Thu, 14 Apr 2022 00:46:00 GMT], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=Qu3E2SzVDhroVwz7tlm2szhQP3rrMGsf89evCFdWgno%2F9P21C%2FRbMV6tmDf34MbIWmoPn07b3nYySz0f3ReY12%2FyuxCvca80rtxlctjGMoQxtcCp1A9oEhhM5HHC5o4%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], x-amz-id-2=[P6F0lDXTy6+i4qXRZWK19p1z8elyKydrcZu9A/1Be4OY4vmGw/E8wYQ0DK4AIFGrI9IjkmtTXdw=], x-amz-request-id=[WHZQAW8DD5V21Q3Q]}
2022-04-19 14:18:47.998 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(23) {}
2022-04-19 14:18:48.077 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(23) code[403]{alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a51d39d782b1-IAD], content-encoding=[gzip], content-type=[application/xml], date=[Tue, 19 Apr 2022 18:18:49 GMT], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=%2F%2F00g%2BXLgCQ1470qBn0c6dA3gFu8D%2FVnOPerHc3c%2BWnq2HladB2ToTQrzcmbAgHNbqRAanDhiqT7xrH4lKKp7lysl4YLneKkHjUiLBmKCYgxhkTUNDoVofqWAqwc2ao%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], vary=[Accept-Encoding], x-amz-id-2=[oct8Uadbs0V8Q3JSHchTSzYaQKmhV1en7GV4cqoRh9Ed5NNlZhUMzYtjkvMnsZApDqxbl4rs+Qg=], x-amz-request-id=[WHZW6JM3BQM8A1Z6]}
2022-04-19 14:18:48.078 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: is file conflict after run: 23
2022-04-19 14:18:48.079 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskEnd: 23 ERROR com.liulishuo.okdownload.core.exception.ServerCanceledException: Response code can't handled on internal 200 with current offset 22624270
2022-04-19 14:18:48.079 11342-11405/com.liulishuo.okdownload.sample D/DownloadCall: call is finished 23
2022-04-19 14:18:48.079 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: execute: com.liulishuo.okdownload.DownloadTask@af4efa02@24@https://torahcdn.net/tdn/1037009.mp3@/storage/emulated/0/Android/data/com.liulishuo.okdownload.sample/cache/bunch/null
2022-04-19 14:18:48.079 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskStart: 24
2022-04-19 14:18:48.082 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(24) {range=[bytes=0-0]}
2022-04-19 14:18:48.126 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: sync info with id: 23
2022-04-19 14:18:48.126 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: remove free bunch id 23
2022-04-19 14:18:48.250 11342-11405/com.liulishuo.okdownload.sample D/ConnectTrial: task[24] redirect location: null
2022-04-19 14:18:48.250 11342-11405/com.liulishuo.okdownload.sample W/ConnectTrial: Transfer-Encoding isn't chunked but there is no valid instance length found either!
2022-04-19 14:18:48.252 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(24) code[200]{accept-ranges=[bytes], alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a51daac182b1-IAD], content-disposition=[attachment;filename="01-introduction-TD1037009.mp3"], content-length=[1114112], content-type=[audio/mpeg], date=[Tue, 19 Apr 2022 18:18:50 GMT], etag=["715e0f86ff654196676c8a177258f41f"], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], last-modified=[Thu, 14 Apr 2022 00:44:17 GMT], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=suwmeUxcsAZqmLZfueR%2BJHcTGgE7sY9qGKdv7guj7kVqxAS9gzYDSC7X6XvpV4f05c%2BGP1v3cpsny8kRW9AgUh0X2COInlUNNk6pET6G32KtZlfm22I4nhn063VodvQ%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], x-amz-id-2=[OIsZSOUOydze6fGKmlUcyYW8y7pw3xgdeCBT7a3w1Ys6VBF/IHQZUX4ps1d3QUHNZ05hIe6KA0c=], x-amz-request-id=[WHZH0N867ZNJNT5J]}
2022-04-19 14:18:48.253 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(24) {}
2022-04-19 14:18:48.307 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(24) code[403]{alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a51ecd0b82b1-IAD], content-encoding=[gzip], content-type=[application/xml], date=[Tue, 19 Apr 2022 18:18:50 GMT], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=n6qeGrAjf6sD8KLB4QuhqqSP8Z6mCyfVvBzrMADDrr%2FRAZoYZdQwSOEBub4noe8wQYARI62L3uviLM73LwQRo9C9TuXuFmAaTp2R0jEarvvVmz%2F6lkt3ON7sNHhOBAs%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], vary=[Accept-Encoding], x-amz-id-2=[yf5FgMHSa/OuQqR02+1p1gRwHPHwdK9Ozu19JmMAU1jbigVHPYB0cN1C0e4rP/8P9PS6YQl1+7Y=], x-amz-request-id=[57GHQYJS9VQYN0FV]}
2022-04-19 14:18:48.308 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: is file conflict after run: 24
2022-04-19 14:18:48.317 11342-11405/com.liulishuo.okdownload.sample D/DownloadCall: breakpoint invalid: download from beginning because of local check is dirty 24 fileExist[false] infoRight[false] outputStreamSupport[true] com.liulishuo.okdownload.core.download.BreakpointLocalCheck@621db13
2022-04-19 14:18:48.319 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: downloadFromBeginning: 24
2022-04-19 14:18:48.322 11342-11405/com.liulishuo.okdownload.sample W/resetBlockIfDirty: block is dirty so have to reset: [0, -2)-current:0
2022-04-19 14:18:48.331 11342-11421/com.liulishuo.okdownload.sample D/DownloadChain: create connection on url: https://torahcdn.net/tdn/1037009.mp3
2022-04-19 14:18:48.331 11342-11421/com.liulishuo.okdownload.sample D/HeaderInterceptor: AssembleHeaderRange (24) block(0) downloadFrom(0) currentOffset(0)
2022-04-19 14:18:48.331 11342-11421/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start connection task(24) block(0) {if-match=["715e0f86ff654196676c8a177258f41f"], range=[bytes=0--2], user-agent=[OkDownload/1.0.8-SNAPSHOT]}
2022-04-19 14:18:48.431 11342-11421/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish connection task(24) block(0) code[200]{accept-ranges=[bytes], alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a51f3e4d82b1-IAD], content-disposition=[attachment;filename="01-introduction-TD1037009.mp3"], content-length=[1114112], content-type=[audio/mpeg], date=[Tue, 19 Apr 2022 18:18:50 GMT], etag=["715e0f86ff654196676c8a177258f41f"], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], last-modified=[Thu, 14 Apr 2022 00:44:17 GMT], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=B7Q%2BAQLjOdIGO6ykrMDjTJX%2FvE1JPCi4sbuI8XxhTwKV8EpRboMhyKBn9%2F9cYXYqb81QT%2BjbI%2BfjFEEdvEiq9NjjarMxcpNAGcEfNudaakrXIU2vtbVM%2Bp1%2BzDVONh4%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], x-amz-id-2=[4C+ZJNx/0sAu2qwdOqC3YKb32wS9yKDocUXYYmjSl1/XL13Y6LWMdS22T50kWlvEDtvb9yukw6c=], x-amz-request-id=[57GR444Y3D7Q68EM]}
2022-04-19 14:18:48.431 11342-11421/com.liulishuo.okdownload.sample D/CallbackDispatcher: fetchStart: 24
2022-04-19 14:18:48.444 11342-11421/com.liulishuo.okdownload.sample D/MultiPointOutputStream: Create new file: 01-introduction-TD1037009.mp3
2022-04-19 14:18:48.463 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream start flush looper task[24] with syncBufferIntervalMills[2000] syncBufferSize[65536]
2022-04-19 14:18:48.466 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream sync success (24) block(0)  syncLength(16384) currentOffset(16384)
2022-04-19 14:18:48.508 11342-11421/com.liulishuo.okdownload.sample D/MultiPointOutputStream: task[24] current need fetching block count 1 is equal to no more stream block count 1
2022-04-19 14:18:48.509 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: task[24] current need fetching block count 1 is equal to no more stream block count 1
2022-04-19 14:18:48.509 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: runSync state change isNoMoreStream[true] newNoMoreStreamBlockList[[0]]
2022-04-19 14:18:48.534 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream sync success (24) block(0)  syncLength(1097728) currentOffset(1114112)
2022-04-19 14:18:48.534 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream stop flush looper task[24]
2022-04-19 14:18:48.534 11342-11421/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream close task[24] block[0]
2022-04-19 14:18:48.534 11342-11421/com.liulishuo.okdownload.sample D/DownloadCache: catch unknown error java.io.IOException: The current offset on block-info isn't update correct, 1114112 != -1 on 0
2022-04-19 14:18:48.535 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskEnd: 24 ERROR java.io.IOException: The current offset on block-info isn't update correct, 1114112 != -1 on 0
2022-04-19 14:18:48.535 11342-11405/com.liulishuo.okdownload.sample D/DownloadCall: call is finished 24
2022-04-19 14:18:48.536 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: execute: com.liulishuo.okdownload.DownloadTask@7da06318@25@https://torahcdn.net/tdn/1037010.mp3@/storage/emulated/0/Android/data/com.liulishuo.okdownload.sample/cache/bunch/null
2022-04-19 14:18:48.536 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskStart: 25
2022-04-19 14:18:48.539 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(25) {range=[bytes=0-0]}
2022-04-19 14:18:48.539 11342-11423/com.liulishuo.okdownload.sample D/DownloadChain: release connection com.liulishuo.okdownload.core.connection.DownloadOkHttp3Connection@14c227c task[24] block[0]
2022-04-19 14:18:48.556 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: sync info with id: 24
2022-04-19 14:18:48.556 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: remove free bunch id 24
2022-04-19 14:18:48.686 11342-11405/com.liulishuo.okdownload.sample D/ConnectTrial: task[25] redirect location: null
2022-04-19 14:18:48.686 11342-11405/com.liulishuo.okdownload.sample W/ConnectTrial: Transfer-Encoding isn't chunked but there is no valid instance length found either!
2022-04-19 14:18:48.686 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(25) code[200]{accept-ranges=[bytes], alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a520891382b1-IAD], content-disposition=[attachment;filename="02-order-of-the-seder-TD1037010.mp3"], content-length=[813056], content-type=[audio/mpeg], date=[Tue, 19 Apr 2022 18:18:50 GMT], etag=["c97f0c5cb641a52c853ed3f560cf6633"], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], last-modified=[Thu, 14 Apr 2022 00:41:06 GMT], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=AZm1R8jOuFdoYkqg5EOiVt7xVEVaNnahLe7xhpdJtUdPWpMrfi80VaRrdQYE7y9LtXsfzMJ7119LeMA3oWZc2wpwSsqdRPlZipgzzZXSQy%2BaavdnSaXW950EkxqXBpU%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], x-amz-id-2=[5eYAWpqVOCHJkZVmulJdySq3sV56WMqXCcqe2OXDV0RmLaZG5McUDLn2+FjX7BXjZGk74haiKDw=], x-amz-request-id=[57GGEWKDBM0W5JJJ]}
2022-04-19 14:18:48.686 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(25) {}
2022-04-19 14:18:48.758 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(25) code[403]{alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a5217b1f82b1-IAD], content-encoding=[gzip], content-type=[application/xml], date=[Tue, 19 Apr 2022 18:18:50 GMT], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=jDLRbd1eOzCEV3Eg%2Fyzb3edxWOnSRLbL5%2FdXSNvhaWGTJDXC9ct9BBUuyix%2B85JEp5DInu%2FiyzZaCQlzyr7U9dKZ4owG%2BfYYsICASfki8sqmgA38SbyJfXx6VJFQK8U%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], vary=[Accept-Encoding], x-amz-id-2=[7/ByvQ4RoxIqGMTPXJXexXpMHXqj2osOgEsg/cjVLAEMiK8qv/XA5WgMwHt6D7b7PZW0OSuKQBk=], x-amz-request-id=[57GTRVJ7P0H7YFVT]}
2022-04-19 14:18:48.758 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: is file conflict after run: 25
2022-04-19 14:18:48.759 11342-11405/com.liulishuo.okdownload.sample D/DownloadCall: breakpoint invalid: download from beginning because of local check is dirty 25 fileExist[false] infoRight[false] outputStreamSupport[true] com.liulishuo.okdownload.core.download.BreakpointLocalCheck@7d4a705
2022-04-19 14:18:48.759 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: downloadFromBeginning: 25
2022-04-19 14:18:48.759 11342-11405/com.liulishuo.okdownload.sample W/resetBlockIfDirty: block is dirty so have to reset: [0, -2)-current:0
2022-04-19 14:18:48.760 11342-11421/com.liulishuo.okdownload.sample D/DownloadChain: create connection on url: https://torahcdn.net/tdn/1037010.mp3
2022-04-19 14:18:48.760 11342-11421/com.liulishuo.okdownload.sample D/HeaderInterceptor: AssembleHeaderRange (25) block(0) downloadFrom(0) currentOffset(0)
2022-04-19 14:18:48.760 11342-11421/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start connection task(25) block(0) {if-match=["c97f0c5cb641a52c853ed3f560cf6633"], range=[bytes=0--2], user-agent=[OkDownload/1.0.8-SNAPSHOT]}
2022-04-19 14:18:48.854 11342-11421/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish connection task(25) block(0) code[200]{accept-ranges=[bytes], alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a521ebf982b1-IAD], content-disposition=[attachment;filename="02-order-of-the-seder-TD1037010.mp3"], content-length=[813056], content-type=[audio/mpeg], date=[Tue, 19 Apr 2022 18:18:50 GMT], etag=["c97f0c5cb641a52c853ed3f560cf6633"], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], last-modified=[Thu, 14 Apr 2022 00:41:06 GMT], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=fV6t0s6X7QSfPMIfy0HkZ0zxWkgNM5wn8iPanmj3POkBBl4VTd5ROb9w3XwFcqDhFBEF7OWatzgcbteIlpHGF03QdyTw%2Bio%2FSI89O1bvvn74X2j2smtkhLiQ3hNHneE%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], x-amz-id-2=[kHK2fnNr63KXqMHX4YV5lLrK5zDkRwGo7EBI85Dcq8+z5irRWG3WStom1ahqnxLatpz97o5FQHg=], x-amz-request-id=[57GQWHERZ77FDAP6]}
2022-04-19 14:18:48.855 11342-11421/com.liulishuo.okdownload.sample D/CallbackDispatcher: fetchStart: 25
2022-04-19 14:18:48.855 11342-11421/com.liulishuo.okdownload.sample D/MultiPointOutputStream: Create new file: 02-order-of-the-seder-TD1037010.mp3
2022-04-19 14:18:48.876 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream start flush looper task[25] with syncBufferIntervalMills[2000] syncBufferSize[65536]
2022-04-19 14:18:48.919 11342-11421/com.liulishuo.okdownload.sample D/MultiPointOutputStream: task[25] current need fetching block count 1 is equal to no more stream block count 1
2022-04-19 14:18:48.930 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream sync success (25) block(0)  syncLength(12288) currentOffset(12288)
2022-04-19 14:18:48.930 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: task[25] current need fetching block count 1 is equal to no more stream block count 1
2022-04-19 14:18:48.930 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: runSync state change isNoMoreStream[true] newNoMoreStreamBlockList[[0]]
2022-04-19 14:18:48.938 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream sync success (25) block(0)  syncLength(800768) currentOffset(813056)
2022-04-19 14:18:48.938 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream stop flush looper task[25]
2022-04-19 14:18:48.938 11342-11421/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream close task[25] block[0]
2022-04-19 14:18:48.938 11342-11421/com.liulishuo.okdownload.sample D/DownloadCache: catch unknown error java.io.IOException: The current offset on block-info isn't update correct, 813056 != -1 on 0
2022-04-19 14:18:48.939 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskEnd: 25 ERROR java.io.IOException: The current offset on block-info isn't update correct, 813056 != -1 on 0
2022-04-19 14:18:48.939 11342-11405/com.liulishuo.okdownload.sample D/DownloadCall: call is finished 25
2022-04-19 14:18:48.939 11342-11423/com.liulishuo.okdownload.sample D/DownloadChain: release connection com.liulishuo.okdownload.core.connection.DownloadOkHttp3Connection@1b7998b task[25] block[0]
2022-04-19 14:18:48.939 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: execute: com.liulishuo.okdownload.DownloadTask@358cd099@26@https://torahcdn.net/tdn/1037011.mp3@/storage/emulated/0/Android/data/com.liulishuo.okdownload.sample/cache/bunch/null
2022-04-19 14:18:48.939 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskStart: 26
2022-04-19 14:18:48.940 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(26) {range=[bytes=0-0]}
2022-04-19 14:18:48.958 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: sync info with id: 25
2022-04-19 14:18:48.958 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: remove free bunch id 25
2022-04-19 14:18:49.065 11342-11405/com.liulishuo.okdownload.sample D/ConnectTrial: task[26] redirect location: null
2022-04-19 14:18:49.065 11342-11405/com.liulishuo.okdownload.sample W/ConnectTrial: Transfer-Encoding isn't chunked but there is no valid instance length found either!
2022-04-19 14:18:49.065 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(26) code[200]{accept-ranges=[bytes], alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a5230e7d82b1-IAD], content-disposition=[attachment;filename="03-kiddush-TD1037011.mp3"], content-length=[1947648], content-type=[audio/mpeg], date=[Tue, 19 Apr 2022 18:18:50 GMT], etag=["3c685fec5ebc8507570697e0273c5379"], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], last-modified=[Thu, 14 Apr 2022 00:52:23 GMT], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=rXyxqZgCtCoDu4C0UglMDcT2RzAhSfFXx0FlU%2BRAtmwNSQy7zcETfLpn46VamjIO8A4OR%2FBaiPYRIIyGNjNKJcA3quuO4WvjwMII5HbekCRk9DkrilqAFmF5XVvV7iU%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], x-amz-id-2=[VlFeEXkZI0CER/De+RA31QgAv2inCxSqObkPxBN/lw1bKGR39OdDYCMxAv3s1Gw6W6l7gSROsy0=], x-amz-request-id=[57GHESRQB453THBG]}
2022-04-19 14:18:49.066 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(26) {}
2022-04-19 14:18:49.135 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(26) code[403]{alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a523d85482b1-IAD], content-encoding=[gzip], content-type=[application/xml], date=[Tue, 19 Apr 2022 18:18:50 GMT], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=Mv5MrjlqX5THl9rPV9J7RHKUKfbNttPkHLxylm1%2BKcrKl3lBHbmBAaSlMXr%2B%2B3ZdyCQ5qDtug1Ox9VogLLNl9z2dZUa0t00qVP4%2BEwT%2BOORj%2F9rSksRIBTM3OeOij9Q%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], vary=[Accept-Encoding], x-amz-id-2=[KeVqyNj0wPiWhPWRvrd1HOYTYx53uyVV7/kuYQvoJSlGWMnw4zc1LDIJWy/8pI0j3ZwirBijNIE=], x-amz-request-id=[57GGR7EPTV44997Z]}
2022-04-19 14:18:49.135 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: is file conflict after run: 26
2022-04-19 14:18:49.136 11342-11405/com.liulishuo.okdownload.sample D/DownloadCall: breakpoint invalid: download from beginning because of local check is dirty 26 fileExist[false] infoRight[false] outputStreamSupport[true] com.liulishuo.okdownload.core.download.BreakpointLocalCheck@876ea68
2022-04-19 14:18:49.136 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: downloadFromBeginning: 26
2022-04-19 14:18:49.136 11342-11405/com.liulishuo.okdownload.sample W/resetBlockIfDirty: block is dirty so have to reset: [0, -2)-current:0
2022-04-19 14:18:49.136 11342-11421/com.liulishuo.okdownload.sample D/DownloadChain: create connection on url: https://torahcdn.net/tdn/1037011.mp3
2022-04-19 14:18:49.136 11342-11421/com.liulishuo.okdownload.sample D/HeaderInterceptor: AssembleHeaderRange (26) block(0) downloadFrom(0) currentOffset(0)
2022-04-19 14:18:49.136 11342-11421/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start connection task(26) block(0) {if-match=["3c685fec5ebc8507570697e0273c5379"], range=[bytes=0--2], user-agent=[OkDownload/1.0.8-SNAPSHOT]}
2022-04-19 14:18:49.243 11342-11421/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish connection task(26) block(0) code[200]{accept-ranges=[bytes], alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a524494d82b1-IAD], content-disposition=[attachment;filename="03-kiddush-TD1037011.mp3"], content-length=[1947648], content-type=[audio/mpeg], date=[Tue, 19 Apr 2022 18:18:51 GMT], etag=["3c685fec5ebc8507570697e0273c5379"], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], last-modified=[Thu, 14 Apr 2022 00:52:23 GMT], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=%2FcSqkKb5waL7NJ%2FNrJPwfAMS6vE2mZ%2FnxKQMRerCLN%2BrDGQQBMPyANCzMswQ3nfZ%2FkgSaiqEJku3FzNLlJYStHE5WrzkgkuSuQkoKqMqx618zk9K3MGSBUBlhBQ%2FLYQ%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], x-amz-id-2=[KOJrhtsibeLMrG/lY3NIjKx+mIQMxflSyXhc0q1d+R89JU+wEwprWDF+c/7YrthBLvIL4Wsf8cU=], x-amz-request-id=[57GVTQDTGAFPJH8Y]}
2022-04-19 14:18:49.244 11342-11421/com.liulishuo.okdownload.sample D/CallbackDispatcher: fetchStart: 26
2022-04-19 14:18:49.244 11342-11421/com.liulishuo.okdownload.sample D/MultiPointOutputStream: Create new file: 03-kiddush-TD1037011.mp3
2022-04-19 14:18:49.257 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream start flush looper task[26] with syncBufferIntervalMills[2000] syncBufferSize[65536]
2022-04-19 14:18:49.261 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream sync success (26) block(0)  syncLength(4096) currentOffset(4096)
2022-04-19 14:18:49.334 11342-11421/com.liulishuo.okdownload.sample D/MultiPointOutputStream: task[26] current need fetching block count 1 is equal to no more stream block count 1
2022-04-19 14:18:49.334 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: task[26] current need fetching block count 1 is equal to no more stream block count 1
2022-04-19 14:18:49.334 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: runSync state change isNoMoreStream[true] newNoMoreStreamBlockList[[0]]
2022-04-19 14:18:49.375 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream sync success (26) block(0)  syncLength(1943552) currentOffset(1947648)
2022-04-19 14:18:49.375 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream stop flush looper task[26]
2022-04-19 14:18:49.375 11342-11421/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream close task[26] block[0]
2022-04-19 14:18:49.375 11342-11421/com.liulishuo.okdownload.sample D/DownloadCache: catch unknown error java.io.IOException: The current offset on block-info isn't update correct, 1947648 != -1 on 0
2022-04-19 14:18:49.375 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskEnd: 26 ERROR java.io.IOException: The current offset on block-info isn't update correct, 1947648 != -1 on 0
2022-04-19 14:18:49.375 11342-11423/com.liulishuo.okdownload.sample D/DownloadChain: release connection com.liulishuo.okdownload.core.connection.DownloadOkHttp3Connection@b74cb26 task[26] block[0]
2022-04-19 14:18:49.375 11342-11405/com.liulishuo.okdownload.sample D/DownloadCall: call is finished 26
2022-04-19 14:18:49.375 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: execute: com.liulishuo.okdownload.DownloadTask@ed793e1a@27@https://torahcdn.net/tdn/1037012.mp3@/storage/emulated/0/Android/data/com.liulishuo.okdownload.sample/cache/bunch/null
2022-04-19 14:18:49.375 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskStart: 27
2022-04-19 14:18:49.376 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(27) {range=[bytes=0-0]}
2022-04-19 14:18:49.397 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: sync info with id: 26
2022-04-19 14:18:49.397 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: remove free bunch id 26
2022-04-19 14:18:49.515 11342-11405/com.liulishuo.okdownload.sample D/ConnectTrial: task[27] redirect location: null
2022-04-19 14:18:49.515 11342-11405/com.liulishuo.okdownload.sample W/ConnectTrial: Transfer-Encoding isn't chunked but there is no valid instance length found either!
2022-04-19 14:18:49.515 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(27) code[200]{accept-ranges=[bytes], alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a525bc2882b1-IAD], content-disposition=[attachment;filename="04-halachma-anya-TD1037012.mp3"], content-length=[1134592], content-type=[audio/mpeg], date=[Tue, 19 Apr 2022 18:18:51 GMT], etag=["75d8739fcd7b5dea45f9dc2e0af998dc"], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], last-modified=[Thu, 14 Apr 2022 00:46:18 GMT], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=QPVvnSf8HKwMGI%2BbTUrcNz%2FV87%2BeJY1zAYYx60WUQNC89jVJXQ1oP%2BaLVW6cEVI%2BVR6O4K6tGSMCcJR6iZ0fEnH6zvk0HbRqz1i6FDZcuf9RpA1rFQXKBkAnW4FpQ24%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], x-amz-id-2=[h2PRFkMQCr2ZbYgl3CqmUyoksrD5ZWKYqqjD4WgHBDU10OSPeZ5sI1KBmptieOP5azD2GuRkkzE=], x-amz-request-id=[DSS3YX03X9YJ6E5C]}
2022-04-19 14:18:49.515 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(27) {}
2022-04-19 14:18:49.578 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(27) code[403]{alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a526ae0c82b1-IAD], content-encoding=[gzip], content-type=[application/xml], date=[Tue, 19 Apr 2022 18:18:51 GMT], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=WrjoEMTWIa8%2Fl%2FgFMz3BJZ9GP8tXFcjXRF4bNtlShinI7e9lOvw2k3xLHkblPocc%2FNAAjFIp%2FNxPOCgu8HYJCfkNRaCMArtszHZJcqfEa7TMbI%2FhipWdRHVUEDk4Jc8%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], vary=[Accept-Encoding], x-amz-id-2=[7rVKKTzspaZI3/m8xbo1HSCNSvnMK9h96s1Enym2MoDyLsf4HoMM3vk5td+y8XD7hkTAa9ZjgaQ=], x-amz-request-id=[DSS2R1V2J79PH51V]}
2022-04-19 14:18:49.578 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: is file conflict after run: 27
2022-04-19 14:18:49.578 11342-11405/com.liulishuo.okdownload.sample D/DownloadCall: breakpoint invalid: download from beginning because of local check is dirty 27 fileExist[false] infoRight[false] outputStreamSupport[true] com.liulishuo.okdownload.core.download.BreakpointLocalCheck@c044367
2022-04-19 14:18:49.579 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: downloadFromBeginning: 27
2022-04-19 14:18:49.579 11342-11405/com.liulishuo.okdownload.sample W/resetBlockIfDirty: block is dirty so have to reset: [0, -2)-current:0
2022-04-19 14:18:49.579 11342-11421/com.liulishuo.okdownload.sample D/DownloadChain: create connection on url: https://torahcdn.net/tdn/1037012.mp3
2022-04-19 14:18:49.579 11342-11421/com.liulishuo.okdownload.sample D/HeaderInterceptor: AssembleHeaderRange (27) block(0) downloadFrom(0) currentOffset(0)
2022-04-19 14:18:49.579 11342-11421/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start connection task(27) block(0) {if-match=["75d8739fcd7b5dea45f9dc2e0af998dc"], range=[bytes=0--2], user-agent=[OkDownload/1.0.8-SNAPSHOT]}
2022-04-19 14:18:49.698 11342-11421/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish connection task(27) block(0) code[200]{accept-ranges=[bytes], alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a5270ed582b1-IAD], content-disposition=[attachment;filename="04-halachma-anya-TD1037012.mp3"], content-length=[1134592], content-type=[audio/mpeg], date=[Tue, 19 Apr 2022 18:18:51 GMT], etag=["75d8739fcd7b5dea45f9dc2e0af998dc"], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], last-modified=[Thu, 14 Apr 2022 00:46:18 GMT], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=188O60fMApR1yb2SJu96ztuAERcVk3%2FtD4W1ofmcCG47JRYwvG7sU71FXvFnl0n829o%2BBUzD2zJ4mHXSifwP24ddqzjSZAZCUBnR0uCc2E5xLi5wzfdIYIF1DzxlzAs%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], x-amz-id-2=[S/7IDAHqq6p+1CfWN853nxJ2+0XatvXVg2bzF51fbxupU1u9yWxEaNDI1zM+PY8p71FUYbhcVi0=], x-amz-request-id=[DSS2RPHZ9602WTN9]}
2022-04-19 14:18:49.698 11342-11421/com.liulishuo.okdownload.sample D/CallbackDispatcher: fetchStart: 27
2022-04-19 14:18:49.704 11342-11421/com.liulishuo.okdownload.sample D/MultiPointOutputStream: Create new file: 04-halachma-anya-TD1037012.mp3
2022-04-19 14:18:49.734 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream start flush looper task[27] with syncBufferIntervalMills[2000] syncBufferSize[65536]
2022-04-19 14:18:49.743 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream sync success (27) block(0)  syncLength(4096) currentOffset(4096)
2022-04-19 14:18:49.775 11342-11421/com.liulishuo.okdownload.sample D/MultiPointOutputStream: task[27] current need fetching block count 1 is equal to no more stream block count 1
2022-04-19 14:18:49.775 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: task[27] current need fetching block count 1 is equal to no more stream block count 1
2022-04-19 14:18:49.775 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: runSync state change isNoMoreStream[true] newNoMoreStreamBlockList[[0]]
2022-04-19 14:18:49.780 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream sync success (27) block(0)  syncLength(1130496) currentOffset(1134592)
2022-04-19 14:18:49.780 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream stop flush looper task[27]
2022-04-19 14:18:49.781 11342-11421/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream close task[27] block[0]
2022-04-19 14:18:49.781 11342-11421/com.liulishuo.okdownload.sample D/DownloadCache: catch unknown error java.io.IOException: The current offset on block-info isn't update correct, 1134592 != -1 on 0
2022-04-19 14:18:49.781 11342-11423/com.liulishuo.okdownload.sample D/DownloadChain: release connection com.liulishuo.okdownload.core.connection.DownloadOkHttp3Connection@755b1bd task[27] block[0]
2022-04-19 14:18:49.781 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskEnd: 27 ERROR java.io.IOException: The current offset on block-info isn't update correct, 1134592 != -1 on 0
2022-04-19 14:18:49.781 11342-11405/com.liulishuo.okdownload.sample D/DownloadCall: call is finished 27
2022-04-19 14:18:49.781 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: execute: com.liulishuo.okdownload.DownloadTask@a565ab9b@28@https://torahcdn.net/tdn/1037013.mp3@/storage/emulated/0/Android/data/com.liulishuo.okdownload.sample/cache/bunch/null
2022-04-19 14:18:49.781 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskStart: 28
2022-04-19 14:18:49.782 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(28) {range=[bytes=0-0]}
2022-04-19 14:18:49.796 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: sync info with id: 27
2022-04-19 14:18:49.797 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: remove free bunch id 27
2022-04-19 14:18:49.925 11342-11405/com.liulishuo.okdownload.sample D/ConnectTrial: task[28] redirect location: null
2022-04-19 14:18:49.925 11342-11405/com.liulishuo.okdownload.sample W/ConnectTrial: Transfer-Encoding isn't chunked but there is no valid instance length found either!
2022-04-19 14:18:49.926 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(28) code[200]{accept-ranges=[bytes], alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a528497d82b1-IAD], content-disposition=[attachment;filename="05-the-four-questions-TD1037013.mp3"], content-length=[2017280], content-type=[audio/mpeg], date=[Tue, 19 Apr 2022 18:18:51 GMT], etag=["1f53f6dc616dbf18addd85d749901e3e"], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], last-modified=[Thu, 14 Apr 2022 00:48:13 GMT], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=XjjQBztTLTL0F4x5uJLKuDbUc5jrnWEBB%2FtUXYXELx2PkZvEgbzoOyawwhiz4YlIs2uWzW0OKXcNEMEvivMahNk7stD%2BkLDbmy7L4cpp5R0fgzaLlKKij7p6R6mHZvY%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], x-amz-id-2=[m1ils2qTeGluwDX/2yhLM/qSthtA0vxhPqF1QUonqav+Ps6kp8PdbHQ6Vruu2aDoCQI8BUktTtg=], x-amz-request-id=[DSS0WD75PMQCA2YG]}
2022-04-19 14:18:49.926 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start trial task(28) {}
2022-04-19 14:18:50.020 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish trial task(28) code[403]{alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a5293bb182b1-IAD], content-encoding=[gzip], content-type=[application/xml], date=[Tue, 19 Apr 2022 18:18:51 GMT], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=RgNjyXQCxpcaBjNmKdtYOx%2FeydVY8VZTSJcK7rlkz1qLUjx3VTy4XQnSyuWvsj4Q8y%2FVbkT%2B6IGMRz8fwqaY83eVkVd7R%2BV3lA1fItwaR85Ndvo29lVNm%2BSXW%2F1sxgw%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], vary=[Accept-Encoding], x-amz-id-2=[b/U64gU8KXFRna5rmNy7/BA+ZKzeYy1gQbrFPTm6xshSOjMv9pIMaabpNL3Z+t9UA69ov1IwmnA=], x-amz-request-id=[DSS6CG93GTZPCXYG]}
2022-04-19 14:18:50.020 11342-11405/com.liulishuo.okdownload.sample D/DownloadDispatcher: is file conflict after run: 28
2022-04-19 14:18:50.021 11342-11405/com.liulishuo.okdownload.sample D/DownloadCall: breakpoint invalid: download from beginning because of local check is dirty 28 fileExist[false] infoRight[false] outputStreamSupport[true] com.liulishuo.okdownload.core.download.BreakpointLocalCheck@9b0c70a
2022-04-19 14:18:50.021 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: downloadFromBeginning: 28
2022-04-19 14:18:50.021 11342-11405/com.liulishuo.okdownload.sample W/resetBlockIfDirty: block is dirty so have to reset: [0, -2)-current:0
2022-04-19 14:18:50.021 11342-11421/com.liulishuo.okdownload.sample D/DownloadChain: create connection on url: https://torahcdn.net/tdn/1037013.mp3
2022-04-19 14:18:50.021 11342-11421/com.liulishuo.okdownload.sample D/HeaderInterceptor: AssembleHeaderRange (28) block(0) downloadFrom(0) currentOffset(0)
2022-04-19 14:18:50.021 11342-11421/com.liulishuo.okdownload.sample D/CallbackDispatcher: -----> start connection task(28) block(0) {if-match=["1f53f6dc616dbf18addd85d749901e3e"], range=[bytes=0--2], user-agent=[OkDownload/1.0.8-SNAPSHOT]}
2022-04-19 14:18:50.102 11342-11421/com.liulishuo.okdownload.sample D/CallbackDispatcher: <----- finish connection task(28) block(0) code[200]{accept-ranges=[bytes], alt-svc=[h3=":443"; ma=86400, h3-29=":443"; ma=86400], cf-cache-status=[BYPASS], cf-ray=[6fe7a529ccc882b1-IAD], content-disposition=[attachment;filename="05-the-four-questions-TD1037013.mp3"], content-length=[2017280], content-type=[audio/mpeg], date=[Tue, 19 Apr 2022 18:18:51 GMT], etag=["1f53f6dc616dbf18addd85d749901e3e"], expect-ct=[max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"], last-modified=[Thu, 14 Apr 2022 00:48:13 GMT], nel=[{"success_fraction":0,"report_to":"cf-nel","max_age":604800}], report-to=[{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=F2IJbS%2BfAAuqD5vzaiFPvfsUoWhGQeo68eWb9nf9SMbntW6AbZ0lFeeLFLvLoKgbtKTfNZHuQw5ipCeg1a6iedXyuaof39mdNr1UzcYW28LlMw6%2FiqQ%2FbSB4mXAwnpQ%3D"}],"group":"cf-nel","max_age":604800}], server=[cloudflare], x-amz-id-2=[JtTBmHTZ7kXE3KI4Vq/QH8fuswIAWfZuJr0V5zIGmoTq08EDXIt71MJwE27ULQQxR/fjFhUmFcE=], x-amz-request-id=[DSS36M7GF6J6D6WY]}
2022-04-19 14:18:50.102 11342-11421/com.liulishuo.okdownload.sample D/CallbackDispatcher: fetchStart: 28
2022-04-19 14:18:50.104 11342-11421/com.liulishuo.okdownload.sample D/MultiPointOutputStream: Create new file: 05-the-four-questions-TD1037013.mp3
2022-04-19 14:18:50.113 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream start flush looper task[28] with syncBufferIntervalMills[2000] syncBufferSize[65536]
2022-04-19 14:18:50.118 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream sync success (28) block(0)  syncLength(16384) currentOffset(16384)
2022-04-19 14:18:51.299 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: sync info with id: 28
2022-04-19 14:18:52.125 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: task[28] current need fetching block count 1 is not equal to no more stream block count 0
2022-04-19 14:18:52.157 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream sync success (28) block(0)  syncLength(1544428) currentOffset(1560812)
2022-04-19 14:18:54.158 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: task[28] current need fetching block count 1 is not equal to no more stream block count 0
2022-04-19 14:18:54.782 527-551/system_process E/JobScheduler.Background: App com.google.android.gms became active but still in NEVER bucket
2022-04-19 14:18:54.800 527-570/system_process I/DropBoxManagerService: add tag=system_server_wtf isTagEnabled=true flags=0x2
2022-04-19 14:18:54.855 1199-10018/com.google.android.gms E/WakeLock: GCM_HB_ALARM release without a matched acquire!
2022-04-19 14:18:56.160 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: task[28] current need fetching block count 1 is not equal to no more stream block count 0
2022-04-19 14:18:56.819 527-570/system_process W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
2022-04-19 14:18:56.819 527-570/system_process W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
2022-04-19 14:18:58.167 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: task[28] current need fetching block count 1 is not equal to no more stream block count 0
2022-04-19 14:19:00.042 707-707/com.android.systemui D/KeyguardClockSwitch: Updating clock: 219
2022-04-19 14:19:00.169 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: task[28] current need fetching block count 1 is not equal to no more stream block count 0
2022-04-19 14:19:00.199 11342-11421/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream close task[28] block[0]
2022-04-19 14:19:00.199 11342-11421/com.liulishuo.okdownload.sample D/DownloadCache: catch unknown error java.net.SocketTimeoutException: timeout
2022-04-19 14:19:00.200 11342-11423/com.liulishuo.okdownload.sample D/DownloadChain: release connection com.liulishuo.okdownload.core.connection.DownloadOkHttp3Connection@d6dbd98 task[28] block[0]
2022-04-19 14:19:00.203 11342-11405/com.liulishuo.okdownload.sample D/CallbackDispatcher: taskEnd: 28 ERROR java.net.SocketTimeoutException: timeout
2022-04-19 14:19:00.203 11342-11404/com.liulishuo.okdownload.sample D/RemitSyncExecutor: remove free bunch id 28
2022-04-19 14:19:00.203 11342-11405/com.liulishuo.okdownload.sample D/DownloadCall: call is finished 28
2022-04-19 14:19:00.215 11342-11342/com.liulishuo.okdownload.sample D/DownloadContext: taskEnd and remainCount 0
2022-04-19 14:19:01.750 469-469/? E/wifi_forwarder: qemu_pipe_open_ns:62: Could not connect to the 'pipe:qemud:wififorward' service: Invalid argument
2022-04-19 14:19:01.751 469-469/? E/wifi_forwarder: RemoteConnection failed to initialize: RemoteConnection failed to open pipe
2022-04-19 14:19:02.172 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: task[28] current need fetching block count 1 is equal to no more stream block count 1
2022-04-19 14:19:02.173 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: runSync state change isNoMoreStream[true] newNoMoreStreamBlockList[[]]
2022-04-19 14:19:02.173 11342-11422/com.liulishuo.okdownload.sample D/MultiPointOutputStream: OutputStream stop flush looper task[28]
2022-04-19 14:19:03.807 465-465/? E/netmgr: qemu_pipe_open_ns:62: Could not connect to the 'pipe:qemud:network' service: Invalid argument
2022-04-19 14:19:03.808 465-465/? E/netmgr: Failed to open QEMU pipe 'qemud:network': Invalid argument
2022-04-19 14:19:04.809 527-551/system_process E/JobScheduler.Background: App com.google.android.gms became active but still in NEVER bucket
2022-04-19 14:19:04.821 527-570/system_process I/DropBoxManagerService: add tag=system_server_wtf isTagEnabled=true flags=0x2
2022-04-19 14:19:06.836 527-570/system_process W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
2022-04-19 14:19:06.836 527-570/system_process W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
2022-04-19 14:19:10.507 212-216/? E/android.system.suspend@1.0-service: Error opening kernel wakelock stats for: wakeup4: Permission denied
2022-04-19 14:19:10.500 212-212/? W/Binder:212_2: type=1400 audit(0.0:2485): avc: denied { read } for name="wakeup4" dev="sysfs" ino=16464 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
2022-04-19 14:19:10.516 212-212/? W/Binder:212_2: type=1400 audit(0.0:2486): avc: denied { read } for name="wakeup2" dev="sysfs" ino=15902 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
2022-04-19 14:19:10.517 212-216/? E/android.system.suspend@1.0-service: Error opening kernel wakelock stats for: wakeup2: Permission denied
2022-04-19 14:19:10.516 212-212/? W/Binder:212_2: type=1400 audit(0.0:2487): avc: denied { read } for name="wakeup0" dev="sysfs" ino=13341 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
2022-04-19 14:19:10.519 212-216/? E/android.system.suspend@1.0-service: Error opening kernel wakelock stats for: wakeup0: Permission denied
2022-04-19 14:19:10.522 212-216/? E/android.system.suspend@1.0-service: Error opening kernel wakelock stats for: wakeup5: Permission denied
2022-04-19 14:19:10.520 212-212/? W/Binder:212_2: type=1400 audit(0.0:2488): avc: denied { read } for name="wakeup5" dev="sysfs" ino=16527 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
2022-04-19 14:19:10.523 212-216/? E/android.system.suspend@1.0-service: Error opening kernel wakelock stats for: wakeup3: Permission denied
2022-04-19 14:19:10.520 212-212/? W/Binder:212_2: type=1400 audit(0.0:2489): avc: denied { read } for name="wakeup3" dev="sysfs" ino=15952 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
2022-04-19 14:19:10.524 212-216/? E/android.system.suspend@1.0-service: Error opening kernel wakelock stats for: wakeup1: Permission denied
2022-04-19 14:19:10.527 0-0/? W/audit: audit_lost=374 audit_rate_limit=5 audit_backlog_limit=64
2022-04-19 14:19:10.527 0-0/? E/audit: rate limit exceeded
2022-04-19 14:19:39.597 527-647/system_process E/WifiScoringParams: Invalid frequency(-1), using 5G as default rssi array
2022-04-19 14:19:43.511 527-5175/system_process D/WifiNl80211Manager: Scan result ready event
2022-04-19 14:19:43.512 527-5175/system_process D/WifiNative: Scan result ready event
2022-04-19 14:20:00.043 707-707/com.android.systemui D/KeyguardClockSwitch: Updating clock: 220
2022-04-19 14:20:01.759 469-469/? E/wifi_forwarder: qemu_pipe_open_ns:62: Could not connect to the 'pipe:qemud:wififorward' service: Invalid argument
2022-04-19 14:20:01.760 469-469/? E/wifi_forwarder: RemoteConnection failed to initialize: RemoteConnection failed to open pipe
2022-04-19 14:20:03.889 465-465/? E/netmgr: qemu_pipe_open_ns:62: Could not connect to the 'pipe:qemud:network' service: Invalid argument
2022-04-19 14:20:03.889 465-465/? E/netmgr: Failed to open QEMU pipe 'qemud:network': Invalid argument

@coccoalberto97
Copy link

coccoalberto97 commented May 25, 2022

Hello, as a workaround you can follow what ymqq said in this issue #432 : (also in this article https://blog.csdn.net/Kstar_Ming/article/details/115909863)

public class HotFixedProcessFileStrategy extends ProcessFileStrategy {

    @Override
    @NonNull
    public MultiPointOutputStream createProcessStream(@NonNull DownloadTask task,
                                                      @NonNull BreakpointInfo info,
                                                      @NonNull DownloadStore store) {
        return new HotFixedMultiPointOutputStream(task, info, store);
    }


    class HotFixedMultiPointOutputStream extends MultiPointOutputStream {
        private static final String TAG = "HotFixedMultiPointOutputStream";
        private final DownloadTask task;

        HotFixedMultiPointOutputStream(@NonNull final DownloadTask task,
                                       @NonNull BreakpointInfo info,
                                       @NonNull DownloadStore store,
                                       @Nullable Runnable syncRunnable) {
            super(task, info, store);
            this.task = task;
        }

        public HotFixedMultiPointOutputStream(@NonNull DownloadTask task,
                                              @NonNull BreakpointInfo info,
                                              @NonNull DownloadStore store) {
            this(task, info, store, null);
        }

        @Override
        public synchronized void close(int blockIndex) throws IOException {
            final DownloadOutputStream outputStream = outputStreamMap.get(blockIndex);
            if (outputStream != null) {
                outputStream.close();
                synchronized (noSyncLengthMap) {
                    // make sure the length of noSyncLengthMap is equal to outputStreamMap
                    outputStreamMap.remove(blockIndex);
                    noSyncLengthMap.remove(blockIndex);
                }
            }
        }
    }
}

init singleton instance with the custom strategy

OkDownload.setSingletonInstance(new OkDownload.Builder(context).processFileStrategy(new HotFixedProcessFileStrategy()).build());

@hardikm9850
Copy link

hardikm9850 commented Jul 21, 2022

To the issue reader :
The close(index) function and other variables are not public anymore.
For this, create this file under package of same name i.e package com.liulishuo.okdownload.core.file;

@chenyi2013
Copy link

我发现了这个链接里边有提到解决办法:#31 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants