[GitLab] Proxy Registry not working when behind proxy #21275
Labels
area/replication
help wanted
The issues that is valid but needs help from community
replication/adapters
related to replication adapters
Expected behavior and actual behavior:
According to https://docs.gitlab.com/ee/user/packages/container_registry/troubleshoot_container_registry.html#docker-login-command-fails-with-access-forbidden the
Authorization
header mustn't be stripped from requests:Currently we have such a registry, where the ping is failing:
A manual requests without a header set results in the same error:
A docker login works though:
The header should probably added everytime, at least for GitLab?
harbor/src/pkg/reg/util/util.go
Lines 36 to 53 in 29bd094
Versions:
Please specify the versions of following systems.
The text was updated successfully, but these errors were encountered: