Closed manitgupta closed 1 year ago
Looks like API is down, same problem as https://github.com/sdkman/sdkman-cli/issues/1169#issuecomment-1429260567
same
Looks like API is down, same problem as #1169 (comment)
It's been down for two weeks? 😱
Looks like API is down, same problem as #1169 (comment)
It's been down for two weeks? 😱
Nope, its probably different URL/endpoint than in old issue
Same here, fwiw..
Same here
Same here, we just got the issue today.
All done!
You are subscribed to the STABLE channel.
Please open a new terminal, or run the following in the existing one:
source "/home/runner/.sdkman/bin/sdkman-init.sh"
Then issue the following command:
sdk help
Enjoy!!!
==== BROADCAST =================================================================
* 2023-02-13: grails 5.2.6 available on SDKMAN!
* 2023-02-13: gradle 8.0 available on SDKMAN!
* 2023-02-12: skeletal 0.15.0 available on SDKMAN! https://github.com/cbmarcum/skeletal/releases/tag/v0.15.0
================================================================================
Stop! kotlin is not a valid candidate.
Error: Process completed with exit code 1.
Same here.
Parallel discussion in Slack: https://sdkman.slack.com/archives/CJTNQA94M/p1676359041313729
Experiencing same issue with grails. "Stop! grails is not a valid candidate." sdk list command gives back 504 Gateway Time-out.
Same issue with installing java and gradle.
Same issue, sdk list java
returns me 504
Same issues, I thought I have faced this from my end.
After updating to 5.16.1
, I faced the same problem with sdk list java
<html>
<head><title>504 Gateway Time-out</title></head>
<body>
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx/1.19.10</center>
</body>
</html>
Actually, before I updated to 5.16.1
, my previous version is 5.16.0
and still able to use sdk list java
This problem is currently present on systems which I maintain:
$ sdk version
SDKMAN!
script: 5.16.1
native: 0.1.0
$ sdk list java
Stop! java is not a valid candidate.
$ sdk list
<html>
<head><title>504 Gateway Time-out</title></head>
<body>
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx/1.19.10</center>
</body>
</html>
Cause seems to be that https://api.sdkman.io/2/candidates/list/ is not reachable:
$ curl -i https://api.sdkman.io/2/candidates/list/
HTTP/1.1 200 Connection established # this is the proxy
HTTP/1.1 504 Gateway Time-out
Date: Tue, 14 Feb 2023 09:58:23 GMT
Server: nginx/1.19.10
Connection: Keep-Alive
Content-Type: text/html
Content-Length: 168
<html>
<head><title>504 Gateway Time-out</title></head>
<body>
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx/1.19.10</center>
</body>
</html>
In some cases, it might help a few people to enable the offline
mode of sdkman to allow using an already installed candidate.
Small thing that might come in handy in the time being.
If debug logging is enabled in the config, it can be seen on even startup of the terminal that it cannot connect. Offline will only work if you already have the candidate in the cache
It seems that the beta channel is also not working https://beta.sdkman.io/2 giving 404
I also has this problem:
Linux Mint 20.3
SDKMAN! script: 5.16.1 native: 0.1.0
In terminal I try simple command:
sdk list java
but get error
Stop! java is not a valid candidate.
This also not working:
sdk install java
Stop! java is not a valid candidate.
How can I fix this error?
P.S. this not help
sdk flush candidates
This is pretty frustrating. Offline mode also does not work for me.
$ sdk offline enable
Offline mode enabled.
$ sdk ls java
Stop! java is not a valid candidate.
Would it be possible to make basic usage possible without the usage of the API in the next version?
Same for me.
SDKMAN 5.16.1.
, sdk list java
results in 504.
same here, SDKMAN 5.16.1., sdk list java results in "Stop! java is not a valid candidate."
Works for me now.
The candidates service went down but has now been restored.
sdk update.
Now, it's work. Thanks
@marc0der It's returning a different error response now:
<head><title>503 Service Temporarily Unavailable</title></head>
Reference: https://github.com/nimblehq/android-templates/actions/runs/4172007998/jobs/7243910588
Hey @Tuubz, this was due to the initial rate-limiting that I imposed on the API. It was a bit aggressive at first, but I've relaxed it to 10 r/s per IP. Let me know on our community slack if you still see this issue.
I guess it's not completely solved, I get the same when trying to use SDKMAN today...
Bug report My
sdkman
installation used to work perfectly before. After updating to the latest version, I am no longer able to use it.For any command that I run -
sdk list
,sdk use
andsdk default
return the same output. I have tried to uninstall and install but the problem still persists. I have also triedsdk flush candidates
but it did not help.Other languages such as
sdk list scala
,sdk list gradle
etc also do not work.To reproduce Install the latest release of SDKMAN. Try to run
sdk list java
.System info MacOS Ventura 13.2 Fish Terminal M1 Pro SDKMAN: 5.16.1