Yikun / hub-mirror-action

一个Github Action,用于在Github和Gitee之间同步代码。Action for mirroring repos between Hubs (like Github and Gitee).
MIT License
625 stars 169 forks source link

HTTP 500 error code for repo query on gitee.com #191

Open Stefan-Schmidt opened 3 months ago

Stefan-Schmidt commented 3 months ago

We are seeing an internal error with HTTP error code 500 for the gitee API query for organization repos:

API URL used: https://gitee.com/api/v5/orgs/openharmony/repos?page=1&per_page=60
Repo getting failed: {"message":"500 Internal Server Error"}

This is happening in our OpenHarmony sync to GitHub: https://github.com/eclipse-oniro-mirrors/mirror-sync/actions/runs/9696254218/job/26757783805#step:3:69

Curl is producing the same error. This is also true for other organizations I tested.

[stefan@localhost hub-mirror-action]$ curl -X GET --header 'Content-Type: application/json;charset=UTF-8' 'https://gitee.com/api/v5/orgs/openharmony/repos'
{"message":"500 Internal Server Error"}

Is this API being removed from gitee or is it just broken at the moment? How do others work around this with hub-mirror-action?

We saw this first on June 1st. The same job worked without any changes on May 31th.

Yikun commented 3 months ago

If the api always return 500, we can't do anything besides contact gitee support.

Stefan-Schmidt commented 3 months ago

I raised this with gitee.com support now as well: https://gitee.com/oschina/git-osc/issues/IAA00L