YunoHost-Apps / monica_ynh

Monica package for YunoHost
https://www.monicahq.com/
GNU Affero General Public License v3.0
18 stars 13 forks source link

No DAV-Ressource found #41

Open ghost opened 4 years ago

ghost commented 4 years ago

Hi all, I try to share the DAV-Server but cannot enter it with the android app DavX nor within the browser. I get the error "couldn't find CalDav nor CardDav Service"

Do I need to open a Port for this requests?

--- BEGIN DEBUG INFO ---

LOGS:
2020-06-09 12:28:40 2507 [ui.setup.DavResourceFinder] Finding initial carddav service configuration
2020-06-09 12:28:40 2507 [ui.setup.DavResourceFinder] Checking user-given URL: https://matthaei.nohost.me/monica/dav
2020-06-09 12:28:40 2507 [HttpClient] --> PROPFIND https://matthaei.nohost.me/monica/dav
2020-06-09 12:28:40 2507 [HttpClient] Content-Type: application/xml; charset=utf-8
2020-06-09 12:28:40 2507 [HttpClient] Content-Length: 290
2020-06-09 12:28:40 2507 [HttpClient] Depth: 0
2020-06-09 12:28:40 2507 [HttpClient] Accept-Encoding: br,gzip
2020-06-09 12:28:40 2507 [HttpClient] 
2020-06-09 12:28:40 2507 [HttpClient] <?xml version='1.0' encoding='UTF-8' ?><propfind xmlns="DAV:" xmlns:CAL="urn:ietf:params:xml:ns:caldav" xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><resourcetype /><displayname /><CARD:addressbook-description /><CARD:addressbook-home-set /><current-user-principal /></prop></propfind>
2020-06-09 12:28:40 2507 [HttpClient] --> END PROPFIND (290-byte body)
2020-06-09 12:28:41 2507 [HttpClient] <-- 207 https://matthaei.nohost.me/monica/dav (495ms)
2020-06-09 12:28:41 2507 [HttpClient] server: nginx
2020-06-09 12:28:41 2507 [HttpClient] content-type: application/xml; charset=utf-8
2020-06-09 12:28:41 2507 [HttpClient] x-sso-wat: You've just been SSOed
2020-06-09 12:28:41 2507 [HttpClient] set-cookie: SSOwAuthRedirect=;; Path=/yunohost/sso/; Expires=Thu, 01 Jan 1970 00:00:00 UTC; Secure; HttpOnly; SameSite=Lax ;;
2020-06-09 12:28:41 2507 [HttpClient] x-sabre-version: 4.1.0
2020-06-09 12:28:41 2507 [HttpClient] vary: Brief,Prefer
2020-06-09 12:28:41 2507 [HttpClient] dav: 1, 3, extended-mkcol, addressbook, calendar-access, calendar-proxy, access-control, calendarserver-principal-property-search
2020-06-09 12:28:41 2507 [HttpClient] cache-control: no-cache, private
2020-06-09 12:28:41 2507 [HttpClient] date: Tue, 09 Jun 2020 10:28:41 GMT
2020-06-09 12:28:41 2507 [HttpClient] x-ratelimit-limit: 60
2020-06-09 12:28:41 2507 [HttpClient] x-ratelimit-remaining: 59
2020-06-09 12:28:41 2507 [HttpClient] content-security-policy: upgrade-insecure-requests
2020-06-09 12:28:41 2507 [HttpClient] content-security-policy-report-only: default-src https: data: 'unsafe-inline' 'unsafe-eval'
2020-06-09 12:28:41 2507 [HttpClient] x-content-type-options: nosniff
2020-06-09 12:28:41 2507 [HttpClient] x-xss-protection: 1; mode=block
2020-06-09 12:28:41 2507 [HttpClient] x-download-options: noopen
2020-06-09 12:28:41 2507 [HttpClient] x-permitted-cross-domain-policies: none
2020-06-09 12:28:41 2507 [HttpClient] x-frame-options: SAMEORIGIN
2020-06-09 12:28:41 2507 [HttpClient] strict-transport-security: max-age=63072000; includeSubDomains; preload
2020-06-09 12:28:41 2507 [HttpClient] 
2020-06-09 12:28:41 2507 [HttpClient] <?xml version="1.0"?>
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:card="urn:ietf:params:xml:ns:carddav" xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/"><d:response><d:href>/dav/</d:href><d:propstat><d:prop><d:resourcetype><d:collection/></d:resourcetype><d:current-user-principal><d:href>/dav/principals/michael@matthaei.nohost.me/</d:href></d:current-user-principal></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:displayname/><card:addressbook-description/><card:addressbook-home-set/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response></d:multistatus>

`

elbubar commented 5 months ago

Same issue here.