Avast WEBforum

Other => General Topics => Topic started by: edward183 on October 28, 2021, 10:50:34 PM

Title: CORS policy: No 'Access-Control-Allow-Origin' header is present
Post by: edward183 on October 28, 2021, 10:50:34 PM
Hello,

I'm seeing these Google Chrome Dev Tools Console errors today when checking my website. When I turn off the Avast Online Security & Privacy Extension the errors no longer occur.

Code: [Select]
Access to fetch at 'https://s-install.avcdn.net/aos/assets/prod/translations/Locale-en-US.json' from origin 'https://www.ait-pro.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
s-install.avcdn.net/aos/assets/prod/translations/Locale-en-US.json:1
Failed to load resource: net::ERR_FAILED 404

Thanks
Title: Re: CORS policy: No 'Access-Control-Allow-Origin' header is present
Post by: HelloWorld on January 20, 2022, 12:55:56 PM
Hello.
I'm seconding that.
Thought it is not a big deal because it is identified, this is pretty annoying to see those messages on the long run.

Code: [Select]
Request URL: https://s-install.avcdn.net/aos/assets/prod/translations/Locale-en-GB.json
Request Method: GET
Status Code: 404
Referrer Policy: strict-origin-when-cross-origin

On another hand another resource is successfully loaded
Code: [Select]
Request URL: https://s-install.avcdn.net/aos/assets/prod/translations/Locale-en.json
Request Method: GET
Status Code: 200 OK (from disk cache)
Remote Address: 184.50.241.24:443
Referrer Policy: strict-origin-when-cross-origin

Kind regards.
Title: Re: CORS policy: No 'Access-Control-Allow-Origin' header is present
Post by: Asyn on January 20, 2022, 01:01:14 PM
Hi guys, best you post/ask in the dedicated forum section.
-> https://forum.avast.com/index.php?board=99.0