clowder-framework / clowder

A data management system that allows users to share, annotate, organize and analyze large collections of datasets. It provides support for extensible metadata annotation using JSON-LD and a distribute analytics event bus for automatic curation of uploaded data.
https://clowderframework.org/
University of Illinois/NCSA Open Source License
34 stars 17 forks source link

Local metadata lists throw error #361

Closed lmarini closed 2 years ago

lmarini commented 2 years ago

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

robkooper commented 2 years ago

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.