curl error 92 while downloading

Recently, my dependabot started showing these errors:

2021-12-07 08:58:42 +0000 tid=1afz] INFO: [some-group/some-project=>composer] Fetching info for some-group/package-1
[2021-12-07 08:58:43 +0000 tid=1afz] INFO: [some-group/some-project=>composer]   some-group/package-1: 1.0.4 is up to date
[2021-12-07 08:58:43 +0000 tid=1afz] INFO: [some-group/some-project=>composer] Fetching info for some-group/package-2
[2021-12-07 08:58:46 +0000 tid=1afz] ERROR: [some-group/some-project=>composer] curl error 92 while downloading https://gitlab.example.com/api/v4/group/1/-/packages/composer/p2/illuminate/database~dev.json: HTTP/2 stream 201 was not closed cleanly: REFUSED_STREAM (err 7)

It might've been related to the GitLab update we did on our instance, but I am not sure, because there was one batch of scheduled jobs after the update that went ok.

Note, that one of the packages is downloaded correctly, but the other fails with http2 stream error.

This happens on all projects that I checked, but it's hard to tell because the pipeline job is not failing the job.

Any ideas?