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

[CAL-417] “e is undefined” error when adding CalDAV #5604

Closed
xplosionmind opened this issue Nov 21, 2022 · 12 comments
Closed

[CAL-417] “e is undefined” error when adding CalDAV #5604

xplosionmind opened this issue Nov 21, 2022 · 12 comments
Assignees
Labels
🐛 bug Something isn't working linear Sync Github Issue from community members to Linear.app Medium priority Created by Linear-GitHub Sync
Milestone

Comments

@xplosionmind
Copy link

xplosionmind commented Nov 21, 2022

Issue Summary

I see the following error when trying to add a Nextcloud CalDAV url to my cal.com account. Note: I already added another CalDAV Nextcloud calendar and everything went smoothly.

Steps to Reproduce

  1. Click on “add CalDAV” calendar in https://app.cal.com/apps/installed/calendar?hl=caldav-calendar
  2. Trying to add two different URLs: https://nuvola.scambi.org/apps/calendar/p/zogAXYXHjYHwksDp (public calendar link) and https://nuvola.scambi.org/remote.php/dav/principals/users/tommi/
  3. The error I shared pops up

Related to #3457

From SyncLinear.com

@alishaz-polymath
Copy link
Member

Thanks for the report. I'll add it to the list 🙏

@PeerRich PeerRich added the linear Sync Github Issue from community members to Linear.app label Nov 21, 2022
@PeerRich PeerRich changed the title “e is undefined” error when adding CalDAV [CAL-417] “e is undefined” error when adding CalDAV Nov 21, 2022
@PeerRich PeerRich added 🐛 bug Something isn't working Medium priority Created by Linear-GitHub Sync labels Nov 21, 2022
@larseggert
Copy link

Same issue here against a https://sabre.io/baikal/ server

@alishaz-polymath
Copy link
Member

Hey @larseggert could you please provide me with steps to reproduce the error?
Thanks

@alishaz-polymath
Copy link
Member

Hey @xplosionmind
Could you please create a test account and share credentials with me so that I can test it locally?
Thanks 🙏

@handkerchief333
Copy link

handkerchief333 commented Feb 4, 2023

I have the same problem with my Nextcloud calendar.

My steps to reproduce:

  1. Install a nextcloud instance with the setup-nextcloud.php from the community:
    https://nextcloud.com/install/
    DOWNLOAD Server --> COMMUNITY PROJECTS --> Web installer
  2. On your installed Nextcloud platform, go to the Calendar: /index.php/apps/calendar/dayGridMonth/now
  3. On the bottom left, click on "calendar settings"
  4. Click on "copy CalDAV address"
  5. This gives you something like this: https://yourownnextcloudurl/remote.php/dav
  6. Switch to your cal.com account: /apps/caldav-calendar
  7. Click on install app
  8. Fill in the url from step 5.
  9. Fill in your nextcloud login credencials
  10. Boom, same error message "e is undefined".

PS: The same CalDAV sync with my nextcloud calendar was successful for my android calendar, with DAVx5:
https://docs.nextcloud.com/server/latest/user_manual/en/groupware/sync_android.html#with-the-nextcloud-mobile-app

Does this information help you or is there anything else i can do?

Greetings

Update: The error message "e is undefined" comes in Firefox, in Microsoft Edge this error appears: "Cannot destructure property 'auth' of 'e' as it is undefined."

#6697

@xplosionmind
Copy link
Author

Could you please create a test account and share credentials with me so that I can test it locally?

Hi @alishaz-polymath, sure! But I do not understand, do you want me to create a test account on the CalDAV server or on cal.com, or both?

@alishaz-polymath
Copy link
Member

just the CalDAV server @xplosionmind
Essentially, I'll connect to that account in a local instance of Cal.com and run diagnostics to see what's going on. 🙏

@xplosionmind
Copy link
Author

Ok, I did it. Where could I share the credentials privately?

@alishaz-polymath
Copy link
Member

Ok, I did it. Where could I share the credentials privately?

You can send them over to ali@cal.com Thanks :)

@handkerchief333
Copy link

Any news on that?

@alishaz-polymath
Copy link
Member

Hey guys, just an update that we're going through revamping the CalDAV integration as it is quite unpredictable at the moment. I'll report back once there's more to add. 🙏

@alishaz-polymath
Copy link
Member

Hey @xplosionmind Just as a FYI, I'm currently working on re-building CalDAV setup from scratch, so this might take a bit of time. We're currently planning to fully support iCalendar 2.0 (RFC-5545) as that seems to be a more robust solution altogether. 🙏
I'll keep you guys posted here as I progress. Thank you for your wait in the mean time 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working linear Sync Github Issue from community members to Linear.app Medium priority Created by Linear-GitHub Sync
Projects
None yet
Development

No branches or pull requests

5 participants