CORS error: InvalidPrivateNetworkAccess
I am getting a very infrequent error that shows up maybe 1 out of every 100 page loads, but it doesn't seem to be tied to any particular route on my project. The page will flash that the site cannot be reached and then less than a second later the page will load on its own correctly. Looking at the network tab (perserved) the erroneous page load shows a CORS Error: InvalidPrivateNetworkAccess, but then the subsequent request is a valid load of the same request.
All the navigation is done within the same domain. I checked the error logs on the sever root and in the Laravel storage directory and neither are logging the failed request. My domain host provider wasn't able to help either. I do have a staging sub-domain that does the same thing, but none of my other sites do this on the same vps.
I do enforce https via the htaccess file, using Laravel 7.30.4, and php 7.4.25
I have tried clearing the config:cache on the domain as well as my browsers cache. Has anyone else ran into anything like this? Haven't been able to find anything online.
Please or to participate in this conversation.