Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rem2dav fails to authorize properly #18

Open
R-7200 opened this issue Mar 8, 2024 · 0 comments
Open

rem2dav fails to authorize properly #18

R-7200 opened this issue Mar 8, 2024 · 0 comments

Comments

@R-7200
Copy link

R-7200 commented Mar 8, 2024

Hi!

I don't know if I should open a bug report over at jspricke/remind-caldav or here, but since remind-caldav works flawlessly with other caldav servers, I guess I'm right here... I installed kcaldav and set it up at a a subdomain. It's working with "Kalender.app" from macOS & I guess with iOS, too. But as soon as I start rem2dav, I receive the following errors in access.log:

dav.asdfghasdfgh.de 10.10.10.10 - - [08/Mar/2024:11:38:04 +0100] "REPORT /cgi-bin/kcaldav/mk/calendar HTTP/1.1" 401 0 "" "Mozilla/5.0" 2001:16b8:b922:ec03:17f:b02a:8e60:a7fd 60466
dav.asdfghasdfgh.de 10.10.10.10 - - [08/Mar/2024:11:38:05 +0100] "REPORT /cgi-bin/kcaldav/mk/calendar HTTP/1.1" 401 0 "" "Mozilla/5.0" 2001:16b8:b922:ec03:17f:b02a:8e60:a7fd 60467
dav.asdfghasdfgh.de 10.10.10.10 - - [08/Mar/2024:11:38:05 +0100] "REPORT /cgi-bin/kcaldav/mk/calendar HTTP/1.1" 401 0 "" "Mozilla/5.0" 2001:16b8:b922:ec03:17f:b02a:8e60:a7fd 60468
dav.asdfghasdfgh.de 10.10.10.10 - - [08/Mar/2024:11:38:05 +0100] "REPORT /cgi-bin/kcaldav/mk/calendar HTTP/1.1" 401 0 "" "Mozilla/5.0" 2001:16b8:b922:ec03:17f:b02a:8e60:a7fd 60469
dav.asdfghasdfgh.de 10.10.10.10 - - [08/Mar/2024:11:38:05 +0100] "REPORT /cgi-bin/kcaldav/mk/calendar HTTP/1.1" 401 0 "" "Mozilla/5.0" 2001:16b8:b922:ec03:17f:b02a:8e60:a7fd 60470

