question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: getCacheEntry failed: Cache service responded with 503

See original GitHub issue

Description: I am currently attempting to set up the very basic Java workflow for my projects. However, it seems to go wrong somewhere. It has worked with other projects, but the new ones seem to fail. Excuse me if this is totally my fault and something that could easily be resolved. I tried google and nothing seems to turn up.

Task version: Latest, straight from the marketplace.

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Repro steps:
run pipeline with

name: Java CI with Maven

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Set up JDK 16
      uses: actions/setup-java@v2
      with:
        java-version: '16'
        distribution: 'zulu'
        cache: maven
    - name: Build with Maven
      run: mvn -B package --file pom.xml

Expected behavior: Setup Java 😃

Actual behavior:

Extracting Java archive...
/usr/bin/tar xz --warning=no-unknown-keyword -C /home/runner/work/_temp/09a0e8ce-4ea7-45ef-b011-6e29334b9412 -f /home/runner/work/_temp/e47c432c-5e30-4f6e-9d36-b371acaab142
Java 16.0.2+7 was downloaded
Setting Java 16.0.2+7 as the default
Java configuration:
  Distribution: zulu
  Version: 16.0.2+7
  Path: /opt/hostedtoolcache/Java_Zulu_jdk/16.0.2-7/x64
Creating settings.xml with server-id: github
Writing to /home/runner/.m2/settings.xml
Error: getCacheEntry failed: Cache service responded with 503

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:19
  • Comments:18 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
tiwarishubcommented, Jun 13, 2022

👋 the issue has been mitigated. Thanks for your patience 🙇

2reactions
e-korolevskiicommented, Jun 13, 2022

Hello, @adrian727

This problem is not caused by setup-java, but by cache issues. I think you can track the progress here and here, as a temporary recommendation to restore functionality, we can suggest disabling caching.

We will keep an eye on the issue and keep this one open in case someone else bumps into the issue until it will be resolved.

Cheers!

Read more comments on GitHub >

github_iconTop Results From Across the Web

getCacheEntry failed: Cache service responded with 503 ...
I have seen this error pop up several times in the past few days The error seems to originate from this code, which...
Read more >
getCacheEntry failed: Cache service responded with 503
I too faced the same problem. It is because of the cache server not responding that includes internal server error or any other....
Read more >
getCacheEntry failed: Cache service responded with 503
Answer a question I am trying to check the lint on the gitubaction. my github action steps are as below lint: name: Lint...
Read more >
Common 503 errors on Fastly | Fastly Help Guides
Error 503 backend fetch failed. This error occurs when the connection closes before Fastly cache servers are done reading the response. This ...
Read more >
53816 (Overview: Refactor the widgets read/write logic)
Component changed from General to Widgets; Type changed from defect (bug) to enhancement ... Error: getCacheEntry failed: Cache service responded with 503 ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found