Skip to content

[BUG] Github API 无法正常工作 #1894

@bfcs

Description

@bfcs

Please confirm the following

  • I have read and agree to AGPL-3.0 Section 15 .
    The program is provided "as is" without any warranties; you bear all risks of using it.

  • I have read and agree to AGPL-3.0 Section 16 .
    The copyright holders and distributors are not liable for any damages resulting from the use or inability to use the program.

  • I confirm my description is clear, polite, helps developers quickly locate the issue, and complies with community rules.

  • I have read the OpenList documentation.

  • I confirm there are no duplicate issues or discussions.

  • I confirm this is an OpenList issue, not caused by other reasons (such as network, dependencies, or operation).

  • I believe this issue must be handled by OpenList and not by a third party.

  • I confirm this issue is not fixed in the latest version.

OpenList Version (required)

v4.19

Storage Driver Used (required)

Github API

Bug Description (required)

点击去之后 显示500,但是文件列表又正常获取,但是文件列表的日期显示1970-01-01
Failed to fetch http://192.168.1.5:5244/p/github-clash/README.md?sign=JIW4kkWqEZSc-CBgx6LXbMwa- 1QiAaaHYjYoX5UipP8=:0: AxiosError: Request failed with status code 500

点开一个文件,使用Text Editor
Failed to fetch http://192.168.1.5:5244/p/github/rust.yaml?sign=Fy3ooG2pJEZn1MVtQFzLBio_54w2EVBWBdQQjYODCw0=:0: AxiosError: Request failed with status code 403

新建文件,成功
删除文件,右上角报错Object not found

总结就是

  1. 可以查看文件列表,不能预览文件
  2. 可以新建文件,不能删除文件
  3. token都是有读取和写入的权限的
  4. 换了classic和fine-grained都不行

Logs (required)

容器没有log

Configuration File Content (required)

最低配置,就填了token,作者,仓库,配置没问题,文件列表是对的

Reproduction Link (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions