Comments (3)
Try to use only https://caldav.icloud.com/ as the URL - though, the warning above indicates that things are working anyway.
If things have stopped working, then something must have changed. If you haven't changed the configuration or upgraded HomeAssistant, then it's likely that the change is at the server side. I've found that there is absolutely no official information stating that iCloud supports the CalDAV protocol - so Apple is free to cripple the service or shut it down completely - though I expect that it will be quite clear both in the issue tracker on HomeAssistant, the python-caldav library and other places if this is a general problem affecting all iCloud users. Could it be that the app-specific password has a lifetime and has expired?
from caldav.
Turns out it was because I had IPV6 enabled in HomeAssistant. After disabling IPV6, I was able to log in to my iCloud account through the HomeAssistant CalDAV integration in an instant. I am not sure how IPV6 suddenly got enabled but thank you for the prompt assistance in any case.
from caldav.
I'm more wondering why this error would occur with IPv6 in the first place. The common pitfall with dual-stack implementations (systems set up with both IPv4 and IPv6) is that firewalls are configured differently or that some DNS pointers are wrongly set up, causing timeout issues or connection issues, not "unknown error" after doing some parts of the handshake. Well, the iCloud caldav implementation has some kind of sharding going on, you start with caldav.icloud.com, and then one gets redirected to something like caldav-p642.icloud.com if I remember correct - could be that the AAAA-record for caldav.icloud.com is correct while AAAA for caldav-p642.icloud.com is incorrect.
In any case, happy that the problem got solved, and if anyone else has problems with iCloud, I will try to remember to ask them to check if they are on IPv4 or IPv6 :-)
from caldav.
Related Issues (20)
- test_create_ical can be flaky on Python 3.12 HOT 1
- How do I add the valarm component? HOT 2
- Description field ot updated HOT 1
- Baikal servers reportedly throwing 405 and 500 under HomeAssistant HOT 3
- User-Agent should be configurable HOT 1
- "MAILTO:" in uppercase in change_attendee_status HOT 1
- Change default User-Agent? HOT 1
- Recurrent event with an exception instance leads to multiple `RECURRENCE-ID` values in the exception instance HOT 4
- Error 405 when using Propfind on some webdav servers HOT 6
- Recurrence instances gets stripped when doing `cal.object_by_uid(uid,comp_class=caldav.Event)`
- Improvements, test code and documentation needed for editing and selecting recurrence instances HOT 1
- Problem with accept invite in calendar HOT 5
- Regression: master version does not work towards calendar.mail.ru HOT 3
- Some server needs explicit event or task when doing search HOT 1
- Server compatibility hints
- why not grouping imports? HOT 3
- Does not exists release pipeline HOT 1
- Depend on deprecated vobject HOT 1
- implement support for JMAP protocol HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caldav.