Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playground is down #728

Closed
teledyn opened this issue May 20, 2020 · 5 comments
Closed

Playground is down #728

teledyn opened this issue May 20, 2020 · 5 comments

Comments

@teledyn
Copy link

teledyn commented May 20, 2020

See: https://tinyurl.com/kk7k5qt (A link to the JSON-LD playground)

jsonld.InvalidUrl: Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.

And that is just the tip of the iceberg of a lot of json-ld services being impacted. See also RDFLib/rdflib-jsonld#84

@dlongley
Copy link
Member

The playground is up. It's a problem with schema.org. Their context isn't being served properly (it is ignoring a request for JSON-LD and only serving HTML):

Run:

curl -v -H "accept: application/ld+json" "http://schema.org"

You'll see the output is HTML.

@dlongley
Copy link
Member

Closing since the issue is elsewhere. Feel free to reopen/open another issue if there's an issue with the playground.

@davidlehn
Copy link
Member

It was a combination schema.org and jsonld.js problem. Should be fixed now.

@gkellogg
Copy link
Member

Thanks, @davidlehn. As I recall, there's no test infrastructure for the xhr document loader.

@davidlehn
Copy link
Member

@gkellogg The playground users are the test infrastructure. They found a bug, we fixed it. ;-) But yes, that should be addressed at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants