🐛 Bug Report: Failed to parse page JSON data: expected value at line 1 column 1
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by tracing the comment page request and JSON parsing path that produces the reported error, then inspect how the client handles Reddit's 403 response. Compare the behavior with issue #591, which the report says may be related. Done means the reproduced page displays its comments instead of the parse error; the payload does not name a file or test.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
Accessing comments triggers the bug.
Steps to reproduce the bug
- Open https://www.reddit.com/r/videogames/comments/1xcr4me/which_game_series_is_this/ in Redlib.
- See error:
Failed to parse page JSON data: expected value at line 1 column 1 | /r/videogames/comments/1xcr4me/which_game_series_is_this/.json?&sort=confidence&raw_json=1
What's the expected behavior?
It should display the comments.
Additional context / screenshot
It might have to something with #591 which prevented loading the comments last week.
Docker logs contain these lines:
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 checked that the instance that this was reported on is running the latest git commit, or I can reproduce it locally on the latest git commit
I run an update with quay.io/redlib/redlib:latest which gave me Version 0.40.0 Commit ba116c1186f6b0f9d45f0ae50c827e13eb2f5ea2. That appears to be the newest 'stable' version.
- 主要言語
- Rust
- スター
- 3.9k
- フォーク
- 293
- 平均マージ
- 4日 9時間
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
redlib-org/redlib のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
redlib-org/redlib#604 · リアクション 6 件 ·
メンテナーはふだん 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 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 57/100
redlib-org/redlib#608 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 54/100
redlib-org/redlib#607 ·
メンテナーはふだん 1 日以内に返信
redlib-org/redlib の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
swc-project/swc-next#1165 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
Alive24/shea-symphony#574 ·
-
documentation good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
dev-five-git/devup-ui#879 ·
メンテナーはふだん 11 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
farion1231/cc-switch#9038 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
FalkorDB/FalkorDB#3597 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信