-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Quarkus CLI stopped working with error "Could not download https://github.com/quarkusio/jbang-catalog/blob/HEAD/jbang-catalog.json" #36031
Comments
/cc @ebullient (cli), @maxandersen (cli,jbang), @quarkusio/devtools (jbang) |
I tried to reproduce it and couldn't. Can you access https://github.com/quarkusio/jbang-catalog/blob/HEAD/jbang-catalog.json ? |
@iocanel is this download related to the plugins? If so, I don't think it should be a fatal error. |
The error is related to the plugins. However, I don't think that it should be fatal as it only affects the plugins coming from our jbang catalog. |
It appears the issue is sporadic. at the time of the issue, the URL (https://github.com/quarkusio/jbang-catalog/blob/HEAD/jbang-catalog.json ) is accessible from browser. only quarkus cli fails. But i am not sure why the issue is not reproducible now to me as well. |
@iocanel why is the cli downloading these when running quarkus --version ? |
@springified can you run with --verbose to get the full stacktrace ? |
Recently we added a change where we completely bypass plugins, for known commands, so I wouldn't expect this to happen. Need to check. |
In any case, we need the error to not be fatal. |
I can't see how after 927f7a8 this issue can occur and I even debugged that main branch to verify that JBangCatalogService & JBangSupport are not even initialized when running standard commands. Anyway, I'll wrap the the calls to jbang in try / catch though I am not really sure if this is the root cause. |
I think this can be closed. |
Describe the bug
None of the quarkus CLI seems to be working.
Quarkus Version
Installed version Quarkus 3.3.3
Java Version
java --version
openjdk 22-ea 2024-03-19
OpenJDK Runtime Environment (build 22-ea+12-877)
OpenJDK 64-Bit Server VM (build 22-ea+12-877, mixed mode, sharing)
Jbang Version
jbang --version
0.110.1
**OS **
Mac OS 13.5.2
Expected behavior
CLI should work
Actual behavior
No response
How to Reproduce?
Enter any of the CLI
Output of
uname -a
orver
Darwin Prabhas-MacBook-Pro.local 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000 arm64
Output of
java -version
openjdk version "22-ea" 2024-03-19 OpenJDK Runtime Environment (build 22-ea+12-877) OpenJDK 64-Bit Server VM (build 22-ea+12-877, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
3.3.3
Build tool (ie. output of
mvnw --version
orgradlew --version
)quarkus
Additional information
No response
The text was updated successfully, but these errors were encountered: