Questions tagged [cors]

Denotes questions related to Cross-Origin Resource Sharing (CORS)

Filter by
Sorted by
Tagged with
0
votes
1answer
43 views

CORS error on Magento 2 with cloudfront

We are running magento 2 on below setup Apache > Varnish > NGinx SSL termination On initial setup we were getting the below error for all assets in pub/static Failed to load xxx: Request header ...
0
votes
1answer
24 views

Pub folder html file: serving from nginx + CDN and CORS

In my pub/static folder I can see that most themes are serving HTML files. However, these are not specifically handled in the Nginx configuration file. When serving the full folder from CDN I get ...
1
vote
0answers
33 views

Magento 2.X: HTML files blocked by CORS if using Cloudfront and no Varnish hit

I have Magento 2.3.2 with nginx backend, SSL only, and proxypass to Varnish. I have configured 2 distributions in my cloudfront CDN to serve media and static files. To handle the CORS issues I have ...
0
votes
1answer
48 views

Magento 2 CORS issue

I have multi store as well as multi domain in my magento site. www.domain.nl www.domain.be the issue occurs in back-end (admin grid) when I want to filter products, orders, or customers. the error ...
0
votes
1answer
35 views

NGINX cross control origin header added but font files still blocked by CORS policy

I have added the following headers to all the locations where my static content is mentioned in the Nginx conf file and it removes the CORS issue for all files except for font files such as woff2 or ...
0
votes
1answer
50 views

Magento 2 cdn issue for modal popup - KeyCdn

We uses KeyCdn to use cdn feature for magento 2. We use push zone for one of our website for testing. KeyCdn working fine except modal popup CORS issue. We are facing below error. Access to ...
0
votes
1answer
31 views

Force all links in admin area to use www

Is there a way to force all links in the Magento admin area to use www? We have a site that's been around for a long time and all the frontend URLs are indexed with 'www' at the start. There were ...
0
votes
1answer
137 views

Font awesome error - “blocked by CORS policy”

While loading my website, at some times icons are not displaying. "blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."
1
vote
0answers
213 views

Magento 2 NO Access-Control-Allow-Origin redirect on other web site

In my Controller I use $this->_response->setRedirect($url); I got this error. Access to XMLHttpRequest at 'URL' (redirected from 'myWebStoreUrl') from origin 'myServerUrl' has been ...
0
votes
0answers
222 views

Access to Font at 'http://..' from origin 'http://.' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header present on the req res

I am using the magento 2.2.6 I face the following error while move the project to the server Access to Font at 'http://base.com' from origin 'http://target.com' has been blocked by CORS policy: No '...
2
votes
1answer
1k views

Magento 2 Access-Control-Allow-Origin

I tried <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" and tried for js cross orign from htaccess <FilesMatch "\.(js)$"> Header set Access-Control-Allow-Origin "*...
1
vote
0answers
178 views

Ajax call getting CORS errors/conflicts

What i'm trying to do is as follows, we have different external content pages that have one or more of our products and need a simple "add to cart" button. To accomplish this i want to use a ajax ...
2
votes
1answer
3k views

SecurityError: Permission denied to access property “tinymce” on cross-origin object

I'm using Magento 1.9.3.4 AND KeyCDN. I configured the js/media/css files to come from CDN. On the CDN I enabled the CORS. The CDN uses HTTP/2, shared SSL and the Origin Shield setting is set to "...
2
votes
1answer
3k views

Magento 2 CORS & CDN

Using cdn77 which does not have the ability to set cross origin on that end so I need to update the htaccess of the store. I have updated the pub/static/.htaccess to include fonts setting Header ...