Hacker News new | ask | show | jobs
by Hopka 4361 days ago
It is not working at all on either Firefox 30 or Chromium 34 (both Ubuntu). All I see is two large maps and a bit of text in between.

The developer console has a few CORS errors, though:

> XMLHttpRequest cannot load http://graphics8.nytimes.com/newsgraphics/2014/06/18/tigris-.... No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.nytimes.com' is therefore not allowed access.

> XMLHttpRequest cannot load http://core2_euw1.fabrik.nytimes.com./info. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.nytimes.com' is therefore not allowed access.

I suppose accessing through nytimes.com would work, but it redirects to www.nytimes.com...

3 comments

I'm on FF 30 and LinuxMint (downstream from Ubuntu), it seems to be working fine. My FF is whatever is in the repositories.

I remember that NYT graphic/article on the avalanche in Washington a couple years ago, I had to view it in both FF and Chrome to see all the graphic effects.

I just looked at it again, everything seems to work in Chromium. In FF, some of the graphics don't play automatically as they do in Ch, and some of the videos don't play at all. Chromium seems to play everything fine.

http://www.nytimes.com/projects/2012/snow-fall/#/?part=tunne...

It seems odd that browsers on Ubuntu would be getting CORS errors — while the same browsers for everyone else would not. CORS, being a policy, should apply consistently, no? Perhaps you've changed a setting somewhere?

Either way, I've made a note to look into setting Access-Control-Allow-Origin headers on all the static assets we publish out to Graphics8...

OK, I've been digging into this a bit further. When I do a request from a remote machine, I do get an Access-Control-Allow-Origin: * header, but from my local machine, this header is missing.

I assume that the proxy on this network discards the header and thus breaks the site.

Thanks for following up. That'll save me some time ;)
Didn't work for me either. I'll try from another location.