Skip to content

[Bug]: External storage app ignoring proxyexclude #60204

Description

@drhirn

⚠️ This issue respects the following points: ⚠️

Bug description

Trying to mount an external Webdav storage. Nextcloud is behind a proxy to connect to the internet, but the webdav storage is in lan. No matter how I configure proxyexclude, the connection always made to the proxy.
Same with smb connections when trying to mount smb shares.
If I remove the proxy configuration completely, everything is working fine.

Steps to reproduce

  1. Try to mount a local external storage with a proxy configured

Expected behavior

Proxy should be excluded when connection to targets on the lan

Nextcloud Server version

33

Operating system

RHEL/CentOS

PHP engine version

PHP 8.3

Web server

Apache (supported)

Database engine version

PostgreSQL

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "debug": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud-test.example.com",
            "localhost"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/cloud-test.example.com",
        "overwriteprotocol": "https",
        "overwritehost": "cloud-test.example.com",
        "dbtype": "pgsql",
        "version": "33.0.2.2",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "Europe\/Vienna",
        "installed": true,
        "maintenance_window_start": 1,
        "mail_sendmailmode": "smtp",
        "mail_smtpmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpstreamoptions": {
            "ssl": {
                "allow_self_signed": true,
                "verify_peer": false,
                "verify_peer_name": false
            }
        },
        "default_language": "de_DE",
        "maintenance": false,
        "loglevel": 0,
        "updatechecker": "true",
        "has_internet_connection": "true",
        "connectivity_check_domains": [
            "nextcloud.com"
        ],
        "proxy": "proxy.example.com:8080",
        "proxyexclude": [
            ".example.com",
            "localhost",
            "127.0.0.1",
            "webdav.example.com:5006",
            "example.com",
            "webdav.example.com"
        ],
        "twofactor_enforced": "true",
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": [
            "no2fa"
        ],
        "defaultapp": "files",
        "default_locale": "de_AT",
        "default_phone_region": "AT",
        "apps_paths": [
            {
                "path": "\/data\/vhosts\/nextcloud\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/data\/vhosts\/nextcloud\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "filelocking.enabled": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "htaccess.RewriteBase": "\/",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "theme": "",
        "app_install_overwrite": [
            "data_request",
            "groupfolders",
            "twofactor_admin",
            "impersonate",
            "user_usage_report"
        ],
        "forbidden_filename_basenames": [
            "con",
            "prn",
            "aux",
            "nul",
            "com0",
            "com1",
            "com2",
            "com3",
            "com4",
            "com5",
            "com6",
            "com7",
            "com8",
            "com9",
            "com\u00b9",
            "com\u00b2",
            "com\u00b3",
            "lpt0",
            "lpt1",
            "lpt2",
            "lpt3",
            "lpt4",
            "lpt5",
            "lpt6",
            "lpt7",
            "lpt8",
            "lpt9",
            "lpt\u00b9",
            "lpt\u00b2",
            "lpt\u00b3"
        ],
        "forbidden_filename_characters": [
            "<",
            ">",
            ":",
            "\"",
            "|",
            "?",
            "*",
            "\\",
            "\/"
        ],
        "forbidden_filename_extensions": [
            " ",
            ".",
            ".filepart",
            ".part"
        ],
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "upgrade.disable-web": true,
        "templatedirectory": "",
        "skeletondirectory": "\/data\/nextcloud\/skeleton",
        "default_certificates_bundle_path": "\/etc\/pki\/tls\/certs\/ca-bundle.crt",
        "serverid": "1"
    }
}

List of activated Apps

Enabled:
  - activity: 6.0.0
  - admin_audit: 1.23.0
  - app_api: 33.0.0
  - bruteforcesettings: 6.0.0
  - calendar: 6.2.2
  - circles: 33.0.0
  - cloud_federation_api: 1.17.0
  - comments: 1.23.0
  - contacts: 8.4.4
  - contactsinteraction: 1.14.1
  - dashboard: 7.13.0
  - dav: 1.36.0
  - federatedfilesharing: 1.23.0
  - federation: 1.23.0
  - files: 2.5.0
  - files_downloadlimit: 5.1.0
  - files_external: 1.25.1
  - files_pdfviewer: 6.0.0
  - files_reminders: 1.6.0
  - files_sharing: 1.25.2
  - files_trashbin: 1.23.0
  - files_versions: 1.26.0
  - groupfolders: 21.0.7
  - impersonate: 4.0.0
  - logreader: 6.0.0
  - lookup_server_connector: 1.21.0
  - nextcloud_announcements: 5.0.0
  - notifications: 6.0.0
  - oauth2: 1.21.0
  - password_policy: 5.0.0
  - photos: 6.0.0
  - privacy: 5.0.0
  - profile: 1.2.0
  - provisioning_api: 1.23.0
  - recommendations: 6.0.0
  - related_resources: 4.0.0
  - serverinfo: 5.0.0
  - settings: 1.16.0
  - sharebymail: 1.23.0
  - support: 5.0.0
  - suspicious_login: 11.0.0
  - systemtags: 1.23.0
  - tasks: 0.17.1
  - text: 7.0.0
  - theming: 2.8.0
  - twofactor_admin: 4.11.1
  - twofactor_backupcodes: 1.22.0
  - twofactor_totp: 15.0.0
  - updatenotification: 1.23.0
  - user_retention: 1.16.0
  - user_status: 1.13.0
  - user_usage_report: 4.0.0
  - viewer: 6.0.0
  - webhook_listeners: 1.5.0
  - workflowengine: 2.15.0
Disabled:
  - data_request: 5.0.0 (installed 5.0.0)
  - deck: 1.17.0 (installed 1.17.0)
  - encryption: 2.21.0
  - firstrunwizard: 6.0.0 (installed 4.0.0)
  - sharelisting: 1.3.0 (installed 1.3.0)
  - survey_client: 5.0.0 (installed 1.13.0)
  - terms_of_service: 4.6.1 (installed 4.6.1)
  - testing: 1.23.0
  - twofactor_nextcloud_notification: 7.0.0
  - twofactor_webauthn: 2.6.0 (installed 2.6.0)
  - user_ldap: 1.24.0
  - weather_status: 1.13.0 (installed 1.1.0)

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

