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

Exception: Zlib::BufError - Logstash 7.14.1 #49

Open
aodhan-domhnaill opened this issue Jan 26, 2022 · 0 comments
Open

Exception: Zlib::BufError - Logstash 7.14.1 #49

aodhan-domhnaill opened this issue Jan 26, 2022 · 0 comments
Labels

Comments

@aodhan-domhnaill
Copy link

Logstash information:

Dockerfile
config

 Jan 26 12:34:56 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) | uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/net/http/response.rb:268:in `inflater'
Jan 26 12:34:56 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) | uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/net/http/response.rb:283:in `read_body_0'
Jan 26 12:34:56 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) | /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-couchdb_changes-3.1.6/lib/logstash/inputs/couchdb_changes.rb:166:in `block in run'
Jan 26 12:34:56 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) |   Stack: org/jruby/ext/zlib/ZStream.java:136:in `finish'
Jan 26 12:34:56 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) |   Pipeline_id:main
Jan 26 12:34:56 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) |   Plugin: <LogStash::Inputs::CouchDBChanges password=><password>, keep_id=>true, port=>80, host=>"dev-brac-dev-service.development.svc.cluster.local", always_reconnect=>true, keep_revision=>true, id=>"27dbdcde17a10a8aae110ebf05f8b55c527", db=>"medic", username=>"medic-couch2pg", enable_metric=>true, codec=><LogStash::Codecs::Plain id=>"plain_7e34b682-ba96-4c88-8a3b-47a967591311", enable_metric=>true, charset=>"UTF-8">, secure=>false, heartbeat=>1000, ignore_attachments=>true, reconnect_delay=>10>
Jan 26 12:34:56 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) |   Error: buffer error
Jan 26 12:34:56 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) | uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/net/http/response.rb:204:in `read_body'
Jan 26 12:34:56 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) | /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-couchdb_changes-3.1.6/lib/logstash/inputs/couchdb_changes.rb:157:in `run'
Jan 26 12:34:56 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) | /usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:405:in `inputworker'
Jan 26 12:34:57 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) | [2022-01-26T10:34:57,959][INFO ][logstash.inputs.couchdbchanges][main][27dbdcde17a10a8aae110a685e821bf05f8b55c527] Connecting to CouchDB _changes stream at: {:host=>"dev-brac-dev-service.development.svc.cluster.local", :port=>"80", :db=>"medic"}
Jan 26 12:34:57 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) | [2022-01-26T10:34:57,959][INFO ][logstash.inputs.couchdbchanges][main][27dbdcde17a10a8aae110a685e821bf05f8b55c527] Using service uri : {:uri=>#........heartbeat=1000>}
Jan 26 12:34:57 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) |   Error: buffer error
Jan 26 12:34:57 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) | uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/net/http/response.rb:204:in `read_body'
Jan 26 12:34:57 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) | uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/net/http.rb:1512:in `transport_request'
Jan 26 12:34:57 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) | /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-couchdb_changes-3.1.6/lib/logstash/inputs/couchdb_changes.rb:157:in `run'
Jan 26 12:34:57 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) |   Exception: Zlib::BufError
Jan 26 12:34:57 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) | uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/net/http/response.rb:268:in `inflater'
Jan 26 12:34:57 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) | /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-couchdb_changes-3.1.6/lib/logstash/inputs/couchdb_changes.rb:166:in `block in run'
Jan 26 12:34:57 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) | uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/net/http.rb:1474:in `request'
Jan 26 12:34:57 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) | /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-couchdb_changes-3.1.6/lib/logstash/inputs/couchdb_changes.rb:161:in `block in run'
Jan 26 12:34:57 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) | uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/net/http/response.rb:283:in `read_body_0'
Jan 26 12:34:57 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) | [2022-01-26T10:34:57,989][ERROR][logstash.javapipeline    ][main][27dbdcde17a10a8aae110e7c4962d787dcb2c66a42ea685e821bf05f8b55c527] A plugin had an unrecoverable error. Will restart this plugin.
Jan 26 12:34:57 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) | uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/net/http/response.rb:366:in `finish'
Jan 26 12:34:57 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) | uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/net/http.rb:609:in `start'
Jan 26 12:34:57 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) |   Pipeline_id:main
Jan 26 12:34:57 cht-sync cht-logstash-couchdb: (cht-sync-565689d6-sdwql) |   Plugin: <LogStash::Inputs::CouchDBChanges password=><password>, keep_id=>true, port=>80, host=>"......", always_reco

Steps to reproduce:

Cannoy reproduce locally, but using the containers like here on a larger CouchDB database, errors started after ~2.7M records were copied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant