- Log in into registry with a deploy token of a private repo. Deploy token has read_registry scope
docker login registry.gitlab.com→ Login succeeded
- Try pulling a docker image
docker pull registry.gitlab.com/???/???
- Get one of two responses
error pulling image configuration: download failed after attempts=1: error parsing HTTP 403 response body: invalid character '<' looking for beginning of value: "\n<html><head>\n<meta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\">\n<title>403 Forbidden</title>\n</head>\n<body text=#000000 bgcolor=#ffffff>\n<h1>Error: Forbidden</h1>\n<h2>Your client does not have permission to get URL <code>???</code> from this server.</h2>\n<h2></h2>\n</body></html>\n"
error pulling image configuration: download failed after attempts=1: error parsing HTTP 403 response body: invalid character '<' looking for beginning of value: "<?xml version='1.0' encoding='UTF-8'?><Error><Code>AccessDenied</Code><Message>Access denied.</Message></Error>"
I’ve seen issues about this happening when IP is bound to a sanctioned country, however the machine’s IP is German, and the issue wasn’t there last Saturday. I have no problems pulling my private image by repeating the same steps on my local machine with different country’s IP. Would be grateful for any help.