We have a fairly simple setup, with SSL enabled, no far future expiration. Everything works well, except there is one weird glitch - the ttf files are somehow missing from the CDN (we get a 404 on them - see screenshot attached.) All other files load fine.

I have this line in the CDN mapping configuration.

https://diyj5eu7hb0yc.cloudfront.net|.css .js .ico .gif .jpg .jpeg .png .svg .otf .ttf

Nothing is blacklisted. I did not explicitly whitelist the ttf files, because it didn't seem necessary.

CommentFileSizeAuthor
cnd_ttf.png47.86 KBAnonymous (not verified)
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Wim Leers’s picture

Assigned: Unassigned » Wim Leers
Category: Bug report » Support request
Status: Active » Postponed (maintainer needs more info)

That's… very odd. All the CDN module can do is altering the file URL, it's then up to the Origin Pull to talk to the origin and retrieve it. Therefor, either the CDN is malfunctioning, or your origin is indeed serving a 404 to the CDN. It's especially bizarre that the last TTF file in that screenshot *does* work, but the two above it *don't*!

Can you still reproduce this?

Wim Leers’s picture

Status: Postponed (maintainer needs more info) » Fixed

.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.