# Official Docker 30.0.7 image wants to contact an external OCM provider

**URL:** <https://help.nextcloud.com/t/official-docker-30-0-7-image-wants-to-contact-an-external-ocm-provider/220782>\
**Category:** 📦 Appliances (Docker, Snappy, VM, NCP, AIO)\
**Tags:** docker, nc30\
**Created:** [March 21, 2025, 7:21pm UTC](https://help.nextcloud.com/t/official-docker-30-0-7-image-wants-to-contact-an-external-ocm-provider/220782 "2025-03-21T19:21:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bjof](https://help.nextcloud.com/letter_avatar/bjof/32/6_22734026db12803ebb3e059622ac3534.png) [@bjof](https://help.nextcloud.com/u/bjof)\
**Post date:** [March 21, 2025, 7:21pm UTC](https://help.nextcloud.com/t/official-docker-30-0-7-image-wants-to-contact-an-external-ocm-provider/220782/1 "2025-03-21T19:21:18Z")

</div>

Hello,

My internal Nextcloud 30.0.7 instance is working fine. However, I have a warning that comes up very often:

```auto
ConnectException cURL error 28: Connection timed out after 10001 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://fr.owncube.com/ocm-provider/ error while discovering ocm provider

```

I have never configured this provider. What’s more, I use the Docker image that contains Apache. So I don’t have a web server external to the Docker image.  
Do you know how to avoid this problem?

---

<div class="post-metadata">

**Author:** ![devnull](https://help.nextcloud.com/user_avatar/help.nextcloud.com/devnull/32/27793_2.png) [@devnull](https://help.nextcloud.com/u/devnull)\
**Post date:** [March 26, 2025, 1:14pm UTC](https://help.nextcloud.com/t/official-docker-30-0-7-image-wants-to-contact-an-external-ocm-provider/220782/2 "2025-03-26T13:14:58Z")

</div>

I think `https://fr.owncube.com` does not exist anymore. I think one of your users has got a Nextcloud federation read [here](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/federated_cloud_sharing_configuration.html). Also check `https://cloud.server.tld/settings/admin/sharing`.

---

<div class="post-metadata">

**Author:** ![bjof](https://help.nextcloud.com/letter_avatar/bjof/32/6_22734026db12803ebb3e059622ac3534.png) [@bjof](https://help.nextcloud.com/u/bjof)\
**Post date:** [March 31, 2025, 1:11pm UTC](https://help.nextcloud.com/t/official-docker-30-0-7-image-wants-to-contact-an-external-ocm-provider/220782/3 "2025-03-31T13:11:42Z")

</div>

Hello devnull,  
Thanks for your reply.  
I have just deactivated the Federation app, but the alerts still appear. I don’t know how to change the URL [https://fr.owncube.com](https://fr.owncube.com) as I can’t find it in my configuration. It is probably stored in the database from an older version of Nextcloud.

---

<div class="post-metadata">

**Author:** ![jtr](https://help.nextcloud.com/letter_avatar/jtr/32/6_22734026db12803ebb3e059622ac3534.png) [@jtr](https://help.nextcloud.com/u/jtr)\
**Post date:** [March 31, 2025, 1:43pm UTC](https://help.nextcloud.com/t/official-docker-30-0-7-image-wants-to-contact-an-external-ocm-provider/220782/4 "2025-03-31T13:43:51Z")

</div>

> [@bjof](#):
>
> I have just deactivated the Federation app, but the alerts still appear.

Post the full raw log entry (stack trace) [as described in the [support template](https://help.nextcloud.com/t/support-template-please-use-this-when-you-request-support/137402) under _Log Entries - Nextcloud_]

---

<div class="post-metadata">

**Author:** ![bjof](https://help.nextcloud.com/letter_avatar/bjof/32/6_22734026db12803ebb3e059622ac3534.png) [@bjof](https://help.nextcloud.com/u/bjof)\
**Post date:** [March 31, 2025, 4:11pm UTC](https://help.nextcloud.com/t/official-docker-30-0-7-image-wants-to-contact-an-external-ocm-provider/220782/5 "2025-03-31T16:11:15Z")

</div>

I can see more clearly now. I think it’s an alert caused by attempts to synchronise from one of my users’ Nextcloud Desktop client.

Here is a typical log line:  
{“reqId”:“HN1rkpptpiXdrfbWLesr”,“level”:2,“time”:“2025-03-31T15:56:05+00:00”,“remoteAddr”:“123.123.123.123”,“user”:“d0659642-cb8c-102a-939e-8dc8907cc36b”,“app”:“no app in context”,“method”:“PROPFIND”,“url”:“/remote.php/dav/files/d0659642-cb8c-102a-939e-8dc8907cc36b/”,“message”:“error while discovering ocm provider”,“userAgent”:“Mozilla/5.0 (Linux) mirall/3.15.3daily (Nextcloud, endeavouros-6.13.7-arch1-1 ClientArchitecture: x86\_64 OsArchitecture: x86\_64)”,“version”:“30.0.7.2”,“exception”:{“Exception”:“GuzzleHttp\Exception\ConnectException”,“Message”:“cURL error 28: Connection timed out after 10001 milliseconds (see [libcurl - Error Codes](https://curl.haxx.se/libcurl/c/libcurl-errors.html)) for [https://fr.owncube.com/ocm-provider/“,“Code”:0,“Trace”:[{“file”:”/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php",“line”:158,“function”:“createRejection”,“class”:“GuzzleHttp\\Handler\\CurlFactory”,“type”:“::”,“args”:["](https://fr.owncube.com/ocm-provider/%22,%22Code%22:0,%22Trace%22:%5B%7B%22file%22:%22/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php%22,%22line%22:158,%22function%22:%22createRejection%22,%22class%22:%22GuzzleHttp%5C%5CHandler%5C%5CCurlFactory%22,%22type%22:%22::%22,%22args%22:%5B%22)\*\*\* sensitive parameters replaced _**“]},{“file”:”/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php",“line”:110,“function”:“finishError”,“class”:“GuzzleHttp\Handler\CurlFactory”,“type”:“::”,“args”:[{“class”:“GuzzleHttp\Handler\CurlHandler”},"**_ sensitive parameters replaced _**“,{“class”:“GuzzleHttp\Handler\CurlFactory”}]},{“file”:”/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php",“line”:47,“function”:“finish”,“class”:“GuzzleHttp\Handler\CurlFactory”,“type”:“::”,“args”:[{“class”:“GuzzleHttp\Handler\CurlHandler”},"**_ sensitive parameters replaced _**“,{“class”:“GuzzleHttp\Handler\CurlFactory”}]},{“file”:”/var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php",“line”:142,“function”:“\_\_invoke”,“class”:“GuzzleHttp\Handler\CurlHandler”,“type”:“-\>”,“args”:["**_ sensitive parameters replaced _ **“,”** _ sensitive parameters replaced _**“]},{“file”:”/var/www/html/lib/private/Http/Client/DnsPinMiddleware.php",“line”:149,“function”:“GuzzleHttp\{closure}”,“class”:“GuzzleHttp\Middleware”,“type”:“::”,“args”:["**_ sensitive parameters replaced _**“]},{“file”:”/var/www/html/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/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php",“line”:31,“function”:“\_\_invoke”,“class”:“GuzzleHttp\PrepareBodyMiddleware”,“type”:“-\>”,“args”:["**_ sensitive parameters replaced _ **“,”** _ sensitive parameters replaced _**“]},{“file”:”/var/www/html/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php",“line”:71,“function”:“GuzzleHttp\{closure}”,“class”:“GuzzleHttp\Middleware”,“type”:“::”,“args”:["**_ sensitive parameters replaced _**“]},{“file”:”/var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php",“line”:66,“function”:“\_\_invoke”,“class”:“GuzzleHttp\RedirectMiddleware”,“type”:“-\>”,“args”:["**_ sensitive parameters replaced _ **“,”** _ sensitive parameters replaced _**“]},{“file”:”/var/www/html/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php",“line”:75,“function”:“GuzzleHttp\{closure}”,“class”:“GuzzleHttp\Middleware”,“type”:“::”,“args”:["**_ sensitive parameters replaced _**“]},{“file”:”/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php",“line”:333,“function”:“\_\_invoke”,“class”:“GuzzleHttp\HandlerStack”,“type”:“-\>”,“args”:["**_ sensitive parameters replaced _ **“,”** _ sensitive parameters replaced _**“]},{“file”:”/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php",“line”:169,“function”:“transfer”,“class”:“GuzzleHttp\Client”,“type”:“-\>”,“args”:["**_ sensitive parameters replaced _ **“,”** _ sensitive parameters replaced _**“]},{“file”:”/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php",“line”:189,“function”:“requestAsync”,“class”:“GuzzleHttp\Client”,“type”:“-\>”,“args”:["**_ sensitive parameters replaced _**“]},{“file”:”/var/www/html/lib/private/Http/Client/Client.php",“line”:205,“function”:“request”,“class”:“GuzzleHttp\Client”,“type”:“-\>”,“args”:["**_ sensitive parameters replaced _ **“,”** _ sensitive parameters replaced _**“,{“verify”:true,“timeout”:10,“allow\_redirects”:{“on\_redirect”:{“class”:“Closure”}},“connect\_timeout”:10,“nextcloud”:{“allow\_local\_address”:false},“0”:“And 2 more entries, set log level to debug to see all entries”}]},{“file”:”/var/www/html/lib/private/OCM/OCMDiscoveryService.php",“line”:83,“function”:“get”,“class”:“OC\Http\Client\Client”,“type”:“-\>”,“args”:["**_ sensitive parameters replaced _**“]},{“file”:”/var/www/html/apps/files\_sharing/lib/External/Storage.php",“line”:60,“function”:“discover”,“class”:“OC\OCM\OCMDiscoveryService”,“type”:“-\>”,“args”:[“[https://fr.owncube.com](https://fr.owncube.com)”]},{“file”:“/var/www/html/lib/private/Files/Mount/MountPoint.php”,“line”:145,“function”:“\_\_construct”,“class”:“OCA\Files\_Sharing\External\Storage”,“type”:“-\>”,“args”:[{“remote”:“[https://fr.owncube.com/“,“share\_token”:“5VdCawZUuqLZQvX”,“password”:”“,“mountpoint”:”/d0659642-cb8c-102a-939e-8dc8907cc36b/files/MyDirectory1",“owner”:“My\_user”,“0”:"And](https://fr.owncube.com/%22,%22share_token%22:%225VdCawZUuqLZQvX%22,%22password%22:%22%22,%22mountpoint%22:%22/d0659642-cb8c-102a-939e-8dc8907cc36b/files/MyDirectory1%22,%22owner%22:%22My_user%22,%220%22:%22And) 5 more entries, set log level to debug to see all entries”}]},{“file”:“/var/www/html/lib/private/Files/Mount/MountPoint.php”,“line”:170,“function”:“createStorage”,“class”:“OC\Files\Mount\MountPoint”,“type”:“-\>”,“args”:["**_ sensitive parameters replaced _**“]},{“file”:”/var/www/html/lib/private/Files/Mount/MountPoint.php",“line”:271,“function”:“getStorage”,“class”:“OC\Files\Mount\MountPoint”,“type”:“-\>”,“args”:[]},{“file”:“/var/www/html/lib/private/Files/Config/UserMountCache.php”,“line”:69,“function”:“getStorageRootId”,“class”:“OC\Files\Mount\MountPoint”,“type”:“-\>”,“args”:[]},{“file”:“/var/www/html/lib/private/Files/SetupManager.php”,“line”:285,“function”:“registerMounts”,“class”:“OC\Files\Config\UserMountCache”,“type”:“-\>”,“args”:[{“class”:“OC\User\User”},{“/d0659642-cb8c-102a-939e-8dc8907cc36b/files/Directory1/”:{“class”:“OCA\Files\_Sharing\External\Mount”},“/d0659642-cb8c-102a-939e-8dc8907cc36b/files/Directory2/”:{“class”:“OCA\Files\_Sharing\SharedMount”},“/d0659642-cb8c-102a-939e-8dc8907cc36b/files/Directory3/”:{“class”:“OCA\Files\_Sharing\SharedMount”},“/d0659642-cb8c-102a-939e-8dc8907cc36b/files/Directory4/”:{“class”:“OCA\Files\_Sharing\SharedMount”},“/d0659642-cb8c-102a-939e-8dc8907cc36b/files/Directory5/”:{“class”:“OCA\Files\_Sharing\SharedMount”},“0”:“And 12 more entries, set log level to debug to see all entries”},[“OC\Files\Mount\CacheMountProvider”,“OCA\Files\_Sharing\MountProvider”,“OCA\Files\_Sharing\External\MountProvider”]]},{“file”:“/var/www/html/lib/private/Files/SetupManager.php”,“line”:209,“function”:“afterUserFullySetup”,“class”:“OC\Files\SetupManager”,“type”:“-\>”,“args”:[{“class”:“OC\User\User”},[“OC\Files\Mount\LocalHomeMountProvider”]]},{“file”:“/var/www/html/lib/private/Files/SetupManager.php”,“line”:386,“function”:“setupForUser”,“class”:“OC\Files\SetupManager”,“type”:“-\>”,“args”:[{“class”:“OC\User\User”}]},{“file”:“/var/www/html/lib/private/Files/Mount/Manager.php”,“line”:117,“function”:“setupForPath”,“class”:“OC\Files\SetupManager”,“type”:“-\>”,“args”:[“/d0659642-cb8c-102a-939e-8dc8907cc36b/files”,true]},{“file”:“/var/www/html/lib/private/Files/View.php”,“line”:1466,“function”:“findIn”,“class”:“OC\Files\Mount\Manager”,“type”:“-\>”,“args”:[“/d0659642-cb8c-102a-939e-8dc8907cc36b/files”]},{“file”:“/var/www/html/lib/private/Files/Node/Node.php”,“line”:94,“function”:“addSubMounts”,“class”:“OC\Files\View”,“type”:“-\>”,“args”:[{“class”:“OC\Files\FileInfo”}]},{“file”:“/var/www/html/lib/private/Files/Node/Node.php”,“line”:202,“function”:“getFileInfo”,“class”:“OC\Files\Node\Node”,“type”:“-\>”,“args”:[]},{“function”:“getMTime”,“class”:“OC\Files\Node\Node”,“type”:“-\>”,“args”:[]},{“file”:“/var/www/html/lib/private/Files/Node/LazyFolder.php”,“line”:64,“function”:“call\_user\_func\_array”,“args”:[[{“class”:“OC\Files\Node\Folder”},“getMTime”],[]]},{“file”:“/var/www/html/lib/private/Files/Node/LazyFolder.php”,“line”:220,“function”:“\_\_call”,“class”:“OC\Files\Node\LazyFolder”,“type”:“-\>”,“args”:[“getMTime”,[]]},{“file”:“/var/www/html/apps/dav/lib/Connector/Sabre/Node.php”,“line”:152,“function”:“getMTime”,“class”:“OC\Files\Node\LazyFolder”,“type”:“-\>”,“args”:[]},{“file”:“/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php”,“line”:749,“function”:“getLastModified”,“class”:“OCA\DAV\Connector\Sabre\Node”,“type”:“-\>”,“args”:[]},{“file”:“/var/www/html/3rdparty/sabre/dav/lib/DAV/PropFind.php”,“line”:95,“function”:“Sabre\DAV\{closure}”,“class”:“Sabre\DAV\CorePlugin”,“type”:“-\>”,“args”:["**_ sensitive parameters replaced \*\*\*”]},{“file”:“/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php”,“line”:748,“function”:“handle”,“class”:“Sabre\DAV\PropFind”,“type”:“-\>”,“args”:[“{DAV:}getlastmodified”,{“ **class** ”:“Closure”}]},{“file”:“/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,“line”:89,“function”:“propFind”,“class”:“Sabre\DAV\CorePlugin”,“type”:“-\>”,“args”:[{“ **class** ”:“Sabre\DAV\PropFind”},{“ **class** ”:“OCA\DAV\Files\FilesHome”}]},{“file”:“/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:1052,“function”:“emit”,“class”:“Sabre\DAV\Server”,“type”:“-\>”,“args”:[“propFind”,[{“ **class** ”:“Sabre\DAV\PropFind”},{“ **class** ”:“OCA\DAV\Files\FilesHome”}]]},{“file”:“/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:984,“function”:“getPropertiesByNode”,“class”:“Sabre\DAV\Server”,“type”:“-\>”,“args”:[{“ **class** ”:“Sabre\DAV\PropFind”},{“ **class** ”:“OCA\DAV\Files\FilesHome”}]},{“file”:“/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:1662,“function”:“getPropertiesIteratorForPath”,“class”:“Sabre\DAV\Server”,“type”:“-\>”,“args”:[“files/d0659642-cb8c-102a-939e-8dc8907cc36b”,[“{DAV:}getlastmodified”],0]},{“file”:“/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:1647,“function”:“writeMultiStatus”,“class”:“Sabre\DAV\Server”,“type”:“-\>”,“args”:[{“ **class** ”:“Sabre\Xml\Writer”,“elementMap”:,“contextUri”:“/remote.php/dav/”,“namespaceMap”:{“DAV:”:“d”,“[http://sabredav.org/ns":“s”,“http://owncloud.org/ns”:“oc”,“http://nextcloud.org/ns”:“nc”},“classMap”:[]},{“\_\_class\_\_”:“Generator”},false]},{“file”:“/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php”,“line”:346,“function”:“generateMultiStatus”,“class”:“Sabre\\DAV\\Server”,“type”:"-](http://sabredav.org/ns%22:%22s%22,%22http://owncloud.org/ns%22:%22oc%22,%22http://nextcloud.org/ns%22:%22nc%22%7D,%22classMap%22:%5B%5D%7D,%7B%22 __class__ %22:%22Generator%22%7D,false%5D%7D,%7B%22file%22:%22/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php%22,%22line%22:346,%22function%22:%22generateMultiStatus%22,%22class%22:%22Sabre%5C%5CDAV%5C%5CServer%22,%22type%22:%22-)\>”,“args”:[{“ **class** ”:“Generator”},false]},{“file”:“/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,“line”:89,“function”:“httpPropFind”,“class”:“Sabre\DAV\CorePlugin”,“type”:“-\>”,“args”:[{“ **class** ”:“Sabre\HTTP\Request”},{“ **class** ”:“Sabre\HTTP\Response”}]},{“file”:“/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:472,“function”:“emit”,“class”:“Sabre\DAV\Server”,“type”:“-\>”,“args”:[“method:PROPFIND”,[{“ **class** ”:“Sabre\HTTP\Request”},{“ **class** ”:“Sabre\HTTP\Response”}]]},{“file”:“/var/www/html/apps/dav/lib/Connector/Sabre/Server.php”,“line”:49,“function”:“invokeMethod”,“class”:“Sabre\DAV\Server”,“type”:“-\>”,“args”:[{“ **class** ”:“Sabre\HTTP\Request”},{“ **class** ”:“Sabre\HTTP\Response”}]},{“file”:“/var/www/html/apps/dav/lib/Server.php”,“line”:374,“function”:“start”,“class”:“OCA\DAV\Connector\Sabre\Server”,“type”:“-\>”,“args”:},{“file”:“/var/www/html/apps/dav/appinfo/v2/remote.php”,“line”:19,“function”:“exec”,“class”:“OCA\DAV\Server”,“type”:“-\>”,“args”:},{“file”:“/var/www/html/remote.php”,“line”:146,“args”:[“/var/www/html/apps/dav/appinfo/v2/remote.php”],“function”:“require\_once”}],“File”:“/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php”,“Line”:210,“message”:“error while discovering ocm provider”,“exception”:{},“remote”:“[https://fr.owncube.com](https://fr.owncube.com)”,“CustomMessage”:“error while discovering ocm provider”}}

---

<div class="post-metadata">

**Author:** ![bjof](https://help.nextcloud.com/letter_avatar/bjof/32/6_22734026db12803ebb3e059622ac3534.png) [@bjof](https://help.nextcloud.com/u/bjof)\
**Post date:** [April 7, 2025, 2:07pm UTC](https://help.nextcloud.com/t/official-docker-30-0-7-image-wants-to-contact-an-external-ocm-provider/220782/6 "2025-04-07T14:07:27Z")

</div>

Hello,  
Here is the source of the problem and the solution:  
I have found entries in the oc\_share\_external table in the database. All I had to do was delete them:

> select id,remote,name,owner,user from oc\_share\_external;

```auto
+----+---------------------------------+--------------------+--------------------------------------+--------------------------------------+
| id | remote | name | owner | user |
+----+---------------------------------+--------------------+--------------------------------------+--------------------------------------+
| 3 | https://fr.owncube.com/ | /mario | my_user | d0659642-cb8c-102a-939e-8dc8907cc36b |
| 4 | https://another.url/ | /another_file.fic | 350a1b32-1b01-1034-9b54-05511a9d5a89 | d2610018-249b-1030-902e-e3968b90a961 |
+----+---------------------------------+--------------------+--------------------------------------+--------------------------------------+
2 rows in set (0.000 sec)

```

> delete from oc\_share\_external;

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [April 15, 2025, 2:08pm UTC](https://help.nextcloud.com/t/official-docker-30-0-7-image-wants-to-contact-an-external-ocm-provider/220782/7 "2025-04-15T14:08:21Z")

</div>

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.
