🐛 Bug Report: Failed to parse page JSON data: expected value at line 1 column 1
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 52/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Rust
- Star
- 3.9k
- Fork
- 293
- Merge trung bình
- 4 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của redlib-org/redlib
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
redlib-org/redlib#604 · 6 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
redlib-org/redlib#571 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 61/100
redlib-org/redlib#557 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 57/100
redlib-org/redlib#608 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 54/100
redlib-org/redlib#607 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của redlib-org/redlib
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
haowjy/mars-agents#295 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
rivetkit 3.0: HTTP 400 overloaded on node pool upsert is treated as fatal and exits the processĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
rivet-dev/rivet#5933 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-verification
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
EchoTools/nevr-runtime#1272 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add a `--skip-readme` option to `gleam new`Có thể đã có người làm @mine-tech-oficial đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
gleam-lang/gleam#6458 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày