Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: getCacheEntry failed: Cache service responded with 503 #516

Closed
2 of 5 tasks
mbaum0 opened this issue Jun 13, 2022 · 21 comments
Closed
2 of 5 tasks

Error: getCacheEntry failed: Cache service responded with 503 #516

mbaum0 opened this issue Jun 13, 2022 · 21 comments
Assignees
Labels
bug Something isn't working

Comments

@mbaum0
Copy link

mbaum0 commented Jun 13, 2022

2022-06-13T06:46:29.7622187Z ##[group]Run actions/setup-node@v2
2022-06-13T06:46:29.7622425Z with:
2022-06-13T06:46:29.7622601Z   node-version: 16.13
2022-06-13T06:46:29.7622858Z   cache: npm
2022-06-13T06:46:29.7623136Z   cache-dependency-path: ./slack-adapter/package-lock.json
2022-06-13T06:46:29.7623405Z   always-auth: false
2022-06-13T06:46:29.7623606Z   check-latest: false
2022-06-13T06:46:29.7623978Z   token: ***
2022-06-13T06:46:29.7624149Z ##[endgroup]
2022-06-13T06:46:29.9263615Z Attempting to download 16.13...
2022-06-13T06:46:30.1968736Z Acquiring 16.13.2 - x64 from https://github.com/actions/node-versions/releases/download/16.13.2-1681281899/node-16.13.2-linux-x64.tar.gz
2022-06-13T06:46:30.5470929Z Extracting ...
2022-06-13T06:46:30.5583930Z [command]/usr/bin/tar xz --strip 1 --warning=no-unknown-keyword -C /home/runner/work/_temp/1c9fdfcb-b4e4-45cc-b8c0-879d4d188913 -f /home/runner/work/_temp/288baaa0-6ffa-45e6-b176-3504aa37feb4
2022-06-13T06:46:31.3994436Z Adding to the cache ...
2022-06-13T06:46:32.2973296Z Done
2022-06-13T06:46:32.2987622Z [command]/opt/hostedtoolcache/node/16.13.2/x64/bin/npm config get cache
2022-06-13T06:46:32.5559356Z /home/runner/.npm
2022-06-13T06:46:42.7419366Z ##[error]getCacheEntry failed: Cache service responded with 503

Description:
setup-node fails with cacheing error

Action version:
@actions/setup-nodev2

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:

node: 16.13.2

Repro steps:
Workflow file:

    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v2
        with:
          node-version: 16.13
          cache: "npm"
          cache-dependency-path: ./slack-adapter/package-lock.json

Expected behavior:
Success

Actual behavior:
Failing on cache service

@mbaum0 mbaum0 added bug Something isn't working needs triage labels Jun 13, 2022
@jonghodev
Copy link

😭

@rizypb
Copy link

rizypb commented Jun 13, 2022

Happening when I am trying to deploy my frontend apps in AWS too. Here's glimpse of my deployment script:

  build:
    name: build App
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v2
        with:
          node-version: '14'
          cache: 'npm'

@mdrahiem
Copy link

Temporary fix: removing cache: "npm" worked for me

@mbaum0
Copy link
Author

mbaum0 commented Jun 13, 2022

Found this (temporary) fix from a previous issue: #378 (comment)

@dminglv
Copy link

dminglv commented Jun 13, 2022

A similar error with:

jobs:
  Build:
    runs-on: ubuntu-latest
    steps:
      - name: Check out repository code
        uses: actions/checkout@v3
      - uses: actions/setup-node@v3
        with:
          node-version: 16
          cache: 'yarn'

@jishidaaaaa
Copy link

jishidaaaaa commented Jun 13, 2022

I have the same problem with the following conditions.

- uses: actions/setup-node@v2
  with:
    node-version: "16"
    cache: "pnpm"

@xcfw
Copy link

xcfw commented Jun 13, 2022

I'm hitting the same 503 error today, although nothing changed in a workflow and it ran perfectly months before this happened.
image

@MagnusHJensen
Copy link

This is issue with the cache action.

A previous issue has been revived here: actions/cache#698

And a new issue has been opened here: actions/cache#820

I'm sure the github team is looking into it asap!

@rizypb
Copy link

rizypb commented Jun 13, 2022

Getting another error while clearing S3 Static Website Cloudfront cache

An error occurred (NoSuchDistribution) when calling the CreateInvalidation operation: The specified distribution does not exist.
Error: Process completed with exit code 254.

@vinayakkulkarni
Copy link

Temporary workaround is to disable caching – bahmutov/npm-install#80 (comment)

      ....
      - name: Setup node env 📦
        uses: actions/setup-node@v3
        with:
          node-version: ${{ matrix.node }}
          check-latest: true
-          cache: 'npm' 
      ....

soomtong added a commit to day1co/fastdao that referenced this issue Jun 13, 2022
@optimistic-updt
Copy link

I running into the same issue as well

@yahmadpen
Copy link

Just turn off the cashe temporary until someone fix the cashes issue with the GitHub actions

@GeeKaven
Copy link

disable caching work for me

dohaki added a commit to bosonprotocol/core-components that referenced this issue Jun 13, 2022
luwol03 added a commit to vocascan/vocascan-frontend that referenced this issue Jun 13, 2022
@primaproxima
Copy link

Ran into the same issue with cache: yarn. Disabling it works.

luwol03 added a commit to vocascan/vocascan-frontend that referenced this issue Jun 13, 2022
@dermoumi
Copy link

actions/cache issue aside, maybe the this action should allow restoreCache() to fail and continue regardless as if there was no cache.

elbywan added a commit to LedgerHQ/ledger-live that referenced this issue Jun 13, 2022
@IvanZosimov IvanZosimov self-assigned this Jun 13, 2022
JJhuk added a commit to JJhuk/docker-tag-bot that referenced this issue Jun 13, 2022
JJhuk added a commit to JJhuk/docker-tag-bot that referenced this issue Jun 13, 2022
@IvanZosimov
Copy link
Contributor

Hi, all 👋 ! We are working on that issue. Sorry for the inconvenience.

@yaeszlo
Copy link

yaeszlo commented Jun 13, 2022

I have the same issue

@tiwarishub
Copy link

tiwarishub commented Jun 13, 2022

👋 we are seeing degraded performance with Github Actions cache service. Ideally it is recommended to not throw error only warning if cache is not working like we have in actions/cachehttps://github.com/actions/cache/blob/main/src/restore.ts#L55-L63 but look like setup-node is throwing error. SO till the issue get resolved can someone check without usng cache and cache-dependency-path param

@bishal-pdMSFT
Copy link

For quick workaround, please look at @vinayakkulkarni's answer.

@anuragc617
Copy link

The issue has been mitigated. Please confirm the same. Thanks for your patience 🙇

dohaki added a commit to bosonprotocol/core-components that referenced this issue Jun 13, 2022
* chore: update protocol submodule reference

* chore: add script for auto updating abis

* chore: adapt deploy script to new set of contracts

* feat(common): update abis

* test(common): update common mocks

* feat(subgraph): adapt to new structs and types

* feat(core-sdk): adapt to new structs and flows

* feat: adapt create offer flow to new structs

* test: fix offers interface unit tests

* ci: disable npm cache as 503 woraround

Temporary workaround for actions/setup-node#516.

* fixup

* refactor: review requests

- change deploy script console.log
- change let to const in subgraph test mocks
@lars-reimann
Copy link

lars-reimann commented Jun 13, 2022

The issue has been mitigated. Please confirm the same. Thanks for your patience 🙇

Jobs using actions/setup-node ran without issue for me at 13:29 UTC and 13:38 UTC.

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

No branches or pull requests