Logstash-keystore failed with error "ArgumentError: invalid byte sequence in CP949"

Hello team,

I'm working to secure configuration on ELK stack. While creating keystore in logstash, there was an error : 'ArgumentError: invalid byte sequence in CP949'
It also occured in v7.8.0, don't know what happens in any prevision versions.

I wonder how to solve this problem.

  • environment: ELK stack 7.9.0 on Windows Server 2012 R2 (OS language : Korean)
  • error messages:
    ArgumentError: invalid byte sequence in CP949
    split at org/jruby/RubyString.java:4218
    set_path at C:/Elastic/logstash-7.9.0/vendor/bundle/jruby/2.5.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:331
    set_bundle_environment at C:/Elastic/logstash-7.9.0/vendor/bundle/jruby/2.5.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:92
    setup at C:/Elastic/logstash-7.9.0/vendor/bundle/jruby/2.5.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:22
    setup at C:/Elastic/logstash-7.9.0/vendor/bundle/jruby/2.5.0/gems/bundler-1.17.3/lib/bundler.rb:107
    setup! at C:/Elastic/logstash-7.9.0/lib/bootstrap/bundler.rb:77
    at C:\Elastic\logstash-7.9.0\lib\secretstore\cli.rb:20

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.