In the vcpkg repository are issues for ports which get their sources from gitlab.
See: microsoft/vcpkg#47984 and microsoft/vcpkg#47992
The common issue is that the SHA is wrong for the downloaded .tar.gz. When downloading these archives by hand, and generating the SHA it is the same SHA as expected by the portfiles.
It seems there is an underlying issue with gitlab.
Some users suggested that vcpkg might not follow redirects correctly or that there is an issue with the anubis of gitlab.
Are you aware of this issue? Is there a recommended workaround, except modifying the portfiles to take a locally downloaded archive?