[Bug] Contacts app showing spinning wheel (fresh installation)

Hello all,

I’m struggling with the contacts app. It’s not working at all.

After a recent fresh installation with NC 14.0.4 everything else is running fine.
I activated the contacts app from the app menu which is installed in version 2.1.8.

The contacts app shows a created address book “Contacts” in the settings and a button for “+ New contact”. Using the button brings up a “New contact” but the details part only shows a never ending spinning wheel.

I already have read everything in the issue list at github and here but there is nothing matching my situation. So my hope is to get some ideas here to solve this. I’m not quite sure if this is a bug or a configuration issue… therefore I want to try it here before opening a bug :slight_smile:

Setup:

  • Debian 9
  • nginx 1.14.2
  • MySQL 5.5.62
  • PHP 7.0.33

This is the screen including console output after hitting “+ New contact”:

This is the full console output:

    JQMIGRATE: Migrate is installed, version 1.4.0
content.js:1 Feedback rendered
antiphishing.js:1 Sending APH request...
/remote.php/dav/addressbooks/users/<ReplacedUserName>/contacts/:1 Failed to load resource: net::ERR_EMPTY_RESPONSE
6dav.js?v=da8c3225-0:3746 Uncaught (in promise) Error: Bad status: 0
    at XMLHttpRequest.request.onreadystatechange (dav.js?v=da8c3225-0:3746)
antiphishing.js:1 Sending APH request...
DevTools failed to parse SourceMap: https://<ReplacedServerName>/apps/contacts/js/vendor/angular-route/angular-route.min.js.map
DevTools failed to parse SourceMap: https://<ReplacedServerName>/apps/notifications/js/notifications.js.map
DevTools failed to parse SourceMap: https://<ReplacedServerName>/apps/contacts/js/vendor/angular/angular.min.js.map
DevTools failed to parse SourceMap: https://<ReplacedServerName>/apps/contacts/css/vendor/ui-select/select.min.css.map
DevTools failed to parse SourceMap: https://<ReplacedServerName>/apps/contacts/js/vendor/angular-sanitize/angular-sanitize.min.js.map
DevTools failed to parse SourceMap: https://<ReplacedServerName>/apps/contacts/js/vendor/angular-cache/angular-cache.min.map
notifications.js?v=da8c3225-0:7 HTTP-Based Public Key Pinning is deprecated. Chrome 69 and later will ignore HPKP response headers. (Host: <ReplacedServerName>)
(anonymous) @ notifications.js?v=da8c3225-0:7
t.exports @ notifications.js?v=da8c3225-0:7
t.exports @ notifications.js?v=da8c3225-0:14
Promise.then (async)
s.request @ notifications.js?v=da8c3225-0:14
s.(anonymous function) @ notifications.js?v=da8c3225-0:14
(anonymous) @ notifications.js?v=da8c3225-0:7
_fetch @ notifications.js?v=da8c3225-0:14
_backgroundFetch @ notifications.js?v=da8c3225-0:14

The access.log of nginx seems to be fine:

- - [19/Dec/2018:09:32:40 +0100] “GET /apps/contacts/ HTTP/1.1” 200 5454 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36”
- - [19/Dec/2018:09:32:40 +0100] “GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1” 200 74 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36”
- - [19/Dec/2018:09:32:40 +0100] “GET /remote.php/dav/addressbooks HTTP/1.1” 200 122 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36”
- - [19/Dec/2018:09:32:40 +0100] “PROPFIND /remote.php/dav/addressbooks HTTP/1.1” 207 448 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36”
- - [19/Dec/2018:09:32:40 +0100] “PROPFIND /remote.php/dav/principals/users// HTTP/1.1” 207 597 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36”
- - [19/Dec/2018:09:32:41 +0100] “PROPFIND /remote.php/dav/addressbooks/users// HTTP/1.1” 207 1351 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36”
- - [19/Dec/2018:09:32:42 +0100] “PROPFIND /remote.php/dav/addressbooks/users//contacts/ HTTP/1.1” 207 12743 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36”
- - [19/Dec/2018:09:32:42 +0100] “REPORT /remote.php/dav/addressbooks/users//contacts/ HTTP/1.1” 444 0 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36”
- - [19/Dec/2018:09:32:42 +0100] “PROPFIND /remote.php/dav/addressbooks/users// HTTP/1.1” 207 456 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36”
- - [19/Dec/2018:09:32:42 +0100] “REPORT /remote.php/dav/addressbooks/users//contacts/ HTTP/1.1” 444 0 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36”
- - [19/Dec/2018:09:32:42 +0100] “PUT /remote.php/dav/addressbooks/users//contacts/c4b025f0-f9d7-45ee-963f-830ca70b937d.vcf HTTP/1.1” 201 0 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36”
- - [19/Dec/2018:09:32:43 +0100] “GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1” 200 74 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134”

And there is no related entry for in the error.log. Also there is nothing in the nextcloud.log.

Any ideas?

Thanks in advance and best regards
Christian

Solved it… I missed the 444 return code for method REPORT which was not allowed.

1 Like