Nextcloud version : 27.0.0
Operating system and version : CentOS Stream
Apache or nginx version: 2.4.37
PHP version: REMI PHP 8.1.16
The issue you are facing:
Random servers on my network continue to show up in the log files with this error:
{
"reqId": "a9s8cua9sc8PzBEB6@j1WOQAAAIc",
"level": 2,
"time": "2023-07-18T18:08:05+00:00",
"remoteAddr": "10.10.10.10",
"user": "bee069c6-bd5e-1037-9ffe-33e859c5e555",
"app": "no app in context",
"method": "GET",
"url": "/ocs/v2.php/references/resolve?reference=http%3A%2F%2Frandomhostname.domain.lan",
"message": "Host randomhostname.domain.lan was not connected to because it violates local access rules",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0",
"version": "27.0.0.8",
"data": []
}
The “randomhostname” isn’t always the same host. It’s various different hosts on my network, none of which should/would be accessing the Nextcloud server.
Why is this happening?