mikechambers / dcli

Command line utilities for Destiny 2
https://github.com/mikechambers/dcli
MIT License
87 stars 13 forks source link

DCLIM failing repeatedly when trying to download the manifest #13

Closed hiarthurbr closed 2 years ago

hiarthurbr commented 2 years ago

Describe the bug Running the command return: "The API request took too long. Check your network connection and try again. (The API servers may be slow right now).". I was able to reliable download the file multiple times by just clicking the link provided in the terminal

To Report Steps to reproduce the behavior: ✅1. Run command with '--verbose' flag ✅2. Copy output into bug report ✅3. Include app that was being run and time of day. (DCLIM -F -v) I ran the command multiple times in day 14 July 2021, between 10 and 11 AM GMT-3

Expected behavior It is my first time using DCLI, so I don't know what should be the expected behavior, but I can't use DCLIAH or other commands because of this DCLIAH output:

C:\Users\ot4r7>dcliah -m 4611686018491732737 -p steam
dcliah.exe : v0.6.2
Could not initialize manifest. Have you run dclim?
Expected File does not exist: Manifest path points to non-existent file. C:\Users\ot4r7\AppData\Local\dcli\manifest.sqlite3

Desktop (please complete the following information): I am using: Windows 10 Pro 21H1 (build 19043.1081) DCLI v0.6.2

Additional context I also tried to execute the same command as administrator, with no success, and same error Heres the terminal log:

C:\Users\ot4r7>dclim -F -v
Opt {
    data_dir: None,
    verbose: true,
    force: true,
    check: false,
    output: Default,
}
https://www.bungie.net/Platform/Destiny2/Manifest/
---------Begin API response : First 200  chars---------
{"Response":{"version":"94996.21.06.22.1900-3-bnet.38484","mobileAssetContentPath":"/common/destiny2_content/sqlite/asset/asset_sql_content_a1b01ff439a78f27c07fd5abc5abdfa1.content","mobileGearAssetDa
---------End API response---------
Remote Manifest version       94996.21.06.22.1900-3-bnet.38484
Remote Manifest url           https://www.bungie.net/common/destiny2_content/sqlite/en/world_sql_content_010ddd61e61c7e4e93e027580098312e.content
Updated manifest available    94996.21.06.22.1900-3-bnet.38484
Downloading manifest. This may take a bit of time.
https://www.bungie.net/common/destiny2_content/sqlite/en/world_sql_content_010ddd61e61c7e4e93e027580098312e.content
dclim.exe : v0.6.2
Could not download and save manifest
The API request took too long. Check your network connection and try again. (The API servers may be slow right now).

If you think you have hit a bug and would like to report it (or would just like some help):
    1. Run command with '--verbose' flag.
    2. Copy output, and log a bug at:
       https://github.com/mikechambers/dcli/issues

C:\Users\ot4r7>
mikechambers commented 2 years ago

Can you try running dclim again? Its possible the API servers were down for a bit when you were trying. If its still down, there are a couple of things to check (it might be a permission issue with where I download the manifest to).

Also how fast is your internet connection?

hiarthurbr commented 2 years ago

I tried again through the day (at least 5 times) and again a few minutes ago, same error For the sake of testing, I tried downloading to the default location, AppData, but also in C:\ and E:\ (All 3 should have app write permission, but who knows), all of them exited with the same error

C:\Users\ot4r7>dclim -D E:/dclim -v -F
Opt {
    data_dir: Some(
        "E:/dclim",
    ),
    verbose: true,
    force: true,
    check: false,
    output: Default,
}
https://www.bungie.net/Platform/Destiny2/Manifest/
---------Begin API response : First 200  chars---------
{"Response":{"version":"94996.21.06.22.1900-3-bnet.38484","mobileAssetContentPath":"/common/destiny2_content/sqlite/asset/asset_sql_content_a1b01ff439a78f27c07fd5abc5abdfa1.content","mobileGearAssetDa
---------End API response---------
Remote Manifest version       94996.21.06.22.1900-3-bnet.38484
Remote Manifest url           https://www.bungie.net/common/destiny2_content/sqlite/en/world_sql_content_010ddd61e61c7e4e93e027580098312e.content
Updated manifest available    94996.21.06.22.1900-3-bnet.38484
Downloading manifest. This may take a bit of time.
https://www.bungie.net/common/destiny2_content/sqlite/en/world_sql_content_010ddd61e61c7e4e93e027580098312e.content
dclim.exe : v0.6.2
Could not download and save manifest
The API request took too long. Check your network connection and try again. (The API servers may be slow right now).

If you think you have hit a bug and would like to report it (or would just like some help):
    1. Run command with '--verbose' flag.
    2. Copy output, and log a bug at:
       https://github.com/mikechambers/dcli/issues

And I have a pretty decent internet of 500Mb (SpeedTest Link) I might also try the linux version just to see if it is a windows bug

hiarthurbr commented 2 years ago

Tried with the linux version, and got the same error, I also tried with sudo to see if it wasn't a permission problem, got exactly the same error

$ sudo ./dclim -v
Opt {
    data_dir: None,
    verbose: true,
    force: false,
    check: false,
    output: Default,
}
https://www.bungie.net/Platform/Destiny2/Manifest/
---------Begin API response : First 200  chars---------
{"Response":{"version":"94996.21.06.22.1900-3-bnet.38484","mobileAssetContentPath":"/common/destiny2_content/sqlite/asset/asset_sql_content_a1b01ff439a78f27c07fd5abc5abdfa1.content","mobileGearAssetDa
---------End API response---------
Remote Manifest version       94996.21.06.22.1900-3-bnet.38484
Remote Manifest url           https://www.bungie.net/common/destiny2_content/sqlite/en/world_sql_content_010ddd61e61c7e4e93e027580098312e.content
Updated manifest available    94996.21.06.22.1900-3-bnet.38484
Downloading manifest. This may take a bit of time.
https://www.bungie.net/common/destiny2_content/sqlite/en/world_sql_content_010ddd61e61c7e4e93e027580098312e.content
dclim : v0.6.2
Could not download and save manifest
The API request took too long. Check your network connection and try again. (The API servers may be slow right now).

If you think you have hit a bug and would like to report it (or would just like some help):
    1. Run command with '--verbose' flag.
    2. Copy output, and log a bug at:
       https://github.com/mikechambers/dcli/issues
mikechambers commented 2 years ago

Thanks for the help on tracking this down. I am going to do a special build of dclim that has some extra debugging info / output to see if we can track down what is going on. Ill post here once its ready.

hiarthurbr commented 2 years ago

Closing this issue since it started working a long time ago, after some update on the destiny database, and because the issue has been abandoned a long time ago with no updates