Skip to content

MCR returns 403 when accessed from GH codespaces #188

@petrroll

Description

@petrroll

Hi, when trying to get images or just even curl https://mcr.microsoft.com/v2/ from within a github codespace, I get 403.

curl -4 -I "https://mcr.microsoft.com/v2/" 2>&1
HTTP/2 403 
x-msedge-ref: Ref A: 72531C3C7FC44D1BB11E7D0511FE3E3E Ref B: AMS231020512029 Ref C: 2026-02-01T11:07:55Z
date: Sun, 01 Feb 2026 11:07:55 GMT

Locally the access works normally, it seems that MCR is blocking that IP range (azure VMs).

E.g. docker hub is normally accessible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions