Closed suchwerk closed 7 hours ago
cc @ArtificialOwl
I experience the same behaviour, resulting in WebDAV-enabled clients timing out, etc.
Figured out I've one federated share, which is currently down. For your situation that would be the "remote":"https://cloud.xxxxx-xxxxxxn.de"
.
Could you verify if this "remote nextcloud" instance is still accessible?
Besides this cause, it would be nice if this error is reflected somewhere, or temporarily disable the remote/federated share after some attempts.
Why is this causing a delay for a WebDAV call directly to a specific file, which is just locally in the root dir?
`curl --user '
I am also affected. The message "OCMProviderException" stays after deleting that specific OCM share from the admin sharing panel. Strange!
Same problem.
Also on users pages on url: /ocs/v2.php/cloud/users/details?offset=0&limit=25&search=
with message "cURL error 28: Connection timed out after 10000 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://nextcloud/ocm-provider/"
I have a Caddy proxy (On Proxmox LXC) that refers to a Nginx+php-fpm (On Proxmox Debian VM) in same local network. All supply chain can ping an curl nextcloud address
All apps are slow (10s to 15s per actions).
I have increase timeout on Nginx and php-fpm but same issue.
Is anything to do ?
Same problem here. xxxxxxx.dyndns.info is down now and I could not find a way to unconfigure the nc instance that was at xxxxxxx.dyndns.info in my main nextcloud....
Warnung no app in context ConnectException cURL error 28: Failed to connect to xxxxxxx.dyndns.info port 4431 after 5202 ms: Connection timed out (see libcurl - Error Codes) for https://xxxxxx.dyndns.info:4431/ocm-provider/ error while discovering ocm provider
StorageNotAvailableException Sabre\HTTP\ClientException: Failed to connect to xxxxxxxxx.dyndns.info port 4431 after 130047 ms: Connection timed out External storage not available: Sabre\HTTP\ClientException: Failed to connect to xxxxxxxxxx.dyndns.info port 4431 after 130047 ms: Connection timed out
Currently running Nextcloud Hub 7 (28.0.2), but it has been like this since NC20.
Fix with new rule LAN to LAN into top firewall. Nextcloud can look into itself
"Fix with new rule LAN to LAN into top firewall. Nextcloud can look into itself" Can you please explain a little bit more?
Whole error message: {"reqId":"cZ2NEBM9esX4Zk47guiv","level":2,"time":"2024-02-21T18:14:02+01:00","remoteAddr":"172.18.0.2","user":"username","app":"no app in context","method":"POST","url":"/apps/onlyoffice/track?doc=eyJ0eXxxxxxxJ0cmFjayJ9.CgGo_MCoM6oDotzO2U4qKDK8MX-vddp8kY4VtX_PHr4","message":"error while discovering ocm provider","userAgent":"--","version":"28.0.2.5","exception":{"Exception":"GuzzleHttp\Exception\ConnectException","Message":"cURL error 28: Failed to connect to xxxxxxxxxx.dyndns.info port 4431 after 5202 ms: Connection timed out (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://xxxxxxxxxx.dyndns.info:4431/ocm-provider/","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","line":158,"function":"createRejection","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":[" sensitive parameters replaced "]},{"file":"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","line":110,"function":"finishError","class":"GuzzleHttp\Handler\CurlFactory","type":"::"},{"file":"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php","line":47,"function":"finish","class":"GuzzleHttp\Handler\CurlFactory","type":"::"},{"file":"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":137,"function":"invoke","class":"GuzzleHttp\Handler\CurlHandler","type":"->"},{"file":"/var/www/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php","line":121,"function":"GuzzleHttp\{closure}","class":"GuzzleHttp\Middleware","type":"::","args":[" sensitive parameters replaced "]},{"file":"/var/www/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":"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":31,"function":"invoke","class":"GuzzleHttp\PrepareBodyMiddleware","type":"->"},{"file":"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php","line":71,"function":"GuzzleHttp\{closure}","class":"GuzzleHttp\Middleware","type":"::","args":[" sensitive parameters replaced "]},{"file":"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":63,"function":"invoke","class":"GuzzleHttp\RedirectMiddleware","type":"->"},{"file":"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php","line":75,"function":"GuzzleHttp\{closure}","class":"GuzzleHttp\Middleware","type":"::","args":[" sensitive parameters replaced "]},{"file":"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":331,"function":"invoke","class":"GuzzleHttp\HandlerStack","type":"->"},{"file":"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":168,"function":"transfer","class":"GuzzleHttp\Client","type":"->"},{"file":"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":187,"function":"requestAsync","class":"GuzzleHttp\Client","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/nextcloud/lib/private/Http/Client/Client.php","line":230,"function":"request","class":"GuzzleHttp\Client","type":"->"},{"file":"/var/www/nextcloud/lib/private/OCM/OCMDiscoveryService.php","line":91,"function":"get","class":"OC\Http\Client\Client","type":"->"},{"file":"/var/www/nextcloud/apps/files_sharing/lib/External/Storage.php","line":87,"function":"discover","class":"OC\OCM\OCMDiscoveryService","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Mount/MountPoint.php","line":168,"function":"__construct","class":"OCA\Files_Sharing\External\Storage","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Mount/MountPoint.php","line":193,"function":"createStorage","class":"OC\Files\Mount\MountPoint","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/nextcloud/lib/private/Files/Mount/MountPoint.php","line":294,"function":"getStorage","class":"OC\Files\Mount\MountPoint","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Config/UserMountCache.php","line":83,"function":"getStorageRootId","class":"OC\Files\Mount\MountPoint","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/SetupManager.php","line":297,"function":"registerMounts","class":"OC\Files\Config\UserMountCache","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/SetupManager.php","line":221,"function":"afterUserFullySetup","class":"OC\Files\SetupManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Util.php","line":110,"function":"setupForUser","class":"OC\Files\SetupManager","type":"->"},{"file":"/var/www/nextcloud/apps/onlyoffice/lib/Controller/CallbackController.php","line":510,"function":"setupFS","class":"OC_Util","type":"::"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"track","class":"OCA\Onlyoffice\Controller\CallbackController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\AppFramework\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1069,"function":"match","class":"OC\Route\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","Line":210,"message":"error while discovering ocm provider","exception":[],"remote":"https://xxxxxxxxxx.dyndns.info:4431","CustomMessage":"error while discovering ocm provider"},"id":"65dxxxxx428"}
In my case, a physical firewall is present upstream of the host server (in addition to the host and VM firewalls). It was the physical firewall that prevented the VM's Nextcloud from polling itself. By adding a LAN => LAN rule, the Nextcloud is able to resolve its own domain.
Is it any clearer?
I have the same problem:
My questions here:
Related: #30552
Error reporting in the Web UI improved via #48625 Otherwise this is a duplicate of #30552
Bug description
Opening a shared link (not related to the ocm-provider that's connection is broken) is very slow (took 10s to open a directory). After investigating i saw in the logs that there are timeouts on a ocm-provider in the (exactly) same time range. After removing this link the webdav's behavior was normal again.
In the UI there is no information that this ocm-provider is not working correctly. Only if you look at the detail pages. Maybe a hint on link level would be good.
Steps to reproduce
Expected behavior
Normal reactivity of webdav access on broken ocm-providers
Installation method
Community Docker image
Nextcloud Server version
27
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response