Skip to main content
Topic: Artix gitea api errors (Read 330 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Artix gitea api errors

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.
ARMtix

Re: Artix gitea api errors

Reply #1
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.

Re: Artix gitea api errors

Reply #2
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
ARMtix