I tried different combinations of the URL, e.g. omitting "mk" & "calendar" - nothing works :-(

What follows is the debug log - please excuse a missing patch / ideas how to fix this; I'm in a hurry + I guess I'm mentally not capable to fix this :-(

- - [Fri, 08 Mar 2024 10:38:04 GMT] INFO 16220-rx: <?xml version='1.0' encoding='utf-8'?>\r
- - [Fri, 08 Mar 2024 10:38:04 GMT] INFO 16220-rx: <C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"><D:prop...
- - [Fri, 08 Mar 2024 10:38:04 GMT] INFO 16220-rx: ><C:calendar-data/></D:prop><C:filter><C:comp-filter name="VCALENDAR"><C:comp-fi...
- - [Fri, 08 Mar 2024 10:38:04 GMT] INFO 16220-rx: lter name="VEVENT"/></C:comp-filter></C:filter></C:calendar-query>
- - [Fri, 08 Mar 2024 10:38:04 GMT] INFO 16220-rx: 266 B
- - [Fri, 08 Mar 2024 10:38:04 GMT] INFO 77788-tx: Status: 401 Unauthorized\r
- - [Fri, 08 Mar 2024 10:38:04 GMT] INFO 77788-tx: WWW-Authenticate: Digest realm="kcaldav", algorithm="MD5-sess", qop="auth,auth-i...
- - [Fri, 08 Mar 2024 10:38:04 GMT] INFO 77788-tx: nt", nonce="52B368136C756667"\r
- - [Fri, 08 Mar 2024 10:38:04 GMT] INFO 77788-tx: Content-Encoding: gzip\r
- - [Fri, 08 Mar 2024 10:38:04 GMT] INFO 77788-tx: \r
- - [Fri, 08 Mar 2024 10:38:04 GMT] INFO 77788-tx: 163 B
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 74015-rx: <?xml version='1.0' encoding='utf-8'?>\r
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 74015-rx: <C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"><D:prop...
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 74015-rx: ><C:calendar-data/></D:prop><C:filter><C:comp-filter name="VCALENDAR"><C:comp-fi...
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 74015-rx: lter name="VEVENT"/></C:comp-filter></C:filter></C:calendar-query>
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 74015-rx: 266 B
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 48549-tx: Status: 401 Unauthorized\r
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 48549-tx: WWW-Authenticate: Digest realm="kcaldav", algorithm="MD5-sess", qop="auth,auth-i...
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 48549-tx: nt", nonce="7767155465662517"\r
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 48549-tx: Content-Encoding: gzip\r
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 48549-tx: \r
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 48549-tx: 163 B
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 42070-rx: <?xml version='1.0' encoding='utf-8'?>\r
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 42070-rx: <C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"><D:prop...
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 42070-rx: ><C:calendar-data/></D:prop><C:filter><C:comp-filter name="VCALENDAR"><C:comp-fi...
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 42070-rx: lter name="VEVENT"/></C:comp-filter></C:filter></C:calendar-query>
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 42070-rx: 266 B
10.10.10.10 - [Fri, 08 Mar 2024 10:38:05 GMT] WARN failed authorisation sequence
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 76046-tx: Status: 401 Unauthorized\r
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 76046-tx: WWW-Authenticate: Digest realm="kcaldav", algorithm="MD5-sess", qop="auth,auth-i...
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 76046-tx: nt", nonce="3545633235727024"\r
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 76046-tx: Content-Encoding: gzip\r
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 76046-tx: \r
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 76046-tx: 163 B
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 7440-rx: <?xml version='1.0' encoding='utf-8'?>\r
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 7440-rx: <C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"><D:prop...
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 7440-rx: ><C:calendar-data/></D:prop><C:filter><C:comp-filter name="VCALENDAR"><C:comp-fi...
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 7440-rx: lter name="VEVENT"/></C:comp-filter></C:filter></C:calendar-query>
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 7440-rx: 266 B
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 17842-tx: Status: 401 Unauthorized\r
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 17842-tx: WWW-Authenticate: Digest realm="kcaldav", algorithm="MD5-sess", qop="auth,auth-i...
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 17842-tx: nt", nonce="72631164147F6513"\r
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 17842-tx: Content-Encoding: gzip\r
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 17842-tx: \r
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 17842-tx: 163 B
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 1267-rx: <?xml version='1.0' encoding='utf-8'?>\r
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 1267-rx: <C:calendar-query xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"><D:prop...
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 1267-rx: ><C:calendar-data/></D:prop><C:filter><C:comp-filter name="VCALENDAR"><C:comp-fi...
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 1267-rx: lter name="VEVENT"/></C:comp-filter></C:filter></C:calendar-query>
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 1267-rx: 266 B
10.10.10.10 mk [Fri, 08 Mar 2024 10:38:05 GMT] DB-DEBUG nonce created: D80E462ACFF1F54D
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 70905-tx: Status: 401 Unauthorized\r
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 70905-tx: WWW-Authenticate: Digest realm="kcaldav", algorithm="MD5-sess", qop="auth,auth-i...
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 70905-tx: nt", nonce="D80E462ACFF1F54D", stale=true\r
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 70905-tx: Content-Encoding: gzip\r
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 70905-tx: \r
- - [Fri, 08 Mar 2024 10:38:05 GMT] INFO 70905-tx: 175 B

Before you ask - yes: the username and password is correct; double & triple-checked!

Best wishes.

P.S.: I'd be willing to fund the ability to sync CardDAV, too (kcarddav) - depends on the maximum amount of $$ needed... If I shall contact you privately, just leave a note in here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant