Closed luminecs closed 1 year ago
I have the same problem
cc @maxandersen
Any chance You are Behind a proxy ?
Can you also test if, in a PowerShell window, you can successfully run iwr https://raw.githubusercontent.com/quarkusio/jbang-catalog/HEAD/jbang-catalog.json
?
Maybe your network can't download resource from Github, you can configure a network proxy
Was there a solution to this? Currently trying to install Quarkus using the following link: and it is exporting as follows:
iex "& { $(iwr https://ps.jbang.dev) } app install --fresh --force quarkus@quarkusio"
[jbang] [ERROR] Unknown catalog 'quarkusio'
[jbang] Run with --verbose for more details
iex "& { $(iwr https://ps.jbang.dev) } app install --fresh --force --verbose quarkus@quarkusio" [jbang] jbang version 0.92.2 [jbang] Duplicating classpath resource jbang-catalog.json [jbang] Reading catalog from C:\Users\frankie.moran.jbang\cache\urls\2c97f3a787487bf73b7f4d02e109487e0e43be594ef95072827efd1500cd99ae [jbang] Local catalog 'quarkusio' not found, trying implicit catalogs... [jbang] No catalog found at https://github.com/quarkusio/jbang-catalog/blob/HEAD/jbang-catalog.json dev.jbang.cli.ExitException: Could not download https://github.com/quarkusio/jbang-catalog/blob/HEAD/jbang-catalog.json at dev.jbang.source.resolvers.RemoteResourceResolver.fetchFromURL(RemoteResourceResolver.java:113) at dev.jbang.source.resolvers.RemoteResourceResolver.resolve(RemoteResourceResolver.java:37) at dev.jbang.source.resolvers.CombinedResourceResolver.lambda$resolve$0(CombinedResourceResolver.java:26) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:1002) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:647) at dev.jbang.source.resolvers.CombinedResourceResolver.resolve(CombinedResourceResolver.java:28) at dev.jbang.source.ResourceResolver.resolve(ResourceResolver.java:56) at dev.jbang.source.ResourceRef.forResource(ResourceRef.java:104) at dev.jbang.catalog.Catalog.getByRef(Catalog.java:191) at dev.jbang.catalog.ImplicitCatalogRef.tryDownload(ImplicitCatalogRef.java:93) at dev.jbang.catalog.ImplicitCatalogRef.lambda$getImplicitCatalogUrl$2(ImplicitCatalogRef.java:76) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:1002) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:647) at dev.jbang.catalog.ImplicitCatalogRef.getImplicitCatalogUrl(ImplicitCatalogRef.java:87) at dev.jbang.catalog.CatalogRef.get(CatalogRef.java:66) at dev.jbang.catalog.Catalog.getByName(Catalog.java:144) at dev.jbang.catalog.Alias.fromCatalog(Alias.java:170) at dev.jbang.catalog.Alias.merge(Alias.java:115) at dev.jbang.catalog.Alias.get(Alias.java:80) at dev.jbang.source.resolvers.AliasResourceResolver.resolve(AliasResourceResolver.java:28) at dev.jbang.source.ResourceResolver.resolve(ResourceResolver.java:56) at dev.jbang.source.RunContext.resolveChecked(RunContext.java:470) at dev.jbang.source.RunContext.forResource(RunContext.java:427) at dev.jbang.cli.AppInstall.install(App.java:102) at dev.jbang.cli.AppInstall.doCall(App.java:82) at dev.jbang.cli.BaseCommand.call(BaseCommand.java:93) at dev.jbang.cli.BaseCommand.call(BaseCommand.java:15) at picocli.CommandLine.executeUserObject(CommandLine.java:1953) at picocli.CommandLine.access$1300(CommandLine.java:145) at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352) at picocli.CommandLine$RunLast.handle(CommandLine.java:2346) at dev.jbang.cli.JBang$3.handle(JBang.java:145) at dev.jbang.cli.JBang$3.handle(JBang.java:140) at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179) at picocli.CommandLine.execute(CommandLine.java:2078) at dev.jbang.Main.main(Main.java:14) Caused by: java.io.FileNotFoundException: No file to download at https://raw.githubusercontent.com/quarkusio/jbang-catalog/HEAD/jbang-catalog.json. Server replied HTTP code: 404 at dev.jbang.util.Util.downloadFile(Util.java:673) at dev.jbang.util.Util.downloadFile(Util.java:593) at dev.jbang.util.Util.downloadFileAndCache(Util.java:782) at dev.jbang.util.Util.downloadAndCacheFile(Util.java:754) at dev.jbang.source.resolvers.RemoteResourceResolver.fetchFromURL(RemoteResourceResolver.java:110) ... 49 more [jbang] Redirected to: https://gitlab.com/users/sign_in [jbang] No catalog found at https://gitlab.com/quarkusio/jbang-catalog/-/blob/HEAD/jbang-catalog.json dev.jbang.cli.ExitException: Could not download https://gitlab.com/quarkusio/jbang-catalog/-/blob/HEAD/jbang-catalog.json at dev.jbang.source.resolvers.RemoteResourceResolver.fetchFromURL(RemoteResourceResolver.java:113) at dev.jbang.source.resolvers.RemoteResourceResolver.resolve(RemoteResourceResolver.java:37) at dev.jbang.source.resolvers.CombinedResourceResolver.lambda$resolve$0(CombinedResourceResolver.java:26) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:1002) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:647) at dev.jbang.source.resolvers.CombinedResourceResolver.resolve(CombinedResourceResolver.java:28) at dev.jbang.source.ResourceResolver.resolve(ResourceResolver.java:56) at dev.jbang.source.ResourceRef.forResource(ResourceRef.java:104) at dev.jbang.catalog.Catalog.getByRef(Catalog.java:191) at dev.jbang.catalog.ImplicitCatalogRef.tryDownload(ImplicitCatalogRef.java:93) at dev.jbang.catalog.ImplicitCatalogRef.lambda$getImplicitCatalogUrl$4(ImplicitCatalogRef.java:79) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:1002) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:647) at dev.jbang.catalog.ImplicitCatalogRef.getImplicitCatalogUrl(ImplicitCatalogRef.java:87) at dev.jbang.catalog.CatalogRef.get(CatalogRef.java:66) at dev.jbang.catalog.Catalog.getByName(Catalog.java:144) at dev.jbang.catalog.Alias.fromCatalog(Alias.java:170) at dev.jbang.catalog.Alias.merge(Alias.java:115) at dev.jbang.catalog.Alias.get(Alias.java:80) at dev.jbang.source.resolvers.AliasResourceResolver.resolve(AliasResourceResolver.java:28) at dev.jbang.source.ResourceResolver.resolve(ResourceResolver.java:56) at dev.jbang.source.RunContext.resolveChecked(RunContext.java:470) at dev.jbang.source.RunContext.forResource(RunContext.java:427) at dev.jbang.cli.AppInstall.install(App.java:102) at dev.jbang.cli.AppInstall.doCall(App.java:82) at dev.jbang.cli.BaseCommand.call(BaseCommand.java:93) at dev.jbang.cli.BaseCommand.call(BaseCommand.java:15) at picocli.CommandLine.executeUserObject(CommandLine.java:1953) at picocli.CommandLine.access$1300(CommandLine.java:145) at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352) at picocli.CommandLine$RunLast.handle(CommandLine.java:2346) at dev.jbang.cli.JBang$3.handle(JBang.java:145) at dev.jbang.cli.JBang$3.handle(JBang.java:140) at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179) at picocli.CommandLine.execute(CommandLine.java:2078) at dev.jbang.Main.main(Main.java:14) Caused by: java.io.FileNotFoundException: No file to download at https://gitlab.com/users/sign_in. Server replied HTTP code: 503 at dev.jbang.util.Util.downloadFile(Util.java:673) at dev.jbang.util.Util.downloadFile(Util.java:593) at dev.jbang.util.Util.downloadFileAndCache(Util.java:782) at dev.jbang.util.Util.downloadAndCacheFile(Util.java:754) at dev.jbang.source.resolvers.RemoteResourceResolver.fetchFromURL(RemoteResourceResolver.java:110) ... 49 more [jbang] No catalog found at https://bitbucket.org/quarkusio/jbang-catalog/src/HEAD/jbang-catalog.json dev.jbang.cli.ExitException: Could not download https://bitbucket.org/quarkusio/jbang-catalog/src/HEAD/jbang-catalog.json at dev.jbang.source.resolvers.RemoteResourceResolver.fetchFromURL(RemoteResourceResolver.java:113) at dev.jbang.source.resolvers.RemoteResourceResolver.resolve(RemoteResourceResolver.java:37) at dev.jbang.source.resolvers.CombinedResourceResolver.lambda$resolve$0(CombinedResourceResolver.java:26) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:1002) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:647) at dev.jbang.source.resolvers.CombinedResourceResolver.resolve(CombinedResourceResolver.java:28) at dev.jbang.source.ResourceResolver.resolve(ResourceResolver.java:56) at dev.jbang.source.ResourceRef.forResource(ResourceRef.java:104) at dev.jbang.catalog.Catalog.getByRef(Catalog.java:191) at dev.jbang.catalog.ImplicitCatalogRef.tryDownload(ImplicitCatalogRef.java:93) at dev.jbang.catalog.ImplicitCatalogRef.lambda$getImplicitCatalogUrl$6(ImplicitCatalogRef.java:83) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:1002) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:647) at dev.jbang.catalog.ImplicitCatalogRef.getImplicitCatalogUrl(ImplicitCatalogRef.java:87) at dev.jbang.catalog.CatalogRef.get(CatalogRef.java:66) at dev.jbang.catalog.Catalog.getByName(Catalog.java:144) at dev.jbang.catalog.Alias.fromCatalog(Alias.java:170) at dev.jbang.catalog.Alias.merge(Alias.java:115) at dev.jbang.catalog.Alias.get(Alias.java:80) at dev.jbang.source.resolvers.AliasResourceResolver.resolve(AliasResourceResolver.java:28) at dev.jbang.source.ResourceResolver.resolve(ResourceResolver.java:56) at dev.jbang.source.RunContext.resolveChecked(RunContext.java:470) at dev.jbang.source.RunContext.forResource(RunContext.java:427) at dev.jbang.cli.AppInstall.install(App.java:102) at dev.jbang.cli.AppInstall.doCall(App.java:82) at dev.jbang.cli.BaseCommand.call(BaseCommand.java:93) at dev.jbang.cli.BaseCommand.call(BaseCommand.java:15) at picocli.CommandLine.executeUserObject(CommandLine.java:1953) at picocli.CommandLine.access$1300(CommandLine.java:145) at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352) at picocli.CommandLine$RunLast.handle(CommandLine.java:2346) at dev.jbang.cli.JBang$3.handle(JBang.java:145) at dev.jbang.cli.JBang$3.handle(JBang.java:140) at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179) at picocli.CommandLine.execute(CommandLine.java:2078) at dev.jbang.Main.main(Main.java:14) Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:371) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:314) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:309) at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1357) at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(CertificateMessage.java:1232) at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(CertificateMessage.java:1175) at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:396) at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:480) at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:458) at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:201) at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:172) at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1505) at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1420) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426) at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:580) at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:183) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1665) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589) at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:529) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:308) at dev.jbang.util.Util.downloadFile(Util.java:631) at dev.jbang.util.Util.downloadFile(Util.java:593) at dev.jbang.util.Util.downloadFileAndCache(Util.java:782) at dev.jbang.util.Util.downloadAndCacheFile(Util.java:754) at dev.jbang.source.resolvers.RemoteResourceResolver.fetchFromURL(RemoteResourceResolver.java:110) ... 49 more Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439) at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306) at java.base/sun.security.validator.Validator.validate(Validator.java:264) at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231) at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:132) at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1341) ... 71 more Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141) at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126) at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434) ... 76 more [jbang] [ERROR] Unknown catalog 'quarkusio' dev.jbang.cli.ExitException: Unknown catalog 'quarkusio' at dev.jbang.catalog.Catalog.getByName(Catalog.java:148) at dev.jbang.catalog.Alias.fromCatalog(Alias.java:170) at dev.jbang.catalog.Alias.merge(Alias.java:115) at dev.jbang.catalog.Alias.get(Alias.java:80) at dev.jbang.source.resolvers.AliasResourceResolver.resolve(AliasResourceResolver.java:28) at dev.jbang.source.ResourceResolver.resolve(ResourceResolver.java:56) at dev.jbang.source.RunContext.resolveChecked(RunContext.java:470) at dev.jbang.source.RunContext.forResource(RunContext.java:427) at dev.jbang.cli.AppInstall.install(App.java:102) at dev.jbang.cli.AppInstall.doCall(App.java:82) at dev.jbang.cli.BaseCommand.call(BaseCommand.java:93) at dev.jbang.cli.BaseCommand.call(BaseCommand.java:15) at picocli.CommandLine.executeUserObject(CommandLine.java:1953) at picocli.CommandLine.access$1300(CommandLine.java:145) at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352) at picocli.CommandLine$RunLast.handle(CommandLine.java:2346) at dev.jbang.cli.JBang$3.handle(JBang.java:145) at dev.jbang.cli.JBang$3.handle(JBang.java:140) at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179) at picocli.CommandLine.execute(CommandLine.java:2078) at dev.jbang.Main.main(Main.java:14) [jbang] If you believe this a bug in jbang, open an issue at https://github.com/jbangdev/jbang/issues
Any help would be greatly appreciated
GitHub had a glitch today making it return 404 when downloading HEAD urls. That's what causes the latest error you report.
It seems to be fixed now on GitHub side so should be good now.
Please try again.
GitHub had a glitch today making it return 404 when downloading HEAD urls. That's what causes the latest error you report.
It seems to be fixed now on GitHub side so should be good now.
Please try again.
Perfect, tried again this morning and worked! Thank you
This seems to have been fixed. Closing it
I am installing the Quarkus CLI following this guide, but there is problem Unknown catalog 'quarkusio'
Windows PowerShell 版权所有 (C) Microsoft Corporation。保留所有权利。
尝试新的跨平台 PowerShell https://aka.ms/pscore6
PS C:\Users\Administrator> jbang app install --fresh --force quarkus@quarkusio [jbang] [ERROR] Unknown catalog 'quarkusio' [jbang] Run with --verbose for more details PS C:\Users\Administrator> jbang app install --fresh --force --verbose quarkus@quarkusio [jbang] jbang version 0.78.0 [jbang] Duplicating classpath resource jbang-catalog.json [jbang] Reading catalog from C:\Users\Administrator.jbang\cache\urls\2c97f3a787487bf73b7f4d02e109487e0e43be594ef95072827efd1500cd99ae [jbang] Local catalog 'quarkusio' not found, trying implicit catalogs... [jbang] No catalog found at https://github.com/quarkusio/jbang-catalog/blob/HEAD/jbang-catalog.json dev.jbang.cli.ExitException: Could not download https://github.com/quarkusio/jbang-catalog/blob/HEAD/jbang-catalog.json