🐛 Bug Report: Rate limit mismatch
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
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 小时
- 30 天内合并 PR
- 1
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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 · 7 条评论 · 11 个 reaction ·
维护者通常 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 一周以上 新手友好度 25/100
redlib-org/redlib#609 · 7 条评论 · 19 个 reaction ·
维护者通常 1 天内回复
查看 redlib-org/redlib 的全部 Issue
相似的 Issue
-
accessibility good first issue
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
dividebysandwich/rust-dos#434 ·
维护者通常 1 天内回复
-
go good first issue
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复