jwngr / sdow

Six Degrees of Wikipedia

Home Page:https://www.sixdegreesofwikipedia.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Website always returning temp unavailable error

robbyph opened this issue · comments

commented

I've tried a few combinations now. Here's a couple to help replicate the issue.

This is the error message that's seemingly always returned:
"Whoops... Six Degrees of Wikipedia is temporarily unavailable. Please try again in a few seconds."

Examples:

  • Pink Noise -> K-Means Clustering
  • Genetics -> Human

These are all examples that existed on Wikipedia before 2021, so I don't think the outdated database as mentioned before is the source of the issue.

Same for me. And as far as I can see the actual reason are CORS rules:

Access to XMLHttpRequest at 'https://api.sixdegreesofwikipedia.com/paths' from origin 'https://www.sixdegreesofwikipedia.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

xhr.js:187     POST https://api.sixdegreesofwikipedia.com/paths net::ERR_FAILED

Thanks - the site is back up and running.