lingochamp / lingochamp/FileDownloader

response code error: 503

Open
#1,340 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
11.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

when on file is downloading no problem but when another file want to start get response code error: 503
server of files has no erroe

com.liulishuo.filedownloader:library:1.7.7 is used

filedownloader W/FileDownloader.FileDownloadUtils: don't get instance length fromContent-Range header
/download: response code error: 503,
request headers: {If-Match=["519c33ce-c2c6bbb"], Range=[bytes=0-0], User-Agent=[FileDownloader/1.7.7]}
response headers: {null=[HTTP/1.1 503 Service Temporarily Unavailable], Connection=[keep-alive], Content-Length=[222], Content-Type=[text/html], Date=[Fri, 22 May 2020 17:26:03 GMT], Server=[nginx/1.14.0 (Ubuntu)], X-Android-Received-Millis=[1590168361591], X-Android-Response-Source=[NETWORK 503], X-Android-Selected-Protocol=[http/1.1], X-Android-Sent-Millis=[1590168361028]}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported concurrent-download scenario and the FileDownloader 1.7.7 log, especially the request and response headers around the 503. Reproduce the failure with one download followed by a second and compare it with a single download. Done means identifying whether the library or the file server causes the 503 and documenting or fixing the confirmed cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.