Skip to content

Error "Message not delivered locally with status: 3.7;Could not find principal." when sending invitation #6720

@ivanfor

Description

@ivanfor

Steps to reproduce

  1. Open Android calendar app
  2. Send an appointment with an external attendee

Expected behavior

Invitation should be sent

Actual behavior

Invitation is not sent

Calendar app version

5.0.10

CalDAV-clients used

DAVx5

Browser

Not relevant

Client operating system

Android

Server operating system

Official docker image

Web server

Apache

Database engine version

MariaDB

PHP engine version

None

Nextcloud version

30.0.5

Updated from an older installed version or fresh install

Updated from an older version

List of activated apps

www-data@aa3b482bf57a:~/html$ ./occ app:list
Enabled:
  - activity: 3.0.0
  - app_api: 4.0.5
  - bookmarks: 15.0.5
  - bruteforcesettings: 3.0.0
  - calendar: 5.0.10
  - circles: 30.0.0
  - cloud_federation_api: 1.13.0
  - comments: 1.20.1
  - contacts: 6.1.3
  - contactsinteraction: 1.11.0
  - dashboard: 7.10.0
  - dav: 1.31.1
  - federatedfilesharing: 1.20.0
  - federation: 1.20.0
  - files: 2.2.0
  - files_downloadlimit: 3.0.0
  - files_pdfviewer: 3.0.0www-data@aa3b482bf57a:~/html$ ./occ app:list
Enabled:
  - activity: 3.0.0
  - app_api: 4.0.5
  - bookmarks: 15.0.5
  - bruteforcesettings: 3.0.0
  - calendar: 5.0.10
  - circles: 30.0.0
  - cloud_federation_api: 1.13.0
  - comments: 1.20.1
  - contacts: 6.1.3
  - contactsinteraction: 1.11.0
  - dashboard: 7.10.0
  - dav: 1.31.1
  - federatedfilesharing: 1.20.0
  - federation: 1.20.0
  - files: 2.2.0
  - files_downloadlimit: 3.0.0
  - files_pdfviewer: 3.0.0
  - files_reminders: 1.3.0
  - files_sharing: 1.22.0
  - files_trashbin: 1.20.1
  - files_versions: 1.23.0
  - firstrunwizard: 3.0.0

  - files_reminders: 1.3.0
  - files_sharing: 1.22.0
  - files_trashbin: 1.20.1
  - files_versions: 1.23.0
  - firstrunwizard: 3.0.0

Nextcloud configuration

www-data@aa3b482bf57a:~/html$ ./occ config:list system
{
    "system": {
        "htaccess.RewriteBase": "\/",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.casa.forcada.info"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "30.0.5.1",
        "overwrite.cli.url": "https:\/\/cloud.casa.forcada.info",
        "overwriteprotocol": "https",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "default_phone_region": "ES",
        "has_rebuilt_cache": true,
        "loglevel": 2,
        "maintenance": false,
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "tls",
        "mail_sendmailmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "theme": "",
        "app_install_overwrite": [
            "ransomware_protection"
        ],
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

Web server error log


Log file

Full log is huge. This is a relevant entry when sending an appointment with DAVx5:
{
    "reqId": "U0oIhl2CuDRIDPfCFLVJ",
    "level": 0,
    "time": "2025-02-14T07:08:42+00:00",
    "remoteAddr": "192.168.200.3",
    "user": "ivan",
    "app": "no app in context",
    "method": "PUT",
    "url": "/remote.php/dav/calendars/ivan/personal/4ace67e9-46d8-4a5f-a6d5-b8103a639aec.ics",
    "message": "Message not delivered locally with status: 3.7;Could not find principal.",
    "userAgent": "DAVx5/4.4.7-ose (dav4jvm; okhttp/4.12.0) Android/15",
    "version": "30.0.5.1",
    "data": []
}

This is an appointment using Thunderbird (working OK):

{
"reqId": "E2wIAQ2aDMgYi89M2mpM",
"level": 0,
"time": "2025-02-14T10:32:55+00:00",
"remoteAddr": "192.168.11.57",
"user": "--",
"app": "no app in context",
"method": "PUT",
"url": "/remote.php/dav/calendars/ivan/personal/e075b2e5-a74b-41d3-89d0-bbcf84308429.ics",
"message": "The loading of lazy AppConfig values have been requested",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Thunderbird/128.7.0",
"version": "30.0.5.1",
"exception": {
"Exception": "RuntimeException",
"Message": "ignorable exception",
"Code": 0,

Browser log


Additional info

It's working OK with thunderbird but not with DAVx5.
DAVx5 account name is matching calendar's owner email.
I don't know what else to do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions