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.

Website is not working on Chrome (CORS refused)

See original GitHub issue

How to reproduce

  • Browser (with version) I’m using: Chrome 59.0.3071.115 (Official Build) (64-bit)
  • OS/Platform (with version) I’m using: macOS Sierra 10.12.6

The library is not loading, so the map does not appear on the homepage.

index.html:1
  Access to CSS stylesheet at 'data:text;charset=utf-8,' from origin 'null' has
  been blocked by CORS policy: Invalid response. Origin 'null' is therefore not
  allowed access.

index.html:1
  Access to Script at 'data:text;charset=utf-8,' from origin 'null' has been blocked
  by CORS policy: Invalid response. Origin 'null' is therefore not allowed access.

index.html:298
  Uncaught ReferenceError: L is not defined

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
carlsmithcommented, Aug 8, 2017

My bad. I went through my extensions, and it was caused by an ad blocker, Stands. I whitelisted your site, and the map is working fine. Sorry guys.

0reactions
themrecommented, Aug 8, 2017

Do you have any additional plugins installed in Chrome? (e.g. some CORS extension).

Read more comments on GitHub >

github_iconTop Results From Across the Web

CORS not working on Chrome - Stack Overflow
Problem: The browsers ask to the server for options before your main request, to check if the site has the option to allow...
Read more >
I started getting CORS errors after upgrading to v76.
I'm developing a web app that makes web service requests via Axios to an endpoint on one of our development servers. The requests...
Read more >
CORS errors and how to solve them - Topcoder
Open a network tab in your console. ... In the response header look for the Access-Control-Allow-Origin header. If it does not exist then...
Read more >
3 Ways to Fix the CORS Error — and How the Access-Control ...
Fix one: install the Allow-Control-Allow-Origin plugin. The quickest fix you can make is to install the moesif CORS extension .
Read more >
A Guide to Solving Those Mystifying CORS Issues
CORS is a security mechanism built into (all) modern web-browsers (yes! into your web browser! That's why your curl calls works fine). It ......
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