We have a web-based system hosted in the LAN (non-SSL). From Chrome 102 (Windows/Ubuntu), we face a randomly CORS issue which describes as
has been blocked by CORS policy: Request had a targe IP address space of 'unknown' yet the resource is in address space 'private'
and I also attach the picture:
The issue is not always happen, sometimes it is ok after we refresh Chrome. But sometimes it occur on other resource file, like css or js.
We do not know why a web page on 192.168.1.168:8888 uses "script" and "link" tag to fetch .js/.css (also existed on 192.168.1.168:8888) will trigger this issue sometimes.
The "Access-Control-Allow-Origin" header are set as "*" in the backend code. This problem bothers us so much, does anyone know any action we can do to solve issue?