Artix Linux Forum

General Category => Discussion about Artix => Topic started by: phoenix_king_rus on 01 January 2025, 13:31:44

Title: Artix gitea api errors
Post by: phoenix_king_rus on 01 January 2025, 13:31:44
Hi all!
I've started getting errors while curling artix gitea instance. Typical request:
Code: [Select]
curl "https://gitea.artixlinux.org/api/v1/orgs/packages/repos?limit=400&page=1"
fails with
Code: [Select]
curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
Were there any server-side changes?
I need this request to get list of packages to fetch for building armtix.
Title: Re: Artix gitea api errors
Post by: nous on 01 January 2025, 14:44:20
It works fine on my end; perhaps this email I received on the 21st of December can explain the disruption:
"[...] we are pleased to inform you that your VPS from our data center in Nuremberg will soon be migrated to our newly built Hub Europe Data Center at the German-French border [...]"
If they implement some kind of blocking against "certain" countries, then it's out of our hands. If you can't use some proxy to hide your curl, then contact me to figure out some sneakier workaround.
Title: Re: Artix gitea api errors
Post by: phoenix_king_rus on 01 January 2025, 14:53:28
I don't think it's a block, gitea works fine from browser. Despite the error, i get part of real response which part of json-encoded array with repos.

UPD: checked one more time while writing this, it start to work as usual. Maybe i tried right at migration time and it limited possible response body