Slackbot
09/08/2023, 3:07 PMAnze Sodja
09/08/2023, 3:13 PMRyan Trontz
09/08/2023, 3:23 PMRyan Trontz
09/08/2023, 3:45 PMeclipse-temurin images, and adoptium is our prioritized toolchain vendor. That JDK shoudl already be in the container. Do you know why the resolver is reaching out to the DiscoAPI at all in the first place? TVampire
09/08/2023, 3:52 PMRyan Trontz
09/08/2023, 3:58 PMIs t in a place where toolchains are searched for?Thatās a great question. When you say āitā, do you mean the installed JDK? If so, then I would assume yes since the JDK is in the default
$JAVA_HOME directory.
Did you disable searching?Can you elaborate on this one? Did I disable what searching for what, specifically? For some additional context, we apply the foojay plugin, but we donāt do any special configuration with it currently.
Ryan Trontz
09/08/2023, 4:00 PMRyan Trontz
09/08/2023, 4:01 PMeclipse-temurin:11 based container. Weāre also running Gradle 7.6.1, but starting the upgrade to 8.x now.Vampire
09/08/2023, 4:13 PMRyan Trontz
09/08/2023, 4:14 PMVampire
09/08/2023, 4:14 PMVampire
09/08/2023, 4:15 PMjavaToolchains task saysVampire
09/08/2023, 4:16 PMRyan Trontz
09/08/2023, 4:33 PMRyan Trontz
09/08/2023, 4:34 PMVampire
09/08/2023, 4:36 PM--info or --debug log, for example what it tries to query from disco?Ryan Trontz
09/08/2023, 5:35 PM[2023-09-08T17:04:18Z] 2023-09-08T16:53:47.157+0000 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@5b1b38e46 pairs: {GET /disco/v3.0/distributions?include_versions=true&include_synonyms=true HTTP/1.1: null}{Content-Type: application/json}{User-Agent: Java/11.0.19}{Host: <http://api.foojay.io|api.foojay.io>}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: close}
[2023-09-08T17:04:18Z] 2023-09-08T16:53:47.225+0000 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@11385d55 pairs: {null: HTTP/1.1 503 Service Temporarily Unavailable}{Date: Fri, 08 Sep 2023 16:53:47 GMT}{Content-Type: text/html}{Content-Length: 190}{Connection: close}Vampire
09/08/2023, 9:25 PM