Error appeared after upgrading to 22.2.0 this configuration has been working for years and now I cant connect Onlyoffice. Any help to try and fix this would be greatly appreciated.
I tried adding this into my config but when added it breaks everything ‘allow_local_remote_servers’ => true, I have to leave it out as of now. Last thing to note is the fact that I am using a reverse proxy on a separate server.
“app”:“onlyoffice”,“method”:“PUT”,“url”:“/index.php/apps/onlyoffice/ajax/settings/address”,“message”:“HealthcheckRequest on check error”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36”,“version”:“22.2.0.2”,“exception”:{“Exception”:“OCP\Http\Client\LocalServerException”,“Message”:“Host violates local access rules”,“Code”:0,“Trace”:[{“file”:“/srv/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php”,“line”:136,“function”:“ThrowIfLocalIp”,“class”:“OC\Http\Client\LocalAddressChecker”,“type”:“->”},{“file”:“/srv/nextcloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php”,“line”:35,“function”:“OC\Http\Client\{closure}”,“class”:“OC\Http\Client\DnsPinMiddleware”,“type”:“->”,“args”:[“*** sensitive parameters replaced “]},{“file”:”/srv/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php",“line”:31,“function”:“__invoke”,“class”:“GuzzleHttp\PrepareBodyMiddleware”,“type”:“->”},{“file”:“/srv/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php”,“line”:71,“function”:“GuzzleHttp\{closure}”,“class”:“GuzzleHttp\Middleware”,“type”:“::”,“args”:[" sensitive parameters replaced “]},{“file”:”/srv/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php",“line”:63,“function”:“__invoke”,“class”:“GuzzleHttp\RedirectMiddleware”,“type”:“->”},{“file”:“/srv/nextcloud/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php”,“line”:75,“function”:“GuzzleHttp\{closure}”,“class”:“GuzzleHttp\Middleware”,“type”:“::”,“args”:[" sensitive parameters replaced ***”]},{“file”:“/srv/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php”,“line”:331,“function”:“__invoke”,“class”:“GuzzleHttp\HandlerStack”,“type”:“->”},{“file”:“/srv/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php”,“line”:168,“function”:“transfer”,“class”:“GuzzleHttp\Client”,“type”:“->”},{“file”:“/srv/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php”,“line”:187,“function”:“requestAsync”,“class”:“GuzzleHttp\Client”,“type”:“->”},{“file”:“/srv/nextcloud/lib/private/Http/Client/Client.php”,“line”:223,“function”:“request”,“class”:“GuzzleHttp\Client”,“type”:“->”},{“file”:“/srv/nextcloud/apps/onlyoffice/lib/documentservice.php”,“line”:364,“function”:“get”,“class”:“OC\Http\Client\Client”,“type”:“->”},{“file”:“/srv/nextcloud/apps/onlyoffice/lib/documentservice.php”,“line”:253,“function”:“Request”,“class”:“OCA\Onlyoffice\DocumentService”,“type”:“->”},{“file”:“/srv/nextcloud/apps/onlyoffice/lib/documentservice.php”,“line”:396,“function”:“HealthcheckRequest”,“class”:“OCA\Onlyoffice\DocumentService”,“type”:“->”},{“file”:“/srv/nextcloud/apps/onlyoffice/controller/settingscontroller.php”,“line”:172,“function”:“checkDocServiceUrl”,“class”:“OCA\Onlyoffice\DocumentService”,“type”:“->”},{“file”:“/srv/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“line”:217,“function”:“SaveAddress”,“class”:“OCA\Onlyoffice\Controller\SettingsController”,“type”:“->”},{“file”:“/srv/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“line”:126,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/srv/nextcloud/lib/private/AppFramework/App.php”,“line”:156,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/srv/nextcloud/lib/private/Route/Router.php”,“line”:301,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:“::”},{“file”:“/srv/nextcloud/lib/base.php”,“line”:1000,“function”:“match”,“class”:“OC\Route\Router”,“type”:“->”},{“file”:“/srv/nextcloud/index.php”,“line”:36,“function”:“handleRequest”,“class”:“OC”,“type”:“::”}],“File”:“/srv/nextcloud/lib/private/Http/Client/LocalAddressChecker.php”,“Line”:42,“CustomMessage”:“HealthcheckRequest on check error”}}