an-anime-team / the-honkers-railway-launcher

The Honkers Railway launcher for Linux with automatic patching and telemetry disabling
https://discord.gg/ck37X6UWBp
GNU General Public License v3.0
569 stars 14 forks source link

Failed to fetch patch info #80

Open aschereT opened 9 months ago

aschereT commented 9 months ago

When starting the launcher, the start button is disabled. Here is the debug log:

  2023-10-20T06:28:35.003915Z  INFO honkers_railway_launcher: Starting application (1.4.0)
    at src/main.rs:157

  2023-10-20T06:28:35.050290Z DEBUG anime_launcher_sdk::config: Reading config data from file
    at /var/home/observer/.cargo/git/checkouts/anime-launcher-sdk-72c1eacede3fc588/b858205/src/config/mod.rs:41

  2023-10-20T06:28:35.050378Z  INFO honkers_railway_launcher: Set UI language to en-US
    at src/main.rs:208

  2023-10-20T06:28:35.051927Z  INFO honkers_railway_launcher::ui::main: Initializing main window
    at src/ui/main/mod.rs:622

  2023-10-20T06:28:35.067885Z  INFO honkers_railway_launcher::ui::about: Initializing about dialog
    at src/ui/about.rs:144

  2023-10-20T06:28:35.076249Z  INFO honkers_railway_launcher::ui::main: Main window initialized
    at src/ui/main/mod.rs:807

  2023-10-20T06:28:35.076336Z  INFO honkers_railway_launcher::ui::main: Initializing heavy tasks
    at src/ui/main/mod.rs:813

  2023-10-20T06:28:35.076451Z TRACE anime_game_core::traits::git_sync: Checking local repository sync state: "/home/aschere/.local/share/honkers-railway-launcher/components"
    at /var/home/observer/.cargo/git/checkouts/anime-game-core-31370ac61699cd7f/e34a35e/src/traits/git_sync.rs:21

  2023-10-20T06:28:35.076469Z TRACE anime_game_core::traits::git_sync: Checking local repository sync state. Folder: "/home/aschere/.local/share/honkers-railway-launcher/components". Remote: https://github.com/an-anime-team/components
    at /var/home/observer/.cargo/git/checkouts/anime-game-core-31370ac61699cd7f/e34a35e/src/traits/git_sync.rs:40

  2023-10-20T06:28:35.076511Z TRACE minreq::connection: Setting up TLS parameters for codeberg.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:167

  2023-10-20T06:28:35.076539Z DEBUG anime_game_core::games::star_rail::game: Trying to find version diff for the game
    at /var/home/observer/.cargo/git/checkouts/anime-game-core-31370ac61699cd7f/e34a35e/src/games/star_rail/game.rs:116
    in anime_game_core::games::star_rail::game::try_get_diff with self: Game { path: "/home/aschere/.local/share/honkers-railway-launcher/HSR", edition: Global }

  2023-10-20T06:28:35.076555Z TRACE anime_game_core::games::star_rail::api: Fetching API for Global
    at /var/home/observer/.cargo/git/checkouts/anime-game-core-31370ac61699cd7f/e34a35e/src/games/star_rail/api/mod.rs:12
    in anime_game_core::games::star_rail::api::request with game_edition: Global
    in anime_game_core::games::star_rail::game::try_get_diff with self: Game { path: "/home/aschere/.local/share/honkers-railway-launcher/HSR", edition: Global }

  2023-10-20T06:28:35.076651Z TRACE minreq::connection: Setting up TLS parameters for hkrpg-launcher-static.hoyoverse.com.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:167

  2023-10-20T06:28:35.077069Z TRACE minreq::connection: Establishing TCP connection to codeberg.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:175

  2023-10-20T06:28:35.077077Z TRACE minreq::connection: Establishing TCP connection to hkrpg-launcher-static.hoyoverse.com.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:175

  2023-10-20T06:28:35.077902Z TRACE minreq::connection: Timeout requested, it is currently: Ok(None)
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:154

  2023-10-20T06:28:35.148414Z  INFO honkers_railway_launcher::ui::preferences::main: Initializing preferences window
    at src/ui/preferences/main.rs:82

  2023-10-20T06:28:35.150154Z  INFO honkers_railway_launcher::ui::preferences::general: Initializing general settings
    at src/ui/preferences/general/mod.rs:452

  2023-10-20T06:28:35.150205Z  INFO honkers_railway_launcher::ui::migrate_installation: Initializing migration window
    at src/ui/migrate_installation.rs:46

  2023-10-20T06:28:35.156262Z DEBUG honkers_railway_launcher::ui::preferences::general: Called general settings event: UpdateDownloadedWine
    at src/ui/preferences/general/mod.rs:478
    in relm4::component::r#async::builder::update_with_view with input: UpdateDownloadedWine, component: "honkers_railway_launcher::ui::preferences::general::GeneralApp", id: "0x7ffec7446b30"

  2023-10-20T06:28:35.156291Z DEBUG honkers_railway_launcher::ui::preferences::general: Called general settings event: UpdateDownloadedDxvk
    at src/ui/preferences/general/mod.rs:478
    in relm4::component::r#async::builder::update_with_view with input: UpdateDownloadedDxvk, component: "honkers_railway_launcher::ui::preferences::general::GeneralApp", id: "0x7ffec7446b30"

  2023-10-20T06:28:35.156302Z  INFO honkers_railway_launcher::ui::preferences::enhancements: Initializing enhancements settings
    at src/ui/preferences/enhancements/mod.rs:569

  2023-10-20T06:28:35.157800Z TRACE minreq::connection: Setting up TLS parameters for discord.com.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:167

  2023-10-20T06:28:35.157845Z TRACE minreq::connection: Establishing TCP connection to discord.com.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:175

  2023-10-20T06:28:35.165776Z TRACE minreq::connection: Timeout requested, it is currently: Ok(None)
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:154

  2023-10-20T06:28:35.170705Z TRACE minreq::connection: Establishing TLS session to discord.com.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:179

  2023-10-20T06:28:35.170713Z TRACE minreq::connection: Writing HTTPS request to discord.com.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:181

  2023-10-20T06:28:35.170718Z TRACE minreq::connection: Timeout requested, it is currently: Ok(None)
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:154

  2023-10-20T06:28:35.175886Z TRACE minreq::connection: Timeout requested, it is currently: Ok(Some(7.900679353s))
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:154

  2023-10-20T06:28:35.177720Z TRACE minreq::connection: Reading HTTPS response from discord.com.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:186

  2023-10-20T06:28:35.180492Z TRACE minreq::connection: Establishing TLS session to hkrpg-launcher-static.hoyoverse.com.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:179

  2023-10-20T06:28:35.180499Z TRACE minreq::connection: Writing HTTPS request to hkrpg-launcher-static.hoyoverse.com.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:181

  2023-10-20T06:28:35.180504Z TRACE minreq::connection: Timeout requested, it is currently: Ok(Some(7.896060467s))
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:154

  2023-10-20T06:28:35.187605Z TRACE minreq::connection: Reading HTTPS response from hkrpg-launcher-static.hoyoverse.com.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:186

  2023-10-20T06:28:35.198884Z DEBUG anime_game_core::games::star_rail::game: Trying to get installed game version
    at /var/home/observer/.cargo/git/checkouts/anime-game-core-31370ac61699cd7f/e34a35e/src/games/star_rail/game.rs:50
    in anime_game_core::games::star_rail::game::get_version with self: Game { path: "/home/aschere/.local/share/honkers-railway-launcher/HSR", edition: Global }
    in anime_game_core::games::star_rail::game::try_get_diff with self: Game { path: "/home/aschere/.local/share/honkers-railway-launcher/HSR", edition: Global }

  2023-10-20T06:28:35.200252Z DEBUG anime_game_core::games::star_rail::game: return: Ok(1.4.0)
    at /var/home/observer/.cargo/git/checkouts/anime-game-core-31370ac61699cd7f/e34a35e/src/games/star_rail/game.rs:48
    in anime_game_core::games::star_rail::game::get_version with self: Game { path: "/home/aschere/.local/share/honkers-railway-launcher/HSR", edition: Global }
    in anime_game_core::games::star_rail::game::try_get_diff with self: Game { path: "/home/aschere/.local/share/honkers-railway-launcher/HSR", edition: Global }

  2023-10-20T06:28:35.200260Z DEBUG anime_game_core::games::star_rail::game: Game version is latest
    at /var/home/observer/.cargo/git/checkouts/anime-game-core-31370ac61699cd7f/e34a35e/src/games/star_rail/game.rs:146
    in anime_game_core::games::star_rail::game::try_get_diff with self: Game { path: "/home/aschere/.local/share/honkers-railway-launcher/HSR", edition: Global }

  2023-10-20T06:28:35.200264Z DEBUG anime_game_core::games::star_rail::game: return: Ok(Latest { version: 1.4.0, edition: Global })
    at /var/home/observer/.cargo/git/checkouts/anime-game-core-31370ac61699cd7f/e34a35e/src/games/star_rail/game.rs:114
    in anime_game_core::games::star_rail::game::try_get_diff with self: Game { path: "/home/aschere/.local/share/honkers-railway-launcher/HSR", edition: Global }

  2023-10-20T06:28:35.200270Z  INFO honkers_railway_launcher::ui::main: Updated game version status
    at src/ui/main/mod.rs:927

  2023-10-20T06:28:35.374997Z TRACE anime_launcher_sdk: Checking package availability
    at /var/home/observer/.cargo/git/checkouts/anime-launcher-sdk-72c1eacede3fc588/b858205/src/lib.rs:44
    in anime_launcher_sdk::is_available with binary: "gamemoderun"

  2023-10-20T06:28:35.375287Z TRACE anime_launcher_sdk: return: true
    at /var/home/observer/.cargo/git/checkouts/anime-launcher-sdk-72c1eacede3fc588/b858205/src/lib.rs:42
    in anime_launcher_sdk::is_available with binary: "gamemoderun"

  2023-10-20T06:28:35.375327Z TRACE anime_launcher_sdk: Checking package availability
    at /var/home/observer/.cargo/git/checkouts/anime-launcher-sdk-72c1eacede3fc588/b858205/src/lib.rs:44
    in anime_launcher_sdk::is_available with binary: "gamescope"

  2023-10-20T06:28:35.375582Z TRACE anime_launcher_sdk: return: true
    at /var/home/observer/.cargo/git/checkouts/anime-launcher-sdk-72c1eacede3fc588/b858205/src/lib.rs:42
    in anime_launcher_sdk::is_available with binary: "gamescope"

  2023-10-20T06:28:35.376032Z DEBUG honkers_railway_launcher::ui::main: Called main window event: SetGameDiff(Some(Latest { version: 1.4.0, edition: Global }))
    at src/ui/main/mod.rs:951
    in relm4::component::sync::builder::update_with_view with input: SetGameDiff(Some(Latest { version: 1.4.0, edition: Global })), component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:35.377887Z  INFO honkers_railway_launcher::ui::preferences::general::components: Initializing general settings -> components page
    at src/ui/preferences/general/components.rs:250

  2023-10-20T06:28:35.377990Z DEBUG anime_launcher_sdk::components::loader: Getting wine versions
    at /var/home/observer/.cargo/git/checkouts/anime-launcher-sdk-72c1eacede3fc588/b858205/src/components/loader.rs:12
    in anime_launcher_sdk::components::loader::get_wine_versions with index: "/home/aschere/.local/share/honkers-railway-launcher/components"
    in anime_launcher_sdk::components::loader::get_wine_versions with self: ComponentsLoader { folder: "/home/aschere/.local/share/honkers-railway-launcher/components" }

  2023-10-20T06:28:35.378330Z DEBUG anime_launcher_sdk::components::loader: Getting dxvk versions
    at /var/home/observer/.cargo/git/checkouts/anime-launcher-sdk-72c1eacede3fc588/b858205/src/components/loader.rs:83
    in anime_launcher_sdk::components::loader::get_dxvk_versions with index: "/home/aschere/.local/share/honkers-railway-launcher/components"
    in anime_launcher_sdk::components::loader::get_dxvk_versions with self: ComponentsLoader { folder: "/home/aschere/.local/share/honkers-railway-launcher/components" }

  2023-10-20T06:28:35.380501Z DEBUG honkers_railway_launcher::ui::preferences::general::components: Called general settings event: UpdateDownloadedWine
    at src/ui/preferences/general/components.rs:340
    in relm4::component::r#async::builder::update_with_view with input: UpdateDownloadedWine, component: "honkers_railway_launcher::ui::preferences::general::components::ComponentsPage", id: "0x7ffec7446bb0"

  2023-10-20T06:28:35.380736Z DEBUG honkers_railway_launcher::ui::preferences::general::components: Called general settings event: UpdateDownloadedDxvk
    at src/ui/preferences/general/components.rs:340
    in relm4::component::r#async::builder::update_with_view with input: UpdateDownloadedDxvk, component: "honkers_railway_launcher::ui::preferences::general::components::ComponentsPage", id: "0x7ffec7446bb0"

  2023-10-20T06:28:35.382579Z  INFO honkers_railway_launcher::ui::preferences::gamescope: Initializing gamescope settings
    at src/ui/preferences/gamescope.rs:266

  2023-10-20T06:28:35.385663Z  INFO honkers_railway_launcher::ui::preferences::enhancements::game: Initializing game settings
    at src/ui/preferences/enhancements/game.rs:162

  2023-10-20T06:28:35.385962Z  WARN anime_launcher_sdk::games::star_rail::sessions: Session file doesn't exist. Returning default value
    at /var/home/observer/.cargo/git/checkouts/anime-launcher-sdk-72c1eacede3fc588/b858205/src/games/star_rail/sessions.rs:38

  2023-10-20T06:28:35.385973Z  WARN anime_launcher_sdk::games::star_rail::sessions: Session file doesn't exist. Returning default value
    at /var/home/observer/.cargo/git/checkouts/anime-launcher-sdk-72c1eacede3fc588/b858205/src/games/star_rail/sessions.rs:38

  2023-10-20T06:28:35.386370Z  INFO honkers_railway_launcher::ui::preferences::enhancements::sandbox: Initializing sandbox settings
    at src/ui/preferences/enhancements/sandbox.rs:335

  2023-10-20T06:28:35.388763Z TRACE anime_launcher_sdk: Checking package availability
    at /var/home/observer/.cargo/git/checkouts/anime-launcher-sdk-72c1eacede3fc588/b858205/src/lib.rs:44
    in anime_launcher_sdk::is_available with binary: "bwrap"

  2023-10-20T06:28:35.389033Z TRACE anime_launcher_sdk: return: true
    at /var/home/observer/.cargo/git/checkouts/anime-launcher-sdk-72c1eacede3fc588/b858205/src/lib.rs:42
    in anime_launcher_sdk::is_available with binary: "bwrap"

  2023-10-20T06:28:35.389199Z  INFO honkers_railway_launcher::ui::preferences::enhancements::environment: Initializing environment settings
    at src/ui/preferences/enhancements/environment.rs:164

  2023-10-20T06:28:35.393833Z DEBUG honkers_railway_launcher::ui::preferences::main: Called preferences window event: SetGameDiff(Some(Latest { version: 1.4.0, edition: Global }))
    at src/ui/preferences/main.rs:113
    in relm4::component::r#async::builder::update_with_view with input: SetGameDiff(Some(Latest { version: 1.4.0, edition: Global })), component: "honkers_railway_launcher::ui::preferences::main::PreferencesApp", id: "0x7ffec7446b80"

  2023-10-20T06:28:35.395605Z DEBUG honkers_railway_launcher::ui::preferences::general: Called general settings event: SetGameDiff(Some(Latest { version: 1.4.0, edition: Global }))
    at src/ui/preferences/general/mod.rs:478
    in relm4::component::r#async::builder::update_with_view with input: SetGameDiff(Some(Latest { version: 1.4.0, edition: Global })), component: "honkers_railway_launcher::ui::preferences::general::GeneralApp", id: "0x7ffec7446b30"

  2023-10-20T06:28:35.579664Z  WARN anime_game_core::patches::jadeite: Could not reach 'https://codeberg.org/mkrsym1/jadeite/raw/branch/master/metadata.json'. Attempting to use next fallback
    at /var/home/observer/.cargo/git/checkouts/anime-game-core-31370ac61699cd7f/e34a35e/src/patches/jadeite/mod.rs:67

  2023-10-20T06:28:35.579684Z TRACE minreq::connection: Setting up TLS parameters for notabug.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:167

  2023-10-20T06:28:35.579737Z TRACE minreq::connection: Establishing TCP connection to notabug.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:175

  2023-10-20T06:28:35.599407Z TRACE minreq::connection: Timeout requested, it is currently: Ok(None)
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:154

  2023-10-20T06:28:37.099247Z  WARN anime_game_core::patches::jadeite: Could not reach 'https://notabug.org/mkrsym1/jadeite-mirror/raw/master/metadata.json'. Attempting to use next fallback
    at /var/home/observer/.cargo/git/checkouts/anime-game-core-31370ac61699cd7f/e34a35e/src/patches/jadeite/mod.rs:67

  2023-10-20T06:28:37.099267Z ERROR honkers_railway_launcher::ui::main: Failed to fetch patch metadata: Could not get metadata from any of the mirrors
    at src/ui/main/mod.rs:896

  2023-10-20T06:28:37.099285Z  INFO honkers_railway_launcher::ui::main: Updated patch status
    at src/ui/main/mod.rs:907

  2023-10-20T06:28:37.099498Z  INFO honkers_railway_launcher::ui::main: App is ready
    at src/ui/main/mod.rs:944

  2023-10-20T06:28:37.099523Z DEBUG honkers_railway_launcher::ui::main: Called main window event: Toast { title: "Failed to fetch patch info", description: Some("Could not get metadata from any of the mirrors") }
    at src/ui/main/mod.rs:951
    in relm4::component::sync::builder::update_with_view with input: Toast { title: "Failed to fetch patch info", description: Some("Could not get metadata from any of the mirrors") }, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:37.100268Z DEBUG honkers_railway_launcher::ui::main: Called main window event: SetMainPatch(None)
    at src/ui/main/mod.rs:951
    in relm4::component::sync::builder::update_with_view with input: SetMainPatch(None), component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:37.100298Z DEBUG honkers_railway_launcher::ui::main: Called main window event: UpdateLauncherState { perform_on_download_needed: false, show_status_page: true }
    at src/ui/main/mod.rs:951
    in relm4::component::sync::builder::update_with_view with input: UpdateLauncherState { perform_on_download_needed: false, show_status_page: true }, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:37.100305Z DEBUG anime_launcher_sdk::games::star_rail::states: Trying to get launcher state
    at /var/home/observer/.cargo/git/checkouts/anime-launcher-sdk-72c1eacede3fc588/b858205/src/games/star_rail/states.rs:143
    in anime_launcher_sdk::games::star_rail::states::get_from_config
    in relm4::component::sync::builder::update_with_view with input: UpdateLauncherState { perform_on_download_needed: false, show_status_page: true }, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:37.100373Z DEBUG anime_launcher_sdk::games::star_rail::states: Trying to get launcher state
    at /var/home/observer/.cargo/git/checkouts/anime-launcher-sdk-72c1eacede3fc588/b858205/src/games/star_rail/states.rs:62
    in anime_launcher_sdk::games::star_rail::states::get_from_config
    in relm4::component::sync::builder::update_with_view with input: UpdateLauncherState { perform_on_download_needed: false, show_status_page: true }, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:37.100385Z DEBUG anime_game_core::games::star_rail::game: Trying to find version diff for the game
    at /var/home/observer/.cargo/git/checkouts/anime-game-core-31370ac61699cd7f/e34a35e/src/games/star_rail/game.rs:116
    in anime_game_core::games::star_rail::game::try_get_diff with self: Game { path: "/home/aschere/.local/share/honkers-railway-launcher/HSR", edition: Global }
    in anime_launcher_sdk::games::star_rail::states::get_from_config
    in relm4::component::sync::builder::update_with_view with input: UpdateLauncherState { perform_on_download_needed: false, show_status_page: true }, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:37.100406Z DEBUG anime_game_core::games::star_rail::game: Trying to get installed game version
    at /var/home/observer/.cargo/git/checkouts/anime-game-core-31370ac61699cd7f/e34a35e/src/games/star_rail/game.rs:50
    in anime_game_core::games::star_rail::game::get_version with self: Game { path: "/home/aschere/.local/share/honkers-railway-launcher/HSR", edition: Global }
    in anime_game_core::games::star_rail::game::try_get_diff with self: Game { path: "/home/aschere/.local/share/honkers-railway-launcher/HSR", edition: Global }
    in anime_launcher_sdk::games::star_rail::states::get_from_config
    in relm4::component::sync::builder::update_with_view with input: UpdateLauncherState { perform_on_download_needed: false, show_status_page: true }, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:37.101619Z DEBUG anime_game_core::games::star_rail::game: return: Ok(1.4.0)
    at /var/home/observer/.cargo/git/checkouts/anime-game-core-31370ac61699cd7f/e34a35e/src/games/star_rail/game.rs:48
    in anime_game_core::games::star_rail::game::get_version with self: Game { path: "/home/aschere/.local/share/honkers-railway-launcher/HSR", edition: Global }
    in anime_game_core::games::star_rail::game::try_get_diff with self: Game { path: "/home/aschere/.local/share/honkers-railway-launcher/HSR", edition: Global }
    in anime_launcher_sdk::games::star_rail::states::get_from_config
    in relm4::component::sync::builder::update_with_view with input: UpdateLauncherState { perform_on_download_needed: false, show_status_page: true }, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:37.101625Z DEBUG anime_game_core::games::star_rail::game: Game version is latest
    at /var/home/observer/.cargo/git/checkouts/anime-game-core-31370ac61699cd7f/e34a35e/src/games/star_rail/game.rs:146
    in anime_game_core::games::star_rail::game::try_get_diff with self: Game { path: "/home/aschere/.local/share/honkers-railway-launcher/HSR", edition: Global }
    in anime_launcher_sdk::games::star_rail::states::get_from_config
    in relm4::component::sync::builder::update_with_view with input: UpdateLauncherState { perform_on_download_needed: false, show_status_page: true }, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:37.101629Z DEBUG anime_game_core::games::star_rail::game: return: Ok(Latest { version: 1.4.0, edition: Global })
    at /var/home/observer/.cargo/git/checkouts/anime-game-core-31370ac61699cd7f/e34a35e/src/games/star_rail/game.rs:114
    in anime_game_core::games::star_rail::game::try_get_diff with self: Game { path: "/home/aschere/.local/share/honkers-railway-launcher/HSR", edition: Global }
    in anime_launcher_sdk::games::star_rail::states::get_from_config
    in relm4::component::sync::builder::update_with_view with input: UpdateLauncherState { perform_on_download_needed: false, show_status_page: true }, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:37.101641Z TRACE minreq::connection: Setting up TLS parameters for codeberg.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:167
    in anime_launcher_sdk::games::star_rail::states::get_from_config
    in relm4::component::sync::builder::update_with_view with input: UpdateLauncherState { perform_on_download_needed: false, show_status_page: true }, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:37.101676Z TRACE minreq::connection: Establishing TCP connection to codeberg.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:175
    in anime_launcher_sdk::games::star_rail::states::get_from_config
    in relm4::component::sync::builder::update_with_view with input: UpdateLauncherState { perform_on_download_needed: false, show_status_page: true }, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:37.101960Z TRACE minreq::connection: Timeout requested, it is currently: Ok(None)
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:154
    in anime_launcher_sdk::games::star_rail::states::get_from_config
    in relm4::component::sync::builder::update_with_view with input: UpdateLauncherState { perform_on_download_needed: false, show_status_page: true }, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:38.599246Z  WARN anime_game_core::patches::jadeite: Could not reach 'https://codeberg.org/mkrsym1/jadeite/raw/branch/master/metadata.json'. Attempting to use next fallback
    at /var/home/observer/.cargo/git/checkouts/anime-game-core-31370ac61699cd7f/e34a35e/src/patches/jadeite/mod.rs:67
    in anime_launcher_sdk::games::star_rail::states::get_from_config
    in relm4::component::sync::builder::update_with_view with input: UpdateLauncherState { perform_on_download_needed: false, show_status_page: true }, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:38.599264Z TRACE minreq::connection: Setting up TLS parameters for notabug.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:167
    in anime_launcher_sdk::games::star_rail::states::get_from_config
    in relm4::component::sync::builder::update_with_view with input: UpdateLauncherState { perform_on_download_needed: false, show_status_page: true }, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:38.599310Z TRACE minreq::connection: Establishing TCP connection to notabug.org.
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:175
    in anime_launcher_sdk::games::star_rail::states::get_from_config
    in relm4::component::sync::builder::update_with_view with input: UpdateLauncherState { perform_on_download_needed: false, show_status_page: true }, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:38.599543Z TRACE minreq::connection: Timeout requested, it is currently: Ok(None)
    at /var/home/observer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/minreq-2.8.1/src/connection.rs:154
    in anime_launcher_sdk::games::star_rail::states::get_from_config
    in relm4::component::sync::builder::update_with_view with input: UpdateLauncherState { perform_on_download_needed: false, show_status_page: true }, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:40.099235Z  WARN anime_game_core::patches::jadeite: Could not reach 'https://notabug.org/mkrsym1/jadeite-mirror/raw/master/metadata.json'. Attempting to use next fallback
    at /var/home/observer/.cargo/git/checkouts/anime-game-core-31370ac61699cd7f/e34a35e/src/patches/jadeite/mod.rs:67
    in anime_launcher_sdk::games::star_rail::states::get_from_config
    in relm4::component::sync::builder::update_with_view with input: UpdateLauncherState { perform_on_download_needed: false, show_status_page: true }, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:40.099251Z DEBUG anime_launcher_sdk::games::star_rail::states: return: Err(Could not get metadata from any of the mirrors)
    at /var/home/observer/.cargo/git/checkouts/anime-launcher-sdk-72c1eacede3fc588/b858205/src/games/star_rail/states.rs:141
    in anime_launcher_sdk::games::star_rail::states::get_from_config
    in relm4::component::sync::builder::update_with_view with input: UpdateLauncherState { perform_on_download_needed: false, show_status_page: true }, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:40.099264Z ERROR honkers_railway_launcher::ui::main: Failed to update launcher state: Could not get metadata from any of the mirrors
    at src/ui/main/mod.rs:979
    in relm4::component::sync::builder::update_with_view with input: UpdateLauncherState { perform_on_download_needed: false, show_status_page: true }, component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:40.099709Z DEBUG honkers_railway_launcher::ui::main: Called main window event: SetLoadingStatus(Some(Some("Loading launcher state")))
    at src/ui/main/mod.rs:951
    in relm4::component::sync::builder::update_with_view with input: SetLoadingStatus(Some(Some("Loading launcher state"))), component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:40.099757Z DEBUG honkers_railway_launcher::ui::main: Called main window event: SetLoadingStatus(Some(Some("Loading launcher state: verifying game version")))
    at src/ui/main/mod.rs:951
    in relm4::component::sync::builder::update_with_view with input: SetLoadingStatus(Some(Some("Loading launcher state: verifying game version"))), component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:40.099787Z DEBUG honkers_railway_launcher::ui::main: Called main window event: SetLoadingStatus(Some(Some("Loading launcher state: verifying installed patch")))
    at src/ui/main/mod.rs:951
    in relm4::component::sync::builder::update_with_view with input: SetLoadingStatus(Some(Some("Loading launcher state: verifying installed patch"))), component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:40.099813Z DEBUG honkers_railway_launcher::ui::main: Called main window event: SetLauncherState(None)
    at src/ui/main/mod.rs:951
    in relm4::component::sync::builder::update_with_view with input: SetLauncherState(None), component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:40.099832Z DEBUG honkers_railway_launcher::ui::main: Called main window event: SetLoadingStatus(None)
    at src/ui/main/mod.rs:951
    in relm4::component::sync::builder::update_with_view with input: SetLoadingStatus(None), component: "honkers_railway_launcher::ui::main::App", id: "0x7ffec7445790"

  2023-10-20T06:28:40.100603Z DEBUG honkers_railway_launcher::ui::preferences::main: Called preferences window event: SetMainPatch(None)
    at src/ui/preferences/main.rs:113
    in relm4::component::r#async::builder::update_with_view with input: SetMainPatch(None), component: "honkers_railway_launcher::ui::preferences::main::PreferencesApp", id: "0x7ffec7446b80"

  2023-10-20T06:28:40.100639Z DEBUG honkers_railway_launcher::ui::preferences::general: Called general settings event: SetMainPatch(None)
    at src/ui/preferences/general/mod.rs:478
    in relm4::component::r#async::builder::update_with_view with input: SetMainPatch(None), component: "honkers_railway_launcher::ui::preferences::general::GeneralApp", id: "0x7ffec7446b30"

And curls to the 2 files:

❯ curl https://notabug.org/mkrsym1/jadeite-mirror/raw/master/metadata.json
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">

<html>
<head data-suburl="">
  <meta name="generator" content=
  "HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
  <meta http-equiv="Content-Type" content=
  "text/html; charset=us-ascii">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <link rel="shortcut icon" href="/img/favicon.png">
  <link rel="stylesheet" href="/error/css/ui.css" type="text/css">
  <link rel="stylesheet" href="/error/css/gogs.css" type=
  "text/css">

  <title>ERROR! :( NotABug.org: Free code hosting</title>
</head>

<body>
  <div id="wrapper">
    <div id="promo-wrapper">
      <div class="container clear">
        <div id="promo-logo" class="left"><img src=
        "/error/notabug-error.png" alt="logo"></div>

        <div id="promo-content">
          <h1>NotABug.org</h1>

          <h2>NotABug is experiencing an issue.</h2>
     <h3>Please refresh the page</h3>
        </div>
      </div>
    </div>

    <div id="feature-wrapper">
      <div class="container clear">
        <p>If this error persists please contact us at <a href=
        "mailto:admin@notabug.org">admin@notabug.org</a>. We
        apologize for the inconvenience. Our bug elves are working
        hard to restore the service.</p>

        <p>The <a href="mailto:admin@notabug.org">appropriate
        people</a> are being blamed as you're reading this.</p>
    <p>(This most definitely is a bug)</p>
      </div>
    </div>
  </div>
</body>
</html>
❯ curl https://codeberg.org/mkrsym1/jadeite/raw/branch/master/metadata.json
{
    "jadeite": {
        "version": "3.0.9"
    },
    "games": {
        "hi3rd": {
            "global": {
                "status": "verified",
                "version": "6.9.0"
            },
            "sea": {
                "status": "verified",
                "version": "6.9.0"
            },
            "china": {
                "status": "verified",
                "version": "7.0.0"
            },
            "taiwan": {
                "status": "verified",
                "version": "6.9.0"
            },
            "korea": {
                "status": "verified",
                "version": "6.9.0"
            },
            "japan": {
                "status": "verified",
                "version": "6.9.0"
            }
        },
        "hsr": {
            "global": {
                "status": "verified",
                "version": "1.4.0"
            },
            "china": {
                "status": "verified",
                "version": "1.4.0"
            }
        }
    }
}

Odd, because from what I see from the logs, it should've tried codeberg first.

OS: Manjaro Linux x86_64
Host: B550M Steel Legend
Kernel: 6.5.5-1-MANJARO
Packages: 1597 (pacman), 34 (flatpak)
Shell: zsh 5.9
Resolution: 2560x1440
DE: Plasma 5.27.8
WM: kwin
WM Theme: Breeze
Theme: [Plasma], Breeze [GTK2/3]
Icons: breeze-dark [Plasma], breeze-dark [GTK2/3]
Terminal: kitty
CPU: AMD Ryzen 9 5900X (24) @ 3.700GHz
GPU: AMD ATI Radeon RX 6800 XT
Memory: 3274MiB / 64222MiB
mkrsym1 commented 9 months ago

From the logs, it has tried to reach both and failed both times. The issue might be misconfigured IPv6: minreq tries to use it by default if it's available, even if it does not actually work, and does not try to use IPv4 afterwards.

Clarification: the logs say that it failed to reach both, and not to parse the output. A failure to parse the response would look different. This has nothing to do with NotABug returning an error, as that would have caused a parsing error.

aschereT commented 9 months ago
❯ curl https://notabug.org/mkrsym1/jadeite-mirror/raw/master/metadata.json -6
curl: (7) Failed to connect to notabug.org port 443 after 1496 ms: Couldn't connect to server
❯ curl https://codeberg.org/mkrsym1/jadeite/raw/branch/master/metadata.json -6
curl: (7) Failed to connect to codeberg.org port 443 after 1496 ms: Couldn't connect to server

Oh that seems correct!