{"reqId":"afxKdE71nEX-nOAvuvi9qQAAANY","level":0,"time":"2026-05-07T10:16:52+02:00","remoteAddr":"192.168.2.43","user":"username","app":"files_external","method":"GET","url":"/apps/files_external/globalstorages/19","scriptName":"/index.php","message":"The loading of lazy AppConfig values have been triggered by app \"files_external\"","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0","version":"33.0.2.2","exception":{"Exception":"RuntimeException","Message":"The loading of lazy AppConfig values have been triggered by app \"files_external\"","Code":0,"Trace":[{"file":"/data/vhosts/nextcloud/lib/private/AppConfig.php","line":492,"function":"loadConfig","class":"OC\\AppConfig","type":"->"},{"file":"/data/vhosts/nextcloud/lib/private/AppConfig.php","line":427,"function":"getTypedValue","class":"OC\\AppConfig","type":"->"},{"file":"/data/vhosts/nextcloud/apps/files_external/lib/Service/BackendService.php","line":244,"function":"getValueBool","class":"OC\\AppConfig","type":"->"},{"file":"/data/vhosts/nextcloud/apps/files_external/lib/Service/BackendService.php","line":263,"function":"isUserMountingAllowed","class":"OCA\\Files_External\\Service\\BackendService","type":"->"},{"file":"/data/vhosts/nextcloud/apps/files_external/lib/Service/BackendService.php","line":118,"function":"isAllowedUserBackend","class":"OCA\\Files_External\\Service\\BackendService","type":"->"},{"file":"/data/vhosts/nextcloud/apps/files_external/lib/Service/BackendService.php","line":132,"function":"registerBackend","class":"OCA\\Files_External\\Service\\BackendService","type":"->"},{"file":"/data/vhosts/nextcloud/apps/files_external/lib/Service/BackendService.php","line":88,"function":"registerBackends","class":"OCA\\Files_External\\Service\\BackendService","type":"->"},{"file":"/data/vhosts/nextcloud/apps/files_external/lib/Service/BackendService.php","line":189,"function":"loadBackendProviders","class":"OCA\\Files_External\\Service\\BackendService","type":"->"},{"file":"/data/vhosts/nextcloud/apps/files_external/lib/Service/StoragesService.php","line":279,"function":"getBackend","class":"OCA\\Files_External\\Service\\BackendService","type":"->"},{"file":"/data/vhosts/nextcloud/apps/files_external/lib/Service/StoragesService.php","line":70,"function":"createStorage","class":"OCA\\Files_External\\Service\\StoragesService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/data/vhosts/nextcloud/apps/files_external/lib/Service/StoragesService.php","line":132,"function":"getStorageConfigFromDBMount","class":"OCA\\Files_External\\Service\\StoragesService","type":"->"},{"file":"/data/vhosts/nextcloud/apps/files_external/lib/Controller/StoragesController.php","line":273,"function":"getStorage","class":"OCA\\Files_External\\Service\\StoragesService","type":"->"},{"file":"/data/vhosts/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":205,"function":"show","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->"},{"file":"/data/vhosts/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":118,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/data/vhosts/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/data/vhosts/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/data/vhosts/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/data/vhosts/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/data/vhosts/nextcloud/lib/private/AppConfig.php","Line":1327,"message":"The loading of lazy AppConfig values have been triggered by app \"files_external\"","exception":"{\"class\":\"RuntimeException\",\"message\":\"The loading of lazy AppConfig values have been triggered by app \\\"files_external\\\"\",\"code\":0,\"file\":\"/data/vhosts/nextcloud/lib/private/AppConfig.php:1327\",\"trace\":\"#0 /data/vhosts/nextcloud/lib/private/AppConfig.php(492): OC\\AppConfig->loadConfig()\\n#1 /data/vhosts/nextcloud/lib/private/AppConfig.php(427): OC\\AppConfig->getTypedValue()\\n#2 /data/vhosts/nextcloud/apps/files_external/lib/Service/BackendService.php(244): OC\\AppConfig->getValueBool()\\n#3 /data/vhosts/nextcloud/apps/files_external/lib/Service/BackendService.php(263): OCA\\Files_External\\Service\\BackendService->isUserMountingAllowed()\\n#4 /data/vhosts/nextcloud/apps/files_external/lib/Service/BackendService.php(118): OCA\\Files_External\\Service\\BackendService->isAllowedUserBackend()\\n#5 /data/vhosts/nextcloud/apps/files_external/lib/Service/BackendService.php(132): OCA\\Files_External\\Service\\BackendService->registerBackend()\\n#6 /data/vhosts/nextcloud/apps/files_external/lib/Service/BackendService.php(88): OCA\\Files_External\\Service\\BackendService->registerBackends()\\n#7 /data/vhosts/nextcloud/apps/files_external/lib/Service/BackendService.php(189): OCA\\Files_External\\Service\\BackendService->loadBackendProviders()\\n#8 /data/vhosts/nextcloud/apps/files_external/lib/Service/StoragesService.php(279): OCA\\Files_External\\Service\\BackendService->getBackend()\\n#9 /data/vhosts/nextcloud/apps/files_external/lib/Service/StoragesService.php(70): OCA\\Files_External\\Service\\StoragesService->createStorage()\\n#10 /data/vhosts/nextcloud/apps/files_external/lib/Service/StoragesService.php(132): OCA\\Files_External\\Service\\StoragesService->getStorageConfigFromDBMount()\\n#11 /data/vhosts/nextcloud/apps/files_external/lib/Controller/StoragesController.php(273): OCA\\Files_External\\Service\\StoragesService->getStorage()\\n#12 /data/vhosts/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(205): OCA\\Files_External\\Controller\\StoragesController->show()\\n#13 /data/vhosts/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(118): OC\\AppFramework\\Http\\Dispatcher->executeController()\\n#14 /data/vhosts/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#15 /data/vhosts/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#16 /data/vhosts/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#17 /data/vhosts/nextcloud/index.php(25): OC::handleRequest()\\n#18 {main}\"}","CustomMessage":"The loading of lazy AppConfig values have been triggered by app \"files_external\""}}
{"reqId":"afxKdE71nEX-nOAvuvi9qQAAANY","level":0,"time":"2026-05-07T10:16:52+02:00","remoteAddr":"192.168.2.43","user":"username","app":"dav","method":"GET","url":"/apps/files_external/globalstorages/19","scriptName":"/index.php","message":"sending dav PROPFIND request to external storage: http://localhosthttp://webdav.example.com:5006/","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0","version":"33.0.2.2","data":{"app":"dav"}}
{"reqId":"afxKdE71nEX-nOAvuvi9qQAAANY","level":0,"time":"2026-05-07T10:16:52+02:00","remoteAddr":"192.168.2.43","user":"username","app":"dav","method":"GET","url":"/apps/files_external/globalstorages/19","scriptName":"/index.php","message":"dav PROPFIND request to external storage: http://localhosthttp://webdav.example.com:5006/ took 6.3ms","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0","version":"33.0.2.2","data":{"app":"dav"}}
{"reqId":"afxKdE71nEX-nOAvuvi9qQAAANY","level":0,"time":"2026-05-07T10:16:52+02:00","remoteAddr":"192.168.2.43","user":"username","app":"files_external","method":"GET","url":"/apps/files_external/globalstorages/19","scriptName":"/index.php","message":"Forbidden","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0","version":"33.0.2.2","exception":{"Exception":"Sabre\\HTTP\\ClientHttpException","Message":"Forbidden","Code":403,"Trace":[{"file":"/data/vhosts/nextcloud/3rdparty/sabre/dav/lib/DAV/Client.php","line":300,"function":"send","class":"Sabre\\HTTP\\Client","type":"->"},{"file":"/data/vhosts/nextcloud/3rdparty/sabre/dav/lib/DAV/Client.php","line":198,"function":"doPropFind","class":"Sabre\\DAV\\Client","type":"->"},{"file":"/data/vhosts/nextcloud/lib/private/Files/Storage/DAV.php","line":291,"function":"propFind","class":"Sabre\\DAV\\Client","type":"->"},{"file":"/data/vhosts/nextcloud/lib/private/Files/Storage/DAV.php","line":591,"function":"propfind","class":"OC\\Files\\Storage\\DAV","type":"->"},{"file":"/data/vhosts/nextcloud/lib/private/Files/Storage/DAV.php","line":650,"function":"getMetaData","class":"OC\\Files\\Storage\\DAV","type":"->"},{"file":"/data/vhosts/nextcloud/lib/private/Files/Storage/Common.php","line":419,"function":"stat","class":"OC\\Files\\Storage\\DAV","type":"->"},{"file":"/data/vhosts/nextcloud/apps/files_external/lib/MountConfig.php","line":94,"function":"test","class":"OC\\Files\\Storage\\Common","type":"->"},{"file":"/data/vhosts/nextcloud/apps/files_external/lib/Controller/StoragesController.php","line":225,"function":"getBackendStatus","class":"OCA\\Files_External\\MountConfig","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/data/vhosts/nextcloud/apps/files_external/lib/Controller/StoragesController.php","line":275,"function":"updateStorageStatus","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/data/vhosts/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":205,"function":"show","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->"},{"file":"/data/vhosts/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":118,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/data/vhosts/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/data/vhosts/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/data/vhosts/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/data/vhosts/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/data/vhosts/nextcloud/3rdparty/sabre/http/lib/Client.php","Line":163,"message":"Forbidden","exception":"{\"class\":\"Sabre\\HTTP\\ClientHttpException\",\"message\":\"Forbidden\",\"code\":403,\"file\":\"/data/vhosts/nextcloud/3rdparty/sabre/http/lib/Client.php:163\",\"trace\":\"#0 /data/vhosts/nextcloud/3rdparty/sabre/dav/lib/DAV/Client.php(300): Sabre\\HTTP\\Client->send()\\n#1 /data/vhosts/nextcloud/3rdparty/sabre/dav/lib/DAV/Client.php(198): Sabre\\DAV\\Client->doPropFind()\\n#2 /data/vhosts/nextcloud/lib/private/Files/Storage/DAV.php(291): Sabre\\DAV\\Client->propFind()\\n#3 /data/vhosts/nextcloud/lib/private/Files/Storage/DAV.php(591): OC\\Files\\Storage\\DAV->propfind()\\n#4 /data/vhosts/nextcloud/lib/private/Files/Storage/DAV.php(650): OC\\Files\\Storage\\DAV->getMetaData()\\n#5 /data/vhosts/nextcloud/lib/private/Files/Storage/Common.php(419): OC\\Files\\Storage\\DAV->stat()\\n#6 /data/vhosts/nextcloud/apps/files_external/lib/MountConfig.php(94): OC\\Files\\Storage\\Common->test()\\n#7 /data/vhosts/nextcloud/apps/files_external/lib/Controller/StoragesController.php(225): OCA\\Files_External\\MountConfig::getBackendStatus()\\n#8 /data/vhosts/nextcloud/apps/files_external/lib/Controller/StoragesController.php(275): OCA\\Files_External\\Controller\\StoragesController->updateStorageStatus()\\n#9 /data/vhosts/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(205): OCA\\Files_External\\Controller\\StoragesController->show()\\n#10 /data/vhosts/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(118): OC\\AppFramework\\Http\\Dispatcher->executeController()\\n#11 /data/vhosts/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#12 /data/vhosts/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#13 /data/vhosts/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#14 /data/vhosts/nextcloud/index.php(25): OC::handleRequest()\\n#15 {main}\"}","CustomMessage":"Forbidden"}}
{"reqId":"afxKdE71nEX-nOAvuvi9qQAAANY","level":2,"time":"2026-05-07T10:16:52+02:00","remoteAddr":"192.168.2.43","user":"username","app":"no app in context","method":"GET","url":"/apps/files_external/globalstorages/19","scriptName":"/index.php","message":"External storage not available: Sabre\\HTTP\\ClientHttpException:Forbidden","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0","version":"33.0.2.2","exception":{"Exception":"OCP\\Files\\ForbiddenException","Message":"Sabre\\HTTP\\ClientHttpException:Forbidden","Code":0,"Trace":[{"file":"/data/vhosts/nextcloud/lib/private/Files/Storage/DAV.php","line":301,"function":"convertException","class":"OC\\Files\\Storage\\DAV","type":"->"},{"file":"/data/vhosts/nextcloud/lib/private/Files/Storage/DAV.php","line":591,"function":"propfind","class":"OC\\Files\\Storage\\DAV","type":"->"},{"file":"/data/vhosts/nextcloud/lib/private/Files/Storage/DAV.php","line":650,"function":"getMetaData","class":"OC\\Files\\Storage\\DAV","type":"->"},{"file":"/data/vhosts/nextcloud/lib/private/Files/Storage/Common.php","line":419,"function":"stat","class":"OC\\Files\\Storage\\DAV","type":"->"},{"file":"/data/vhosts/nextcloud/apps/files_external/lib/MountConfig.php","line":94,"function":"test","class":"OC\\Files\\Storage\\Common","type":"->"},{"file":"/data/vhosts/nextcloud/apps/files_external/lib/Controller/StoragesController.php","line":225,"function":"getBackendStatus","class":"OCA\\Files_External\\MountConfig","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/data/vhosts/nextcloud/apps/files_external/lib/Controller/StoragesController.php","line":275,"function":"updateStorageStatus","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/data/vhosts/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":205,"function":"show","class":"OCA\\Files_External\\Controller\\StoragesController","type":"->"},{"file":"/data/vhosts/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":118,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/data/vhosts/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/data/vhosts/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/data/vhosts/nextcloud/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/data/vhosts/nextcloud/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/data/vhosts/nextcloud/lib/private/Files/Storage/DAV.php","Line":835,"message":"External storage not available: Sabre\\HTTP\\ClientHttpException:Forbidden","exception":"{\"class\":\"OCP\\Files\\ForbiddenException\",\"message\":\"Sabre\\HTTP\\ClientHttpException:Forbidden\",\"code\":0,\"file\":\"/data/vhosts/nextcloud/lib/private/Files/Storage/DAV.php:835\",\"trace\":\"#0 /data/vhosts/nextcloud/lib/private/Files/Storage/DAV.php(301): OC\\Files\\Storage\\DAV->convertException()\\n#1 /data/vhosts/nextcloud/lib/private/Files/Storage/DAV.php(591): OC\\Files\\Storage\\DAV->propfind()\\n#2 /data/vhosts/nextcloud/lib/private/Files/Storage/DAV.php(650): OC\\Files\\Storage\\DAV->getMetaData()\\n#3 /data/vhosts/nextcloud/lib/private/Files/Storage/Common.php(419): OC\\Files\\Storage\\DAV->stat()\\n#4 /data/vhosts/nextcloud/apps/files_external/lib/MountConfig.php(94): OC\\Files\\Storage\\Common->test()\\n#5 /data/vhosts/nextcloud/apps/files_external/lib/Controller/StoragesController.php(225): OCA\\Files_External\\MountConfig::getBackendStatus()\\n#6 /data/vhosts/nextcloud/apps/files_external/lib/Controller/StoragesController.php(275): OCA\\Files_External\\Controller\\StoragesController->updateStorageStatus()\\n#7 /data/vhosts/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(205): OCA\\Files_External\\Controller\\StoragesController->show()\\n#8 /data/vhosts/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(118): OC\\AppFramework\\Http\\Dispatcher->executeController()\\n#9 /data/vhosts/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#10 /data/vhosts/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#11 /data/vhosts/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#12 /data/vhosts/nextcloud/index.php(25): OC::handleRequest()\\n#13 {main}\"}","CustomMessage":"External storage not available: Sabre\\HTTP\\ClientHttpException:Forbidden"}}
{"reqId":"afxKdE71nEX-nOAvuvi9qQAAANY","level":1,"time":"2026-05-07T10:16:52+02:00","remoteAddr":"192.168.2.43","user":"username","app":"lib","method":"GET","url":"/apps/files_external/globalstorages/19","scriptName":"/index.php","message":"Storage with webdav::username@webdav.example.com:5006// marked as unavailable","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0","version":"33.0.2.2","data":{"app":"lib"}}

Additional info

Tried different configuration setting for proxyexclude:

"proxyexclude": [
            ".example.com",
            "localhost",
            "127.0.0.1",
            "webdav.example.com:5006",
            "example.com",
            "webdav.example.com"
        ]

"proxyexclude" => explode(',', getenv('no_proxy')),

"proxyexclude" =>
  array (
    0 => '.example.com',
    1 => 'localhost',
    2 => '127.0.0.1',
    3 => 'webdav.example.com:5006',
    4 => 'example.com',
    5 => 'webdav.example.com'
  ),

No difference

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    No fields configured for Bug.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions