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.

Run actions/setup-java@v3.3.0: Trying to resolve the latest version from remote (adopt distribution phased out)

See original GitHub issue

Description:

name: Kotlin CI with Gradle, ...

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:
  build-gradle:

    runs-on: ubuntu-latest

    steps:
      - name: Cancel Previous Runs
        uses: styfle/cancel-workflow-action@0.9.1
        with:
          access_token: ${{ github.token }}
      - uses: actions/checkout@v3
      - name: Set up JDK 17
        uses: actions/setup-java@v3.3.0
        with:
          java-version: '17'
          distribution: 'adopt'
          cache: gradle

Task version: Specify the task version

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Expected behavior:

  • The action runs successfully

Actual behavior:

  • The action fails Run actions/setup-java@v3.3.0: Trying to resolve the latest version from remote
<body>
<div>
<h1>Application is not available</h1>
<p>The application is currently not serving requests at this endpoint. It may not have been started or is still starting.</p>
<div class="alert alert-info">
<p class="info">
Possible reasons you are seeing this page:
</p>
<ul>
<li>
<strong>The host doesn't exist.</strong>
Make sure the hostname was typed correctly and that a route matching this hostname exists.
</li>
<li>
<strong>The host exists, but doesn't have a matching path.</strong>
Check if the URL path was typed correctly and that the route was created using the desired path.
</li>
<li>
<strong>Route and path matches, but all pods are down.</strong>
Make sure that the resources exposed by this route (pods, services, deployment configs, etc) have at least one pod running.
</li>
</ul>
</div>
</div>
</body>

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:22
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

9reactions
anttipoicommented, May 30, 2022

I updated ‘adopt’ to ‘temurin’ and got it working again. Apparently adoptjdk is begin phased out. (https://blog.adoptopenjdk.net/2021/08/goodbye-adoptopenjdk-hello-adoptium/)

5reactions
dmitry-shibanovcommented, May 30, 2022

Hello @berry120. The API suffered an outage. For now it’s back online. I can’t say how long it will be supported. I think you can try sticking to temurin because if I understood correctly according to the post and this PR Adoptium is the successor of the AdoptOpenJDK project

Read more comments on GitHub >

github_iconTop Results From Across the Web

git - How do I get the latest version of my code? - Stack Overflow
I want to get the latest version, and dont want to keep obsolete caches entries, or other generated resources which are not on...
Read more >
pdf - sbt Reference Manual
Install sbt with cs setup. Follow Install page, and install Scala using Coursier. This should install the latest stable version of sbt.
Read more >
Actions Setup-Java Issues - IssueHint
Run actions/setup-java@v3.3.0: Trying to resolve the latest version from remote (adopt distribution phased out), closed, 15, 2022-05-30, 2022-12-06.
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