Closed Bug 940058 Opened 12 years ago Closed 11 years ago

caldav calendar fails with error

Categories

(Calendar :: Provider: CalDAV, defect)

Lightning 2.6.2
x86_64
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: travis.hardiman+bugzilla, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36 Steps to reproduce: I have a calendar with events on an OSX server. I can confirm the calendar exists and contains events by going to https://secure.company.com/webcal/ I have entered my account as caldav://secure.company.com Thunderbird info: Application Basics Name: Thunderbird Version: 24.1.0 User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 Profile Folder: Show Folder (Local drive) Application Build ID: 20131023145339 Enabled Plugins: about:plugins Build Configuration: about:buildconfig Crash Reports: about:crashes Memory Use: about:memory Mail and News Accounts account1: INCOMING: account1, , (imap) secure.company.com:993, SSL, passwordEncrypted OUTGOING: secure.company.com:587, alwaysSTARTTLS, passwordCleartext, true account2: INCOMING: account2, , (none) Local Folders, plain, passwordCleartext Extensions Lightning, 2.6.2, true, {e2fda1a4-762b-4020-b5ad-a41df1933103} Important Modified Preferences Name: Value browser.cache.disk.capacity: 358400 browser.cache.disk.smart_size.first_run: false browser.cache.disk.smart_size.use_old_max: false browser.cache.disk.smart_size_cached_value: 358400 extensions.lastAppVersion: 24.1.0 font.language.group: x-unicode font.name.monospace.el: Consolas font.name.monospace.tr: Consolas font.name.monospace.x-baltic: Consolas font.name.monospace.x-central-euro: Consolas font.name.monospace.x-cyrillic: Consolas font.name.monospace.x-unicode: Consolas font.name.monospace.x-western: Consolas font.name.sans-serif.el: Calibri font.name.sans-serif.tr: Calibri font.name.sans-serif.x-baltic: Calibri font.name.sans-serif.x-central-euro: Calibri font.name.sans-serif.x-cyrillic: Calibri font.name.sans-serif.x-unicode: Calibri font.name.sans-serif.x-western: Calibri font.name.serif.el: Cambria font.name.serif.tr: Cambria font.name.serif.x-baltic: Cambria font.name.serif.x-central-euro: Cambria font.name.serif.x-cyrillic: Cambria font.name.serif.x-unicode: Cambria font.name.serif.x-western: Cambria font.size.fixed.el: 14 font.size.fixed.tr: 14 font.size.fixed.x-baltic: 14 font.size.fixed.x-central-euro: 14 font.size.fixed.x-cyrillic: 14 font.size.fixed.x-unicode: 14 font.size.fixed.x-western: 14 font.size.variable.el: 17 font.size.variable.tr: 17 font.size.variable.x-baltic: 17 font.size.variable.x-central-euro: 17 font.size.variable.x-cyrillic: 17 font.size.variable.x-unicode: 17 font.size.variable.x-western: 17 mail.openMessageBehavior.version: 1 mail.winsearch.enable: true mail.winsearch.firstRunDone: true mail.winsearch.global_reindex_time: 1377557814 mailnews.database.global.datastore.id: 1dbc7c89-8b90-4474-a833-1ff87041082 network.cookie.prefsMigrated: true places.database.lastMaintenance: 1384360130 places.history.expiration.transient_current_max_pages: 104858 plugin.importedState: true Graphics Adapter Description: NVIDIA GeForce GT 630 Vendor ID: 0x10de Device ID: 0x0f00 Adapter RAM: 1024 Adapter Drivers: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um Driver Version: 9.18.13.3165 Driver Date: 10-23-2013 Direct2D Enabled: false DirectWrite Enabled: false (6.3.9600.16384) ClearType Parameters: ClearType parameters not found WebGL Renderer: false GPU Accelerated Windows: 0 AzureCanvasBackend: skia AzureFallbackCanvasBackend: cairo AzureContentBackend: none JavaScript Incremental GC: 1 Accessibility Activated: 0 Prevent Accessibility: 0 Library Versions Expected minimum version Version in use NSPR 4.10 4.10 NSS 3.15.2 Basic ECC 3.15.2 Basic ECC NSS Util 3.15.2 3.15.2 NSS SSL 3.15.2 Basic ECC 3.15.2 Basic ECC NSS S/MIME 3.15.2 Basic ECC 3.15.2 Basic ECC Actual results: I have no calendar events, and I get this error in the console: Timestamp: 11/18/2013 5:37:43 PM Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIURI.host]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///C:/Users/Travis/AppData/Roaming/Thunderbird/Profiles/w0ifwbgu.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calDavCalendar.js :: <TOP_LEVEL> :: line 1558" data: no] Source File: file:///C:/Users/Travis/AppData/Roaming/Thunderbird/Profiles/w0ifwbgu.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calDavCalendar.js Line: 1558 if (this.mUri.host == "apidata.googleusercontent.com") { Expected results: Events in the calendar should show up.
Component: Untriaged → Provider: CalDAV
Product: Thunderbird → Calendar
Version: 24 → Lightning 2.6.2
To me "caldav://secure.company.com" doesn't look like a valid calendar address. I think caldav:// is not a known URL scheme name. Maybe try to use https:// instead. Calendar collections are not supported by Lightning too. Could you try to specify a correct calendar address?
(In reply to Stefan Sitter from comment #1) > To me "caldav://secure.company.com" doesn't look like a valid calendar > address. I think caldav:// is not a known URL scheme name. Maybe try to use > https:// instead. Calendar collections are not supported by Lightning too. > Could you try to specify a correct calendar address? I tried using the https scheme and the calendar doesn't give me any errors in the console, but it also won't let me enable it. Every time that I try it just reverts to the grey, disabled state when I click OK. I am new to caldav and webcal, so I'm not familiar with how they work, what do you mean be "Calendar collections"?
Using caldav:// is definitely wrong, we should probably improve the dialog to validate the url passed in. Please use https://. You mentioned that the calendar disables itself immediately, this is usually a sign that you are using the wrong url. I believe Stefan got the words mixed up, a "calendar collection" is the container containing calendar items, so in layman's terms a "Calendar". What Lightning doesn't support is detecting the calendars through the "Principal URL", which is kind of like the URL to the calendaring account on your server. Anyway, you need to change the URL to something like: https://secure.company.com/webcal/myusername/personalcalendar This differs per server type, so you will need to ask someone from your company what the right URL is. Possibly you can also retrieve it from the web interface.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.