Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Whoa we shouldn't get this frame

オープン
#1 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
ruby

調査の方向性

lib/lumberjack/client.rb のスタックトレースから始め、特に 44、109、116 行付近の write、write_hash、ack を確認します。Logstash を終了した状態でシーケンスを再現し、切断された接続に対して意図されている処理を判断します。明確なサーバー喪失通知または文書化された再接続動作が提供され、クライアントが予期しないフレームエラーを生成しなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Guys, is this right repo to log issues against lumberjack ruby client? Great!

Here's a test case:

  1. send normally using client
  2. terminate logstash
  3. try to write some more data using client
  4. get the error:
RuntimeError: Whoa we shouldn't get this frame:  : /home/lst/lst/vendor/bundle/ruby/2.1.0/gems/jls-lumberjack-0.0.22/lib/lumberjack/client.rb:116:in `ack',
/home/lst/lst/vendor/bundle/ruby/2.1.0/gems/jls-lumberjack-0.0.22/lib/lumberjack/client.rb:109:in `write_hash',
/home/lst/lst/vendor/bundle/ruby/2.1.0/gems/jls-lumberjack-0.0.22/lib/lumberjack/client.rb:44:in `write'

Ideas on fixing this are welcome. Ideally, there should be a notification that server is gone and either auto-reconnection code added or just an exception thrown to user that connection is dead.

主要言語
Ruby
スター
3
フォーク
17
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

elastic/ruby-lumberjack のほかの issue

elastic/ruby-lumberjack の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。