HTTP server error 418 Contacts synchronization
Reporting an error of synchronization of Contacts (and Calendar) as per discussion started at https://community.e.foundation/t/http-server-error-418/44128. This error started after updating to 1.3 (?) and 1.4. Likely due to:
No main account assigned to address book account
User @aibd was surprised by what looked like an http error on a https service. Seems like updating password did not solve this error.
This is the error message on my device:
SYNCHRONIZATION INFO Account name: Contacts (REMOVED@e.email Zw) Authority: com.android.contacts
HTTP REQUEST: Request{method=PROPFIND, url=https://ecloud.global/remote.php/dav/addressbooks/users/REMOVED@e.email/contacts/, tags={}}
HTTP RESPONSE: Response{protocol=http/1.0, code=418, message=Service Unavailable, url=https://ecloud.global/remote.php/dav/addressbooks/users/REMOVED@e.email/contacts/}
and:
REMOTE RESOURCE: https://ecloud.global/remote.php/dav/addressbooks/users/REMOVED@e.email/contacts/
EXCEPTION: foundation.e.dav4jvm.exception.HttpException: HTTP 418 Service Unavailable at foundation.e.dav4jvm.DavResource.checkStatus(DavResource.kt:423) at foundation.e.dav4jvm.DavResource.checkStatus(DavResource.kt:397) at foundation.e.dav4jvm.DavResource.processMultiStatus(DavResource.kt:491) at foundation.e.dav4jvm.DavResource.propfind(DavResource.kt:384) at foundation.e.accountmanager.syncadapter.ContactsSyncManager$queryCapabilities$1.invoke(ContactsSyncManager.kt:128) at foundation.e.accountmanager.syncadapter.ContactsSyncManager$queryCapabilities$1.invoke(ContactsSyncManager.kt:75) at foundation.e.accountmanager.syncadapter.SyncManager.useRemote(SyncManager.kt:838) at foundation.e.accountmanager.syncadapter.SyncManager.useRemoteCollection(SyncManager.kt:859) at foundation.e.accountmanager.syncadapter.ContactsSyncManager.queryCapabilities(ContactsSyncManager.kt:126) at foundation.e.accountmanager.syncadapter.SyncManager$performSync$1.invoke(SyncManager.kt:125) at foundation.e.accountmanager.syncadapter.SyncManager$performSync$1.invoke(SyncManager.kt:57) at foundation.e.accountmanager.syncadapter.SyncManager.unwrapExceptions(SyncManager.kt:864) at foundation.e.accountmanager.syncadapter.SyncManager.performSync(SyncManager.kt:116) at foundation.e.accountmanager.syncadapter.EeloContactsSyncAdapterService$ContactsSyncAdapter.sync(EeloContactsSyncAdapterService.kt:68) at foundation.e.accountmanager.syncadapter.SyncAdapterService$SyncAdapter.onPerformSync(SyncAdapterService.kt:122) at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:354)
SOFTWARE INFORMATION
- foundation.e.accountmanager 2.6.3-ose (328)
- com.android.providers.contacts 10 (29)
- com.android.providers.calendar 10 (29)
- foundation.e.tasks 1.2.3-76-gca2dc61 (7800)
- com.android.contacts 1.7.31 (10731)
- foundation.e.calendar 10 (29)
CONNECTIVITY (at the moment)
- [ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED&NOT_ROAMING&FOREGROUND&NOT_CONGESTED&NOT_SUSPENDED LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps SignalStrength: -61]
- [ Transports: WIFI|VPN Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&VALIDATED&NOT_ROAMING&FOREGROUND&NOT_CONGESTED&NOT_SUSPENDED LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps]
CONFIGURATION Power saving disabled: yes Notifications (not blocked): [group] sync isBlocked=false syncProblems: importance=4 syncIoErrors: importance=1 syncWarnings: importance=2 general: importance=3 debug: importance=4 Permissions: READ_CONTACTS: granted WRITE_CONTACTS: granted READ_CALENDAR: granted WRITE_CALENDAR: granted READ_TASKS: granted WRITE_TASKS: granted ACCESS_COARSE_LOCATION: granted System-wide synchronization: automatically
ACCOUNTS Account: REMOVED@e.email Address book sync. interval: 2 min Calendar sync. interval: manually OpenTasks sync. interval: manually WiFi only: false [CardDAV] Contact group method: CATEGORIES [CalDAV] Time range (past days): 90 Manage calendar colors: true Use event colors: false Account {name=REMOVED@e.email, type=e.foundation.webdav.eelo} is invalid: No main account assigned to address book account
SQLITE DUMP android_metadata | locale | | fr_FR |
REMOVED@e.email | | e.foundation.webdav.eelo | foundation.e.accountmanager.eelo.address_book | carddav | https://ecloud.global/remote.php/dav/principals/users/REMOVED@e.email/ | | 2 | REMOVED@e.email | | e.foundation.webdav.eelo | foundation.e.accountmanager.eelo.address_book | caldav | https://ecloud.global/remote.php/dav/principals/users/REMOVED@e.email/ |
service | id | accountName | authState | accountType | addressBookAccountType | type | principal | | 1 |sqlite_sequence | name | seq | | service | 2 | | homeset | 2 | | collection | 4 |
https://ecloud.global/remote.php/dav/calendars/REMOVED@e.email/ | 1 | | | 2 | 1 | https://ecloud.global/remote.php/dav/addressbooks/users/REMOVED@e.email/ | 1 | |
homeset | id | serviceId | url | privBind | displayName | | 1 | 2 |https://ecloud.global/remote.php/dav/calendars/REMOVED@e.email/personal/ | 1 | 1 | 0 | Personal | | | | 1 | 1 | 0 | | 1 | | 2 | 2 | CALENDAR | https://ecloud.global/remote.php/dav/calendars/REMOVED@e.email/contact_birthdays/ | 0 | 0 | 0 | Contact birthdays | | -54 | | 1 | 0 | 0 | | 1 | | 3 | 1 | ADDRESS_BOOK | https://ecloud.global/remote.php/dav/addressbooks/users/REMOVED@e.email/contacts/ | 1 | 1 | 0 | Contacts | | | | | | | | 1 |
collection | id | serviceId | type | url | privWriteContent | privUnbind | forceReadOnly | displayName | description | color | timezone | supportsVEVENT | supportsVTODO | supportsVJOURNAL | source | sync | | 1 | 2 | CALENDAR |room_master_table | id | identity_hash | | 42 | REMOVED |
SYSTEM INFORMATION Android version: 10 (e_starlte-userdebug 10 QQ3A.200805.001 eng.root.20220920.165028 dev-keys,stable-release) Device: samsung SM-G960F (starlte)