403 when pulling images from Artifact Registry

On Friday we noticed issues installing gcloud (this URL was returning a 404: https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-443.0.0-linux-x86_64.tar.gz), as well as updates from the relevant APT repository and some 403s from Artifact registry.

Oddly, this was fixable by using a different IP for both dl.google.com and us-central1-docker.pkg.dev (ultimately googlecode.l.googleusercontent.com).

Today, I’m:

  • Able to pull images from our Artifact Registry locally (pkg.dev server in Chicago)
  • Unable to pull images from our Artifact Registry in OVH, no matter which IP I use (defaults to New York)

I’ve verified that:

  • I’m using the same service account credentials for both pulls
  • The service account credentials have roles/artifactregistry.reader permissions

Is there a way to work around or fix this? We need to be able to use Artifact Registry from OVH (Beauharnois (BHS5) Region). Please let me know if I should be using a different channel for this. We currently only have Billing support.

3 Likes