🐛 Bug Report: Rate limit mismatch
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by tracing the rate limit check and Reddit response parsing in the client code, using the reported /r/reddit/hot.json request and 403 response as entry points. Reproduce the failure against a local instance and inspect how the response is handled. Done means the rate limit check handles the reported response correctly and the error no longer disrupts normal use.
索引モデルが issue の本文から書いたものです。
説明
Hello.
I just tried to use my local instance to check the news on Reddit and I found this error:
redlib | ERROR redlib::client > Got an invalid response from reddit expected value at line 1 column 1. Status code: 403 Forbidden
redlib | Rate limit check failed: Failed to parse page JSON data: expected value at line 1 column 1 | /r/reddit/hot.json?&raw_json=1
redlib | This may cause issues with the rate limit.
redlib | Please report this error with the above information.
redlib | https://github.com/redlib-org/redlib/issues/new?assignees=sigaloid&labels=bug&title=%F0%9F%90%9B+Bug+Report%3A+Rate+limit+mismatch
redlib | Starting Redlib...
redlib | Running Redlib v0.36.0 on [::]:8080!
redlib | ERROR redlib::client > Got an invalid response from reddit expected value at line 1 column 1. Status code: 403 Forbidden
redlib | ERROR redlib::utils > Error page rendered: Failed to parse page JSON data: expected value at line 1 column 1
I tried to update the container without any luck.
So I followed the instructions in the output.
Thanks!
- 主要言語
- Rust
- スター
- 3.9k
- フォーク
- 293
- 平均マージ
- 4日 9時間
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
redlib-org/redlib のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
redlib-org/redlib#611 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
redlib-org/redlib#604 · コメント 6 件 · リアクション 11 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
redlib-org/redlib#571 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
redlib-org/redlib#557 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
redlib-org/redlib#609 · コメント 5 件 · リアクション 15 件 ·
メンテナーはふだん 1 日以内に返信
redlib-org/redlib の issue をすべて見る
似ている issue
-
色変記事を追加オープンpriority middle
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
KATO-Hiro/AtCoderClans#12955 ·
メンテナーはふだん 1 日以内に返信
-
auto:doc-drift auto:producer
難易度 2/5 1〜3時間 初心者へのやさしさ 60/100
fritzprix/libr-agent#2458 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
yantrikos/yantrik-os#1048 ·
メンテナーはふだん 1 日以内に返信
-
rust
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
vllm-project/vllm#64939 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 4 日以内に返信