Skip to content
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

Local metadata lists throw error #361

Closed
lmarini opened this issue May 31, 2022 · 1 comment
Closed

Local metadata lists throw error #361

lmarini opened this issue May 31, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@lmarini
Copy link
Member

lmarini commented May 31, 2022

After defining a new metadata list to be stored in clowder, retrieving the list when adding it to a file throws an error

{"status":"error","request":"GET /clowder/api/metadata/definitions/629639d5e4b083fbf42c0f73","exception":"@7no70m5e4: Execution exception in null:null\\n\tat play.api.Application$class.handleError(Application.scala:293)\\n\tat play.api.DefaultApplication.handleError(Application.scala:399)\\n\tat play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$13$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:170)\\n\tat play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$13$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:167)\\n\tat scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33)\\n\tat scala.util.Failure$$anonfun$recover$1.apply(Try.scala:185)\\n\tat scala.util.Try$.apply(Try.scala:161)\\n\tat scala.util.Failure.recover(Try.scala:185)\\n\tat scala.concurrent.Future$$anonfun$recover$1.apply(Future.scala:324)\\n\tat scala.concurrent.Future$$anonfun$recover$1.apply(Future.scala:324)\\n\tat scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)\\n\tat play.api.libs.iteratee.Execution$$anon$1.execute(Execution.scala:43)\\n\tat scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:40)\\n\tat scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:248)\\n\tat scala.concurrent.Promise$class.complete(Promise.scala:55)\\n\tat scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:153)\\n\tat scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)\\n\tat scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:235)\\n\tat scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)\\n\tat scala.concurrent.impl.ExecutionContextImpl$$anon$3.exec(ExecutionContextImpl.scala:107)\\n\tat scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\\n\tat scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)\\n\tat scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)\\n\tat scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)\\nCaused by: java.net.ConnectException: General SSLEngine problem to https://cyprus.ncsa.illinois.edu/clowder/api/standardvocab/629639d5e4b083fbf42c0f72/terms\\n\tat com.ning.http.client.providers.netty.NettyConnectListener.operationComplete(NettyConnectListener.java:103)\\n\tat org.jboss.netty.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java:427)\\n\tat org.jboss.netty.channel.DefaultChannelFuture.notifyListeners(DefaultChannelFuture.java:413)\\n\tat org.jboss.netty.channel.DefaultChannelFuture.setFailure(DefaultChannelFuture.java:380)\\n\tat org.jboss.netty.handler.ssl.SslHandler.setHandshakeFailure(SslHandler.java:1417)\\n\tat org.jboss.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1293)\\n\tat org.jboss.netty.handler.ssl.SslHandler.decode(SslHandler.java:913)\\n\tat org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:425)\\n\tat org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)\\n\tat org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)\\n\tat org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)\\n\tat org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)\\n\tat org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)\\n\tat org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)\\n\tat org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)\\n\tat org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:109)\\n\tat org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:312)\\n\tat org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:90)\\n\tat org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)\\n\tat org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)\\n\tat org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)\\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\\n\tat java.lang.Thread.run(Thread.java:745)\\nCaused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem\\n\tat sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1431)\\n\tat sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:535)\\n\tat sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:813)\\n\tat sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:781)\\n\tat javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)\\n\tat org.jboss.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1225)\\n\tat org.jboss.netty.handler.ssl.SslHandler.decode(SslHandler.java:913)\\n\tat org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:425)\\n\tat org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)\\n\tat org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)\\n\tat org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)\\n\tat org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)\\n\tat org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:109)\\n\tat org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:312)\\n\tat org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:90)\\n\tat org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)\\n\t... 3 more\\nCaused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem\\n\tat sun.security.ssl.Alerts.getSSLException(Alerts.java:192)\\n\tat sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1728)\\n\tat sun.security.ssl.Handshaker.fatalSE(Handshaker.java:304)\\n\tat sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)\\n\tat sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509)\\n\tat sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)\\n\tat sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)\\n\tat sun.security.ssl.Handshaker$1.run(Handshaker.java:919)\\n\tat sun.security.ssl.Handshaker$1.run(Handshaker.java:916)\\n\tat java.security.AccessController.doPrivileged(Native Method)\\n\tat sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1369)\\n\tat org.jboss.netty.handler.ssl.SslHandler$4.run(SslHandler.java:1365)\\n\tat org.jboss.netty.handler.ssl.ImmediateExecutor.execute(ImmediateExecutor.java:31)\\n\tat org.jboss.netty.handler.ssl.SslHandler.runDelegatedTasks(SslHandler.java:1362)\\n\tat org.jboss.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1249)\\n\t... 13 more\\nCaused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target\\n\tat sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)\\n\tat sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)\\n\tat sun.security.validator.Validator.validate(Validator.java:260)\\n\tat sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)\\n\tat sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:281)\\n\tat sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:136)\\n\tat sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1496)\\n\t... 23 more\\nCaused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target\\n\tat sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)\\n\tat sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)\\n\tat java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)\\n\tat sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)\\n\t... 29 more\\n"}

Instance: https://cyprus.ncsa.illinois.edu/, https://clowder.ncsa.illinois.edu

@lmarini lmarini added the bug Something isn't working label May 31, 2022
@lmarini lmarini self-assigned this May 31, 2022
@robkooper
Copy link
Member

The current instance of the docker container uses an older version of Java. The image will need to be updated to use openjdk:8-jre-bullseye to have a new version of java.

@robkooper robkooper self-assigned this Jun 2, 2022
robkooper added a commit that referenced this issue Jun 7, 2022
- use newer java version (fixes #361)
- build arm version (fixes #322)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants