Page MenuHomePhabricator

Cross-Origin Resource Sharing policy issue on secure.phabricator.com
Closed, ResolvedPublic

Description

I am currently seeing the following error in my browser console on this install:

Font from origin 'https://p.phcdn.net' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://secure.phabricator.com' is therefore not allowed access.

Revisions and Commits

Restricted Differential Revision

Event Timeline

joshuaspence raised the priority of this task from to Needs Triage.
joshuaspence updated the task description. (Show Details)
joshuaspence added a project: Phacility.
joshuaspence added a subscriber: joshuaspence.

I'm getting missing fonts on 50% of page loads.

What browser is this in? Do you get a specific font resource with the error?

In Safari, it's downloading the .woff and the header is present:

origin.png (407×825 px, 27 KB)

This might be an issue with CoudFlare, or it might be an issue with how we're shipping some of the font files...

Mac/Chrome/woff2

pasted_file (49×929 px, 18 KB)

Font from origin 'https://p.phcdn.net' has been blocked from loading by Cross-Origin Resource Sharing policy: No   'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://secure.phabricator.com' is therefore not allowed access. The response had HTTP status code 522.
https://p.phcdn.net/rsrc/externals/font/fontawesome/fontawesome-webfont.woff2?v=4.3.0 Failed to load resource: the server responded with a status of 522 (Origin Connection Time-out)
epriestley added a revision: Restricted Differential Revision.Feb 9 2015, 4:11 PM
epriestley added a commit: Restricted Diffusion Commit.Feb 9 2015, 4:12 PM

I think this is fixed, but CloudFlare is doing some odd things with the resource. I think it's just a cache issue on their end so kicked it a few times and I'm hopeful that it'll fix itself, but I'll keep an eye on it. If it doesn't clear up soon-ish I'll kick it some more.

I haven't seen issues since.

joshuaspence claimed this task.

Seems fixed to me.