ankidroid / ankidroid/Anki-Android-Backend

[CI] Add retry to 'Read Configure NDK version'

Open
#569 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
91
Forks
54
Avg merge
1d 36m
Merged PRs (30d)
12

Description

The following script needs a retry on the `cargo install` line:

https://github.com/ankidroid/Anki-Android-Backend/blob/0b27bed5dba2fe796f9964d0470868e8ec18f6ae/.github/workflows/build-quick.yml#L111-L116

Causes:

> ```
> info: syncing channel updates for '1.88.0-x86_64-pc-windows-msvc'
> error: failed to download file error=Reqwest(reqwest::Error { kind: Request, url: "https://static.rust-lang.org/dist/channel-rust-1.88.0.toml.sha256", source: hyper_util::client::legacy::Error(Connect, Custom { kind: Other, error: Os { code: 10054, kind: ConnectionReset, message: "An existing connection was forcibly closed by the remote host." } }) })
> error: could not download file from 'https://static.rust-lang.org/dist/channel-rust-1.88.0.toml.sha256' to 'C:\Users\runneradmin\.rustup\tmp\tjgt4vqc1h5a_e99_file': error downloading file: error sending request for url (https://static.rust-lang.org/dist/channel-rust-1.88.0.toml.sha256): client error (Connect): An existing connection was forcibly closed by the remote host. (os error 10054)
> ```
>
> https://github.com/ankidroid/Anki-Android-Backend/actions/runs/17214363705/job/48834143922

https://github.com/ankidroid/Anki-Android-Backend/pull/564#issuecomment-3221787509

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.