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

Jetty NPN/ALPN unavailable for /logstash/logstash:7.12.0-arm64 #24

Open
aleferreiranogueira opened this issue Jun 18, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@aleferreiranogueira
Copy link

Logstash information:

Please include the following information:

  1. Logstash version: 7.12.0
  2. Logstash installation source: docker
  3. How is Logstash being run: kubernetes
  4. How was the Logstash Plugin installed:

Inside our Dockerfile:

RUN logstash-plugin install logstash-input-sqs && \
    logstash-plugin install logstash-input-google_pubsub && \
    logstash-plugin install logstash-output-google_pubsub

OS version: Amazon Linux 2 ARM64

Description of the problem including expected versus actual behavior:

Steps to reproduce:

  1. Make sure you're using a ARM image of logstash, in our case, it's: /logstash/logstash:7.12.0-arm64
  2. Create a sample pipeline with google_pubsub output
  3. Start logstash
  4. See the following error:

More info:

  • Upon changing the image to logstash 7.12.0 on classical x86 arch everything runs ok

Provide logs (if relevant):

[INFO ] 2021-06-17 13:57:32.698 [[sqs_pipeline]-pipeline-manager] googlepubsub - Registering Google PubSub Output plugin: projects/bi-prd-brlm/topics/boitatics-events
[INFO ] 2021-06-17 13:57:32.704 [[sqs_pipeline]-pipeline-manager] googlepubsub - Initializing Google API client on projects/bi-prd-brlm/topics/boitatics-events key: /etc/logstash/datalab_prod.json
[ERROR] 2021-06-17 13:57:32.707 [[sqs_pipeline]-pipeline-manager] javapipeline - Pipeline error {:pipeline_id=>"sqs_pipeline", :exception=>java.lang.IllegalArgumentException: SunJSSE selected, but Jetty NPN/ALPN unavailable, :backtrace=>["io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts.configure(io/grpc/netty/shaded/io/grpc/netty/GrpcSslContexts.java:223)", "io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts.configure(io/grpc/netty/shaded/io/grpc/netty/GrpcSslContexts.java:189)", "io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts.configure(io/grpc/netty/shaded/io/grpc/netty/GrpcSslContexts.java:171)", "io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts.forClient(io/grpc/netty/shaded/io/grpc/netty/GrpcSslContexts.java:120)", "io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilder$NettyTransportFactory$DefaultNettyTransportCreationParamsFilterFactory.<init>(io/grpc/netty/shaded/io/grpc/netty/NettyChannelBuilder.java:558)", "io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilder$NettyTransportFactory$DefaultNettyTransportCreationParamsFilterFactory.<init>(io/grpc/netty/shaded/io/grpc/netty/NettyChannelBuilder.java:551)", "io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilder$NettyTransportFactory.<init>(io/grpc/netty/shaded/io/grpc/netty/NettyChannelBuilder.java:489)", "io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilder.buildTransportFactory(io/grpc/netty/shaded/io/grpc/netty/NettyChannelBuilder.java:337)", "io.grpc.internal.AbstractManagedChannelImplBuilder.build(io/grpc/internal/AbstractManagedChannelImplBuilder.java:405)", "com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createSingleChannel(com/google/api/gax/grpc/InstantiatingGrpcChannelProvider.java:206)", "com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.createChannel(com/google/api/gax/grpc/InstantiatingGrpcChannelProvider.java:157)", "com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.getTransportChannel(com/google/api/gax/grpc/InstantiatingGrpcChannelProvider.java:149)", "com.google.api.gax.rpc.ClientContext.create(com/google/api/gax/rpc/ClientContext.java:151)", "com.google.cloud.pubsub.v1.stub.GrpcPublisherStub.create(com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java:161)", "com.google.cloud.pubsub.v1.Publisher.<init>(com/google/cloud/pubsub/v1/Publisher.java:154)", "com.google.cloud.pubsub.v1.Publisher.<init>(com/google/cloud/pubsub/v1/Publisher.java:83)", "com.google.cloud.pubsub.v1.Publisher$Builder.build(com/google/cloud/pubsub/v1/Publisher.java:607)", "jdk.internal.reflect.GeneratedMethodAccessor94.invoke(jdk/internal/reflect/GeneratedMethodAccessor94)", "jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(jdk/internal/reflect/DelegatingMethodAccessorImpl.java:43)", "java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:566)", "org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:441)", "org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:305)", "usr.share.logstash.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_output_minus_google_pubsub_minus_1_dot_0_dot_2_minus_java.lib.logstash.outputs.pubsub.client.initialize_google_client(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-google_pubsub-1.0.2-java/lib/logstash/outputs/pubsub/client.rb:64)", "usr.share.logstash.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_output_minus_google_pubsub_minus_1_dot_0_dot_2_minus_java.lib.logstash.outputs.pubsub.client.initialize(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-google_pubsub-1.0.2-java/lib/logstash/outputs/pubsub/client.rb:14)", "usr.share.logstash.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_output_minus_google_pubsub_minus_1_dot_0_dot_2_minus_java.lib.logstash.outputs.google_pubsub.register(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-google_pubsub-1.0.2-java/lib/logstash/outputs/google_pubsub.rb:48)", "org.jruby.RubyClass.finvoke(org/jruby/RubyClass.java:572)", "org.jruby.RubyBasicObject.callMethod(org/jruby/RubyBasicObject.java:354)", "org.logstash.config.ir.compiler.OutputStrategyExt$SimpleAbstractOutputStrategyExt.reg(org/logstash/config/ir/compiler/OutputStrategyExt.java:275)", "org.logstash.config.ir.compiler.OutputStrategyExt$AbstractOutputStrategyExt.register(org/logstash/config/ir/compiler/OutputStrategyExt.java:131)", "org.logstash.config.ir.compiler.OutputDelegatorExt.doRegister(org/logstash/config/ir/compiler/OutputDelegatorExt.java:117)", "org.logstash.config.ir.compiler.AbstractOutputDelegatorExt.register(org/logstash/config/ir/compiler/AbstractOutputDelegatorExt.java:68)", "usr.share.logstash.logstash_minus_core.lib.logstash.java_pipeline.register_plugins(/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:228)", "org.jruby.RubyArray.each(org/jruby/RubyArray.java:1809)", "usr.share.logstash.logstash_minus_core.lib.logstash.java_pipeline.register_plugins(/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:227)", "usr.share.logstash.logstash_minus_core.lib.logstash.java_pipeline.maybe_setup_out_plugins(/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:585)", "usr.share.logstash.logstash_minus_core.lib.logstash.java_pipeline.RUBY$method$maybe_setup_out_plugins$0$__VARARGS__(usr/share/logstash/logstash_minus_core/lib/logstash//usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb)", "usr.share.logstash.logstash_minus_core.lib.logstash.java_pipeline.start_workers(/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:240)", "usr.share.logstash.logstash_minus_core.lib.logstash.java_pipeline.RUBY$method$start_workers$0$__VARARGS__(usr/share/logstash/logstash_minus_core/lib/logstash//usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb)", "usr.share.logstash.logstash_minus_core.lib.logstash.java_pipeline.run(/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:185)", "usr.share.logstash.logstash_minus_core.lib.logstash.java_pipeline.RUBY$method$run$0$__VARARGS__(usr/share/logstash/logstash_minus_core/lib/logstash//usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb)", "usr.share.logstash.logstash_minus_core.lib.logstash.java_pipeline.start(/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:137)", "org.jruby.RubyProc.call(org/jruby/RubyProc.java:318)", "java.lang.Thread.run(java/lang/Thread.java:834)"], "pipeline.sources"=>["central pipeline management"], :thread=>"#<Thread:0x30d6d959 run>"}
[INFO ] 2021-06-17 13:57:32.708 [[sqs_pipeline]-pipeline-manager] javapipeline - Pipeline terminated {"pipeline.id"=>"sqs_pipeline"}
[ERROR] 2021-06-17 13:57:32.717 [Converge PipelineAction::Create<sqs_pipeline>] agent - Failed to execute action {:id=>:sqs_pipeline, :action_type=>LogStash::ConvergeResult::FailedAction, :message=>"Could not execute action: PipelineAction::Create<sqs_pipeline>, action_result: false", :backtrace=>nil}
@aleferreiranogueira aleferreiranogueira added the bug Something isn't working label Jun 18, 2021
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

1 participant