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.

CORS is preventing the request

See original GitHub issue

The script was running fine until today.

Failed to load resource: Origin http://mywebsite.com is not allowed by Access-Control-Allow-Origin.

Tested under Safari and Firefox.

github-loader-error

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
ghjansencommented, Aug 19, 2019

This issue is happening again.

Going to close this for now. The solution is to use a custom proxy if you don’t want to depend on the default proxy.

@IonicaBizau any directions on how to do that? There are free alternative proxies that can be used? This issue is a big downside when using your project.

2reactions
IonicaBizaucommented, Apr 10, 2020

In the latest releases I implemented the new proxy from @Bloggify. Currently there are no max quotas, but using the default cache is recommended.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CORS errors and how to solve them - Topcoder
CORS is an abbreviation for Cross-Origin Response Sharing. It is what allows the website on ... It is to prevent cross-site request forgery....
Read more >
Cross-Origin Resource Sharing (CORS) - MDN Web Docs
CORS also relies on a mechanism by which browsers make a "preflight" request to the server hosting the cross-origin resource, ...
Read more >
3 Ways to Fix the CORS Error — and How the Access-Control ...
If the frontend domain does not match the value, the browser raises the red flag and blocks the API request with the CORS...
Read more >
What Is a CORS Error and How to Fix It (3 Ways) - Bannerbear
A CORS error is common when making an HTTP request to another origin. You can get rid of it using one of the...
Read more >
Understanding and Resolving CORS Error - Contentstack
A more commonly used solution to resolve CORS error is to use a serverless function. It is an alternate way to proxy your...
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