Has been blocked by CORS policy: Permission was denied for this request to access the `unknown` address space - chrome 142

Costas

Administrator
Staff member
The error
Access to XMLHttpRequest at 'http://localhost/index.php' from origin 'https://www.vet365.gr' has been blocked by CORS policy: Permission was denied for this request to access the `unknown` address space.

due Chrome 138 - New permission prompt for Local Network Access
From Chrome 138, you can opt-in to these new restrictions by going to chrome://flags/#local-network-access-check and setting the flag to "Enabled (Blocking)". By Chrome 142 and beyond the option is not available. ref

visiting
chrome://settings/content/localNetworkAccess

we see the vet365.gr on blocked section by default

pL6O8pF.jpeg

we have to whitelist vest365.gr, and become

o6UMUNl.jpeg

with this registry fix :
JavaScript:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\LocalNetworkAccessAllowedForUrls]
"1"="https://www.vet365.gr"
"2"="https://vet365.gr"

ref
https://stackoverflow.com/a/79818948

reference ChromeEnterpriseMyA$$ :

same applied for EDGE
 
Top