Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

HTTP 403 from the tool cache #12

Open
2 of 3 tasks
torhovland opened this issue Feb 16, 2021 · 3 comments
Open
2 of 3 tasks

HTTP 403 from the tool cache #12

torhovland opened this issue Feb 16, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@torhovland
Copy link

Do the checklist before filing an issue:

Description

When actions-rs/[email protected] tries to download a crate from the tools cache, it gets an Unexpected HTTP response: 403.

Workflow code

name: Deploy

on: push

jobs:
  deploy:
    name: Deploy
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - name: Install Rust tools
        uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          target: wasm32-unknown-unknown
          toolchain: stable
          override: true

      - name: Install Trunk
        uses: actions-rs/[email protected]
        with:
          crate: trunk
          version: latest
          use-tool-cache: true

Action output

Run actions-rs/[email protected]
  with:
    crate: trunk
    version: latest
    use-tool-cache: true
    use-cache: true
Tool cache is explicitly enabled via the Action input
Downloading from the tool cache
  Newest trunk version available at crates.io: 0.8.2
  Downloading trunk signature into /tmp/trunk.zip.sig
  Warning: Unable to download trunk == latest from the tool cache: Error: Unexpected HTTP response: 403

Expected behavior

That Trunk got quickly installed using the tool cache.

@torhovland torhovland added the bug Something isn't working label Feb 16, 2021
@kreibaum
Copy link

I found a very similar looking issues in the old repo: actions-rs/tool-cache#23 and that one is apparently related to actions-rs/tool-cache#18 which might be the root issue.

Something about the action seems to get disabled, if there has been no activity on the repo for 60 days.

rivy added a commit to rivy/rs.coreutils that referenced this issue May 31, 2021
# [why]

The tool cache is currently failing and seems to be getting further behind current
versions. The [actions-rs/install#12] issue addresses this but seems to be
languishing without any proposed solution.

[ref]: <actions-rs/install#12>
rivy added a commit to rivy/rs.coreutils that referenced this issue Jun 4, 2021
# [why]

The tool cache is currently failing and seems to be getting further behind current
versions. The [actions-rs/install#12] issue addresses this but seems to be
languishing without any proposed solution.

[ref]: <actions-rs/install#12>
rivy added a commit to rivy/rs.coreutils that referenced this issue Jun 5, 2021
# [why]

The tool cache is currently failing and seems to be getting further behind current
versions. The [actions-rs/install#12] issue addresses this but seems to be
languishing without any proposed solution.

[ref]: <actions-rs/install#12>
rivy added a commit to rivy/rs.coreutils that referenced this issue Jun 7, 2021
# [why]

The tool cache is currently failing and seems to be getting further behind current
versions. The [actions-rs/install#12] issue addresses this but seems to be
languishing without any proposed solution.

[ref]: <actions-rs/install#12>
@PoignardAzur
Copy link

Is there any progress on this issue? I just tried using tool-cache on wasm-pack and got a 403.

rivy added a commit to rivy/rs.coreutils that referenced this issue Nov 10, 2021
# [why]

The tool cache is currently failing and seems to be getting further behind current
versions. The [actions-rs/install#12] issue addresses this but seems to be
languishing without any proposed solution.

[ref]: <actions-rs/install#12>
rivy added a commit to rivy/rs.coreutils that referenced this issue Nov 11, 2021
# [why]

The tool cache is currently failing and seems to be getting further behind current
versions. The [actions-rs/install#12] issue addresses this but seems to be
languishing without any proposed solution.

[ref]: <actions-rs/install#12>
rivy added a commit to rivy/rs.coreutils that referenced this issue Nov 13, 2021
# [why]

The tool cache is currently failing and seems to be getting further behind current
versions. The [actions-rs/install#12] issue addresses this but seems to be
languishing without any proposed solution.

[ref]: <actions-rs/install#12>
rivy added a commit to rivy/rs.coreutils that referenced this issue Nov 13, 2021
# [why]

The tool cache is currently failing and seems to be getting further behind current
versions. The [actions-rs/install#12] issue addresses this but seems to be
languishing without any proposed solution.

[ref]: <actions-rs/install#12>
rivy added a commit to rivy/rs.coreutils that referenced this issue Nov 13, 2021
# [why]

The tool cache is currently failing and seems to be getting further behind current
versions. The [actions-rs/install#12] issue addresses this but seems to be
languishing without any proposed solution.

[ref]: <actions-rs/install#12>
rivy added a commit to rivy/rs.coreutils that referenced this issue Nov 16, 2021
# [why]

The tool cache is currently failing and seems to be getting further behind current
versions. The [actions-rs/install#12] issue addresses this but seems to be
languishing without any proposed solution.

[ref]: <actions-rs/install#12>
rivy added a commit to rivy/rs.coreutils that referenced this issue Nov 17, 2021
# [why]

The tool cache is currently failing and seems to be getting further behind current
versions. The [actions-rs/install#12] issue addresses this but seems to be
languishing without any proposed solution.

[ref]: <actions-rs/install#12>
rivy added a commit to rivy/rs.coreutils that referenced this issue Nov 17, 2021
# [why]

The tool cache is currently failing and seems to be getting further behind current
versions. The [actions-rs/install#12] issue addresses this but seems to be
languishing without any proposed solution.

[ref]: <actions-rs/install#12>
rivy added a commit to rivy/rs.coreutils that referenced this issue Nov 20, 2021
# [why]

The tool cache is currently failing and seems to be getting further behind current
versions. The [actions-rs/install#12] issue addresses this but seems to be
languishing without any proposed solution.

[ref]: <actions-rs/install#12>
@TDHolmes
Copy link

from tools-cache README:

Deprecation warning

It is archived now and will not be updated anymore. actions-rs/install Action will be updated eventually to utilize GitHub runners cache to store compiled binaries.

so presumably this will not be fixed until the cache method changes to actions-rs/meta#21

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

No branches or pull requests

4 participants