Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-11230

Bitbucket custom domain + CloudFront CDN CORS issue (BBS-18318)

    XMLWordPrintable

Details

    Description

      I've noticed recently that when browsing a Bitbucket account using a custom domain, assets from Amazon CloudFront CDN are no longer loading. (Namely the icon font and a few other CORS related issues)

      Here are some of the errors I'm seeing in the console: (Chrome 43, OS X)

      Font from origin 'https://d3oaxc4q5k2d6q.cloudfront.net' has been blocked from loading by Cross-Origin Resource Sharing policy: The 'Access-Control-Allow-Origin' header has a value 'https://bitbucket.org' that is not equal to the supplied origin. Origin 'http://CUSTOM.DOMAIN.com' is therefore not allowed access.
      
      Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://bitbucket.org') does not match the recipient window's origin ('http://CUSTOM.DOMAIN.com').
      

      Attachments

        Activity

          People

            zdavis Zachary Davis (Inactive)
            e65c3b724290 mbreid
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: