javascriptnode.jsgoogle-chromecorssuitecommerce

Getting Cors Policy Error local host not able to run


I'm receiving this when I'm running local host Since I'm working on Net SuiteCommerce Advanced E-commerce webstore but from last two days I'm getting this error. I've searched about it on Stackoverflow and some other various websites but not got any satisfactory solution so I'm posting it in here.

Tried with downloading Cors extension and activated but it didn't work. And local host is working fine other than Google chrome.

Access to XMLHttpRequest at 'http://localhost:7777/who/shopping' from origin 'http://www.cricketsca.ml' has been blocked by CORS policy: 

The request client is not a secure context and the resource is in more-private address space local.

shopping-local.ssp:1 Access to resource at 'http://localhost:7777/extensions/J_J/JJ_Base_Theme/3.0.2/img/favicon.ico' from origin 'http://www.cricketsca.ml' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space local.


Solution

  • It could be because of recent Google Chrome update. There were some similar troubles before, but with some work-arounds. For now you can try another browser (Firefox, for example).