question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Run Graphql-voyager broken

See original GitHub issue

I try to run locally Graphql-Voyager, but the graph is not loading, due

Failed to load http://cdn.jsdelivr.net/npm/graphql-voyager@1.0.0-rc.15/dist/voyager.worker.js: Redirect from ‘http://cdn.jsdelivr.net/npm/graphql-voyager@1.0.0-rc.15/dist/voyager.worker.js’ to ‘https://cdn.jsdelivr.net/npm/graphql-voyager@1.0.0-rc.15/dist/voyager.worker.js’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:8080’ is therefore not allowed access. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.

The issue seems related to a change in https://www.jsdelivr.com/

jsDelivr is becoming HTTPS-only. All HTTP requests are redirected to HTTPS. HSTS is going to be enabled in a few days.

The current code in middleware/render-voyager-page is importing the dependencies in this way: <script src=\"//cdn.jsdelivr.net/fetch/2.0.1/fetch.min.js\">

Instead now have to be : <script src=\"https://cdn.jsdelivr.net/fetch/2.0.1/fetch.min.js\">

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:19 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
RomanHotsiycommented, Sep 11, 2018

v1.0.0-rc.20 -> v1.0.0-rc.25 to fix a simple url issue

We’ve nailed it 🙈😂! (special thanks go to @IvanGoncharov 👏)

meme

2reactions
Harmonickeycommented, Sep 6, 2018

We are eagerly awaiting your 2.0.0 so that we can grab from npm, mostly to fix this jsdelivr issue! Thanks so much for the good work!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Run Graphql-voyager broken · Issue #84 - GitHub
I try to run locally Graphql-Voyager, but the graph is not loading, due Failed to load ... Run Graphql-voyager broken #84.
Read more >
A Visual Guide to GraphiQL and GraphQL Voyager - Reddit
A Visual Guide to GraphiQL and GraphQL Voyager. I published a screenshot-by-screenshot tutorial on using GraphiQL and GraphQL Voyager ...
Read more >
Hacking GraphQL for Fun and Profit — Part 2— Methodology ...
Let's run the introspection query and try to map everything using GraphQL voyager. Once we got the visual representation, let's see whether ...
Read more >
GraphQL Voyager: Interactive Graph For Your API - YouTube
SUBSCRIBE TO THIS CHANNEL: https://goo.gl/SqT3FlGraphQL Voyager Demo: https://apis.guru/ graphql - voyager / GraphQL Voyager Repo: ...
Read more >
GraphQL — Common vulnerabilities & how to exploit them
Well lets try introspection query. Using Introspection query copy the response data and paste it in to voyager. Introspection query.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found