Giter Club home page Giter Club logo

Comments (3)

tobixen avatar tobixen commented on September 2, 2024

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.

gtmax500 avatar gtmax500 commented on September 2, 2024

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.

tobixen avatar tobixen commented on September 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.