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

🐛 Bug Report: Failed to parse page JSON data: expected value at line 1 column 1

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
backend

調査の方向性

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 の本文から書いたものです。

説明

bug

Describe the bug

Accessing comments triggers the bug.

Steps to reproduce the bug

  1. Open https://www.reddit.com/r/videogames/comments/1xcr4me/which_game_series_is_this/ in Redlib.
  2. 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

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

redlib-org/redlib のほかの issue

redlib-org/redlib の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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