I’m attempting to run Looker in AWS EKS and I’m getting this error on startup, which I’m unable to reproduce locally using the same container:
{"msg":"Error starting Looker: cannot create signer: Supplied key (sun.security.pkcs11.P11Key$P11PrivateKey) is not a RSAPrivateKey instance\n org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.build(org/bouncycastle/operator/jcajce/JcaContentSignerBuilder)\n com.looker.selfsigner.SelfSigner.generateKeystore(com/looker/selfsigner/SelfSigner.kt:44)\n jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n jdk.internal.reflect.NativeMethodAccessorImpl.invoke(jdk/internal/reflect/NativeMethodAccessorImpl.java:62)\n jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(jdk/internal/reflect/DelegatingMethodAccessorImpl.java:43)\n java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:566)\n org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:426)\n org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:293)\n RUBY.generate_self_signed_keystore(uri:classloader:/helltool/ruby-gems/self_signer/lib/self_signer.rb:10)\n RUBY.configure_self_signed(uri:classloader:/helltool/lib/roles/common/runner.class:269)\n RUBY.configure(uri:classloader:/helltool/lib/roles/common/runner.class:28)\n RUBY.configure_runner(uri:classloader:/helltool/lib/runner.class:149)\n RUBY.log_block_latency(uri:classloader:/helltool/ruby-gems/log/lib/log.rb:518)\n RUBY.configure_runner(uri:classloader:/helltool/lib/runner.class:149)\n RUBY.start(uri:classloader:/helltool/lib/runner.class:59)\n RUBY.start(uri:classloader:/helltool/lib/helltool/cli.class:74)\n org.jruby.RubyClass.finvokeWithRefinements(org/jruby/RubyClass.java:514)\n org.jruby.RubyBasicObject.send(org/jruby/RubyBasicObject.java:1755)\n org.jruby.RubyKernel.send(org/jruby/RubyKernel.java:2194)\n org.jruby.RubyKernel$INVOKER$s$send.call(org/jruby/RubyKernel$INVOKER$s$send.gen)\n RUBY.run(uri:classloader:/gems/thor-0.15.4/lib/thor/task.rb:27)\n RUBY.invoke_task(uri:classloader:/gems/thor-0.15.4/lib/thor/invocation.rb:120)\n RUBY.dispatch(uri:classloader:/gems/thor-0.15.4/lib/thor.rb:275)\n RUBY.start(uri:classloader:/gems/thor-0.15.4/lib/thor/base.rb:425)\n RUBY.<main>(uri:classloader:/helltool/bin/helltool:146)\n org.jruby.Ruby.runInterpreter(org/jruby/Ruby.java:1218)\n org.jruby.Ruby.loadFile(org/jruby/Ruby.java:2785)\n org.jruby.RubyKernel.loadCommon(org/jruby/RubyKernel.java:1039)\n org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1009)\n org.jruby.RubyKernel$INVOKER$s$load.call(org/jruby/RubyKernel$INVOKER$s$load.gen)\n RUBY.<main>(uri:classloader:/META-INF/main.rb:1)\n org.jruby.Ruby.runInterpreter(org/jruby/Ruby.java:1218)\n org.jruby.Ruby.loadFile(org/jruby/Ruby.java:2785)\n org.jruby.RubyKernel.requireCommon(org/jruby/RubyKernel.java:981)\n org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:974)\n org.jruby.RubyKernel$INVOKER$s$1$0$require.call(org/jruby/RubyKernel$INVOKER$s$1$0$require.gen)\n RUBY.require(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:83)\n RUBY.<main>(<script>:3)\n org.jruby.Ruby.runInterpreter(org/jruby/Ruby.java:1240)\n org.jruby.Ruby.runInterpreter(org/jruby/Ruby.java:1244)\n org.jruby.embed.internal.EmbedEvalUnitImpl.run(org/jruby/embed/internal/EmbedEvalUnitImpl.java:118)\n org.jruby.embed.ScriptingContainer.runUnit(org/jruby/embed/ScriptingContainer.java:1295)\n org.jruby.embed.ScriptingContainer.runScriptlet(org/jruby/embed/ScriptingContainer.java:1288)\n jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n jdk.internal.reflect.NativeMethodAccessorImpl.invoke(jdk/internal/reflect/NativeMethodAccessorImpl.java:62)\n jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(jdk/internal/reflect/DelegatingMethodAccessorImpl.java:43)\n java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:566)\n JarMain.invokeMethod(JarMain.java:263)\n JarMain.invokeMethod(JarMain.java:256)\n JarMain.launchJRuby(JarMain.java:141)\n LookerJarMainWrapper.launchJRuby(LookerJarMain.kt:54)\n JarMain.start(JarMain.java:158)\n JarMain.doStart(JarMain.java:233)\n LookerJarMain$Companion.main(LookerJarMain.kt:15)\n LookerJarMain.main(LookerJarMain.kt)","h":"looker-77cfd48f5d-2ql6d","n":"<retrieving from license>","nid":null,"t":"2023-03-31T00:47:47.717+00:00","s":"ERROR","rid":"007d0","c":"main"}