Thunderbird is failing autodiscovering Address Books #1581
Replies: 19 comments 2 replies
-
Hmm, works with
|
Beta Was this translation helpful? Give feedback.
-
But TB now has native support for both, why using an extension? |
Beta Was this translation helpful? Give feedback.
-
Oh, misread your post. Well, there's something wrong with my setup then, because it doesn't work with or without the extension. |
Beta Was this translation helpful? Give feedback.
-
Try check that your front-end web server properly handles meta-requests for caldav and carddav. One way to do that is with the following from a command-line (replacing USERNAME and CALENDARHOST to local values: wget -u USERNAME https://CALENDARHOST/.well-known/carddav/ |
Beta Was this translation helpful? Give feedback.
-
returns an index.html with the frontend page: Anyway, I did some more test with internal TB CardDAV support and I can confirm that it doesn't find any address book unless I pass it the full URL, as listed in Radicale web interface. If I pass the base domain (dav.example.com) no address books can be found. At this point I'm not even sure if this is correct:
But if I remove the first 301, I cannot point anything to the base domain, I'm forced to give it the /radicale/ path. |
Beta Was this translation helpful? Give feedback.
-
whops, I meant curl, not wget. For wget use options |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Just to be more specific, I have these configurations in my base domain
Mail accounts are automatically configured by TB, calendars also work now after this patch #1536 (comment) I have a shared VPS and I would like for users to be able to configure their mail account in TB and get everything set up at once - mail, calendars and address books. |
Beta Was this translation helpful? Give feedback.
-
Yes, Radicale does not handle those hints. That's the reason I suggested you to try check that your front-end web server handles it. |
Beta Was this translation helpful? Give feedback.
-
Ok, then I pasted what you wanted to see, right? |
Beta Was this translation helpful? Give feedback.
-
I guess - it seems you shared a mangled output with some dummy domains, where the use or not of subdomain "dav" seemingly does not correlate with your own described setup. |
Beta Was this translation helpful? Give feedback.
-
I just replaced "myrealdomain.tld" with "example.tld", so when you see "dav.example.tld" that is "dav.myrealdomain.tld" meaning: I haven't mangled anything else but the base domain name and tld. Anyway, thanks for your help. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Perhaps helpful to examine logfiles of your front-end web server, to understand exactly what your Thunderbird client is requesting in each test case, and try derive a pattern from that. |
Beta Was this translation helpful? Give feedback.
-
this is because Radicale terminate all DAV request to url like /username/ for example baikal server response /dav.php/principals/username/ but thunderbird has some "optimization" in file /thunderbird-115.13.0/comm/mailnews/addrbook/modules/CardDAVUtils.jsm
|
Beta Was this translation helpful? Give feedback.
-
Hi, These logs are about adding an address book with "username" and root "domain.tld"
The same applies for "username" and radicale address at "dav.domain.tld"
In both these cases TB says it cannot find any address book. Last is the log for "username" and full address book link, as reported in radicale's webui:
This is successful. |
Beta Was this translation helpful? Give feedback.
-
started now a client status page in Wiki: https://github.com/Kozea/Radicale/wiki/Client-Status |
Beta Was this translation helpful? Give feedback.
-
got a ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=1925006 |
Beta Was this translation helpful? Give feedback.
-
Hello,
after having successfully set up calendars auto-discover in TB, I noticed that address books can be imported only if specifying the full URL provided by Radicale's webpage.
When adding an email account in TB it should support discovering both remote calendars and address books, since it tells you so, but even trying manually to add a CardDAV A.book, specifying only the dav.domain.tld, and not the full A.book URL, it fails and tells this:
https://i.imgur.com/GINEjQr.jpeg
No address books could be found to be imported
To be noted: I'm trying this, logging in with just username and not "email"
https://termbin.woodpeckersnest.space/1rkrpq
I'm running Radicale from Debian 12, not sure who the fault is.. Radicale or Thunderbird, since calendars work after the small patch reported here
Beta Was this translation helpful? Give feedback.
All reactions