Federated Cloud ID is something wrong

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 32.0.8
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 24.04
  • Web server and version (e.g, Apache 2.4.25):
    • Apache/2.4.66 (Snap install)
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • replace me
  • PHP version (e.g, 8.3):
    • 8.3.29
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • Test for Federated Cloud ID, I installed new nextcloud.
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Snap
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • For testing, I didn't use DNS. Directly connect to IP.

Summary of the issue you are facing:

[…]

Federated Cloud ID is something wrong.

ID : hooni@http://192.168.55.28
My main server ID : hooni@gnsinfo.mooo.com

I tried to give url, @http same situation they have.
And overwritehost also I tried. But same result.:joy:

Please share your hand for me and my project.

Steps to replicate it (hint: details matter!):

  1. I just installed new nextcloud by snap

  2. After install I directly connect it by IP address with broswer.

  3. And step for install process. As soon as finished it I defined Federated Cloud ID.

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

{"reqId":"kvLoyS1Jh2F1feyJttX6","level":3,"time":"2026-04-05T13:26:18+00:00","remoteAddr":"192.168.55.51","user":"hooni","app":"no app in context","method":"GET","url":"/index.php/settings/ajax/checksetup","scriptName":"/index.php","message":"Exception running check OCA\\Settings\\SetupChecks\\WellKnownUrls: URL is missing scheme or host","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"32.0.8.2","exception":{"Exception":"InvalidArgumentException","Message":"URL is missing scheme or host","Code":0,"Trace":[{"file":"/snap/nextcloud/52898/htdocs/lib/public/SetupCheck/CheckServerResponseTrait.php","line":64,"function":"normalizeUrl","class":"OCA\\Settings\\SetupChecks\\WellKnownUrls","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/lib/public/SetupCheck/CheckServerResponseTrait.php","line":116,"function":"getTestUrls","class":"OCA\\Settings\\SetupChecks\\WellKnownUrls","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/apps/settings/lib/SetupChecks/WellKnownUrls.php","line":57,"function":"runRequest","class":"OCA\\Settings\\SetupChecks\\WellKnownUrls","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/lib/private/SetupCheck/SetupCheckManager.php","line":34,"function":"run","class":"OCA\\Settings\\SetupChecks\\WellKnownUrls","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/apps/settings/lib/Controller/CheckSetupController.php","line":132,"function":"runAll","class":"OC\\SetupCheck\\SetupCheckManager","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/lib/private/AppFramework/Http/Dispatcher.php","line":204,"function":"check","class":"OCA\\Settings\\Controller\\CheckSetupController","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/lib/private/AppFramework/Http/Dispatcher.php","line":118,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/snap/nextcloud/52898/htdocs/lib/base.php","line":1091,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/snap/nextcloud/52898/htdocs/lib/public/SetupCheck/CheckServerResponseTrait.php","Line":154,"message":"Exception running check OCA\\Settings\\SetupChecks\\WellKnownUrls: URL is missing scheme or host","exception":{},"CustomMessage":"Exception running check OCA\\Settings\\SetupChecks\\WellKnownUrls: URL is missing scheme or host"}}
{"reqId":"bByMsfnhPkOOWkH83lNq","level":3,"time":"2026-04-05T13:51:43+00:00","remoteAddr":"192.168.55.51","user":"hooni","app":"no app in context","method":"GET","url":"/index.php/settings/ajax/checksetup","scriptName":"/index.php","message":"Exception running check OCA\\Settings\\SetupChecks\\WellKnownUrls: URL is missing scheme or host","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"32.0.8.2","exception":{"Exception":"InvalidArgumentException","Message":"URL is missing scheme or host","Code":0,"Trace":[{"file":"/snap/nextcloud/52898/htdocs/lib/public/SetupCheck/CheckServerResponseTrait.php","line":64,"function":"normalizeUrl","class":"OCA\\Settings\\SetupChecks\\WellKnownUrls","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/lib/public/SetupCheck/CheckServerResponseTrait.php","line":116,"function":"getTestUrls","class":"OCA\\Settings\\SetupChecks\\WellKnownUrls","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/apps/settings/lib/SetupChecks/WellKnownUrls.php","line":57,"function":"runRequest","class":"OCA\\Settings\\SetupChecks\\WellKnownUrls","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/lib/private/SetupCheck/SetupCheckManager.php","line":34,"function":"run","class":"OCA\\Settings\\SetupChecks\\WellKnownUrls","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/apps/settings/lib/Controller/CheckSetupController.php","line":132,"function":"runAll","class":"OC\\SetupCheck\\SetupCheckManager","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/lib/private/AppFramework/Http/Dispatcher.php","line":204,"function":"check","class":"OCA\\Settings\\Controller\\CheckSetupController","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/lib/private/AppFramework/Http/Dispatcher.php","line":118,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/snap/nextcloud/52898/htdocs/lib/base.php","line":1091,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/snap/nextcloud/52898/htdocs/lib/public/SetupCheck/CheckServerResponseTrait.php","Line":154,"message":"Exception running check OCA\\Settings\\SetupChecks\\WellKnownUrls: URL is missing scheme or host","exception":{},"CustomMessage":"Exception running check OCA\\Settings\\SetupChecks\\WellKnownUrls: URL is missing scheme or host"}}
{"reqId":"6Akdtc4hpq8gpB2B0g3L","level":2,"time":"2026-04-05T14:02:25+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","scriptName":"/snap/nextcloud/52898/htdocs/cron.php","message":"Skipping updater backup clean-up - could not find updater backup folder /var/snap/nextcloud/common/nextcloud/data/updater-occx0jxc40sh/backups","userAgent":"--","version":"32.0.8.2","occ_command":["/snap/nextcloud/52898/htdocs/cron.php"],"data":[]}
{"reqId":"uDzUMTsfTRbdsl9V7Gad","level":3,"time":"2026-04-05T14:25:00+00:00","remoteAddr":"192.168.55.51","user":"hooni","app":"no app in context","method":"GET","url":"/index.php/settings/ajax/checksetup","scriptName":"/index.php","message":"Exception running check OCA\\Settings\\SetupChecks\\WellKnownUrls: URL is missing scheme or host","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0","version":"32.0.8.2","exception":{"Exception":"InvalidArgumentException","Message":"URL is missing scheme or host","Code":0,"Trace":[{"file":"/snap/nextcloud/52898/htdocs/lib/public/SetupCheck/CheckServerResponseTrait.php","line":64,"function":"normalizeUrl","class":"OCA\\Settings\\SetupChecks\\WellKnownUrls","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/lib/public/SetupCheck/CheckServerResponseTrait.php","line":116,"function":"getTestUrls","class":"OCA\\Settings\\SetupChecks\\WellKnownUrls","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/apps/settings/lib/SetupChecks/WellKnownUrls.php","line":57,"function":"runRequest","class":"OCA\\Settings\\SetupChecks\\WellKnownUrls","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/lib/private/SetupCheck/SetupCheckManager.php","line":34,"function":"run","class":"OCA\\Settings\\SetupChecks\\WellKnownUrls","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/apps/settings/lib/Controller/CheckSetupController.php","line":132,"function":"runAll","class":"OC\\SetupCheck\\SetupCheckManager","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/lib/private/AppFramework/Http/Dispatcher.php","line":204,"function":"check","class":"OCA\\Settings\\Controller\\CheckSetupController","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/lib/private/AppFramework/Http/Dispatcher.php","line":118,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/snap/nextcloud/52898/htdocs/lib/base.php","line":1091,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/snap/nextcloud/52898/htdocs/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/snap/nextcloud/52898/htdocs/lib/public/SetupCheck/CheckServerResponseTrait.php","Line":154,"message":"Exception running check OCA\\Settings\\SetupChecks\\WellKnownUrls: URL is missing scheme or host","exception":{},"CustomMessage":"Exception running check OCA\\Settings\\SetupChecks\\WellKnownUrls: URL is missing scheme or host"}}

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

sudo nextcloud.occ config:list
{
    "system": {
        "apps_paths": [
            {
                "path": "\/snap\/nextcloud\/current\/htdocs\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/snap\/nextcloud\/current\/nextcloud\/extra-apps",
                "url": "\/extra-apps",
                "writable": true
            }
        ],
        "supportedDatabases": [
            "mysql"
        ],
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0
        },
        "log_type": "file",
        "logfile": "\/var\/snap\/nextcloud\/current\/logs\/nextcloud.log",
        "logfilemode": 416,
        "maintenance_window_start": 1,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "192.168.55.28"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "32.0.8.2",
        "overwrite.cli.url": "192.168.55.28",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "maintenance": false
    },
    "apps": {
        "activity": {
            "enabled": "yes",
            "installed_version": "5.0.0",
            "types": "filesystem"
        },
        "app_api": {
            "enabled": "yes",
            "installed_version": "32.0.0",
            "types": ""
        },
        "backgroundjob": {
            "lastjob": "5"
        },
        "bruteforcesettings": {
            "enabled": "yes",
            "installed_version": "5.0.0",
            "types": ""
        },
        "circles": {
            "enabled": "yes",
            "installed_version": "32.0.0",
            "loopback_tmp_scheme": "http",
            "maintenance_run": "0",
            "maintenance_update": "{\"3\":1775398951,\"2\":1775399254,\"1\":1775399254}",
            "migration_22": "1",
            "migration_run": "0",
            "types": "filesystem,dav"
        },
        "cloud_federation_api": {
            "enabled": "yes",
            "installed_version": "1.16.0",
            "types": "filesystem"
        },
        "comments": {
            "enabled": "yes",
            "installed_version": "1.22.0",
            "types": "logging"
        },
        "contactsinteraction": {
            "enabled": "yes",
            "installed_version": "1.13.1",
            "types": "dav"
        },
        "core": {
            "backgroundjobs_mode": "cron",
            "installedat": "1775395047.4002",
            "lastcron": 1775399254,
            "lastupdatedat": 1775395047,
            "metadataGenerationDone": true,
            "moveavatarsdone": "yes",
            "previewsCleanedUp": "1",
            "public_files": "files_sharing\/public.php",
            "vendor": "nextcloud",
            "files_metadata": {
                "photos-original_date_time": {
                    "value": null,
                    "type": "int",
                    "etag": "",
                    "indexed": true,
                    "editPermission": 0
                },
                "photos-size": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-exif": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-ifd0": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "blurhash": {
                    "value": null,
                    "type": "string",
                    "etag": "6056aafdb171f265d0e140e0508c3a29",
                    "indexed": false,
                    "editPermission": 0
                }
            },
            "oc.integritycheck.checker": []
        },
        "dashboard": {
            "enabled": "yes",
            "installed_version": "7.12.0",
            "types": ""
        },
        "dav": {
            "buildCalendarReminderIndex": "yes",
            "buildCalendarSearchIndex": "yes",
            "builtSocialSearchIndex": "yes",
            "enabled": "yes",
            "hasCustomDefaultContact": false,
            "installed_version": "1.34.2",
            "regeneratedBirthdayCalendarsForYearFix": "yes",
            "types": "filesystem"
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "1.22.0",
            "types": ""
        },
        "federation": {
            "enabled": "yes",
            "installed_version": "1.22.0",
            "types": "authentication"
        },
        "files": {
            "enabled": "yes",
            "installed_version": "2.4.0",
            "mimetype_version": "32.0.8.2",
            "types": "filesystem"
        },
        "files_downloadlimit": {
            "enabled": "yes",
            "installed_version": "5.0.0",
            "types": ""
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "5.0.0",
            "types": ""
        },
        "files_reminders": {
            "enabled": "yes",
            "installed_version": "1.5.0",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "installed_version": "1.24.1",
            "types": "filesystem"
        },
        "files_trashbin": {
            "enabled": "yes",
            "installed_version": "1.22.0",
            "types": "filesystem,dav"
        },
        "files_versions": {
            "enabled": "yes",
            "installed_version": "1.25.0",
            "types": "filesystem,dav"
        },
        "firstrunwizard": {
            "enabled": "yes",
            "installed_version": "5.0.0",
            "types": ""
        },
        "logreader": {
            "enabled": "yes",
            "installed_version": "5.0.0",
            "types": "logging"
        },
        "lookup_server_connector": {
            "enabled": "yes",
            "installed_version": "1.20.0",
            "types": "authentication"
        },
        "nextcloud_announcements": {
            "enabled": "yes",
            "installed_version": "4.0.0",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
            "types": "logging"
        },
        "notifications": {
            "enabled": "yes",
            "installed_version": "5.0.0",
            "types": "logging"
        },
        "oauth2": {
            "enabled": "yes",
            "installed_version": "1.20.0",
            "types": "authentication"
        },
        "password_policy": {
            "enabled": "yes",
            "installed_version": "4.0.0",
            "types": "authentication"
        },
        "photos": {
            "enabled": "yes",
            "installed_version": "5.0.0",
            "lastPlaceMappedUser": "hooni",
            "lastPlaceMappingDone": "true",
            "types": "dav,authentication"
        },
        "privacy": {
            "enabled": "yes",
            "installed_version": "4.0.0",
            "types": ""
        },
        "profile": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": ""
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.22.0",
            "types": "prevent_group_restriction"
        },
        "recommendations": {
            "enabled": "yes",
            "installed_version": "5.0.0",
            "types": ""
        },
        "related_resources": {
            "enabled": "yes",
            "installed_version": "3.0.0",
            "types": ""
        },
        "serverinfo": {
            "cached_count_appdata_files": 79,
            "cached_count_filecache": 149,
            "cached_count_storages": 2,
            "enabled": "yes",
            "installed_version": "4.0.0",
            "size_appdata_storage": 0,
            "types": ""
        },
        "settings": {
            "enabled": "yes",
            "installed_version": "1.15.1",
            "types": ""
        },
        "sharebymail": {
            "enabled": "yes",
            "installed_version": "1.22.0",
            "types": "filesystem"
        },
        "support": {
            "SwitchUpdaterServerHasRun": "yes",
            "enabled": "yes",
            "installed_version": "4.0.0",
            "types": "session"
        },
        "survey_client": {
            "enabled": "yes",
            "installed_version": "4.0.0",
            "types": ""
        },
        "systemtags": {
            "enabled": "yes",
            "installed_version": "1.22.0",
            "types": "logging"
        },
        "text": {
            "enabled": "yes",
            "installed_version": "6.0.1",
            "types": "dav"
        },
        "theming": {
            "enabled": "yes",
            "installed_version": "2.7.0",
            "types": "logging"
        },
        "twofactor_backupcodes": {
            "enabled": "yes",
            "installed_version": "1.21.0",
            "types": ""
        },
        "user_status": {
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": ""
        },
        "viewer": {
            "enabled": "yes",
            "installed_version": "5.0.0",
            "types": ""
        },
        "weather_status": {
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": ""
        },
        "webhook_listeners": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": "filesystem"
        },
        "workflowengine": {
            "enabled": "yes",
            "installed_version": "2.14.0",
            "types": "filesystem"
        }
    }
}

Apps

The output of occ app:list (if possible).

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

The Federated Cloud ID showing as hooni@http://192.168.55.28 instead of a proper domain-based ID is expected when you access Nextcloud by IP address without a domain name configured.

The Federated Cloud ID is derived from the overwrite.cli.url setting in your Nextcloud config. Since you are connecting directly by IP, Nextcloud uses that IP as the server identifier.

To fix it, edit your config.php (for Snap installs it is at /var/snap/nextcloud/current/nextcloud/config/config.php) and set:

'overwrite.cli.url' => 'https://cloud.yourdomain.com',
'overwritehost' => 'cloud.yourdomain.com',
'overwriteprotocol' => 'https',

This changes the Federated Cloud ID to hooni@cloud.yourdomain.com which is the correct format for federation to work with other Nextcloud instances.

If you are just testing locally without a domain, federation will not work properly with an IP address anyway since remote Nextcloud servers need to be able to reach your server by hostname and verify it. For local testing between two Nextcloud instances on the same LAN, you can use /etc/hosts entries on both machines to give each server a hostname, then configure overwrite.cli.url accordingly.

Also make sure the hostname you choose is listed in the trusted_domains array in the same config.php file.

2 Likes

@leejh76 AS mentioned here:

it seems as though you’ve read short the official nextcloud documentation

And I changed DNS server from internal DNS server to 1.1.1.1

Thanks for your advice.

Could you share more information about how many Federated Cloud ID I can assign?

If 1,000 Federated Cloud ID assigned then, maybe server is very busy.
To solve DB loading and PHP process, how can I reduce this happens?