gcobb321 / icloud3_v3

iCloud3 v3, Development Version - This Repo/Version is used for development and testing of new and updated features. It is not the official release of iCloud3 v3, .
MIT License
169 stars 13 forks source link

"Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble" #357

Closed AnotherDaniel closed 1 week ago

AnotherDaniel commented 2 weeks ago

Hey all - first off, thank you for putting your time and energy into this project, much appreciated!

Now - for a few weeks now, I have issues setting up/re-installing this extension. It used to work fine for many months, even years. But now I'm trying to re-install, get this to work again, and after a cleanup of .storage/icloud3 folder and restart of ha, when trying to add the extension I get the message "Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble". When I try again after that, I get "already_in_progress".

With the extend of these error messages, I have no clue what might be amiss here. Running HA v2024.11.0, icloud3 v3.1.1 via HACS. Any ideas what I should look for?

gcobb321 commented 2 weeks ago

Try restarting HA two times to clear it's cache. The problem started with Apple changing the Password verifying method to use a Secure Remote Password several weeks ago. It has been a scramble trying to get back up and running. What version of iCloud3 were you running, v2.4.7 or v3.0.5.x?

AnotherDaniel commented 1 week ago

Tried this just now, now joy, same problem. I'm running v3.1.1

gcobb321 commented 1 week ago

I really have no idea what that message means. You might want to google it. Anyway, try this.

Uninstall the iCloud3 Integration. Restart HA. Restart it again (do not skip this, it makes sure the HA caches are clear) Add iCloud3 Integration

AnotherDaniel commented 1 week ago

Na, no change :( Is there a place to get more detailed logs for this?

gcobb321 commented 1 week ago

In iCloud3, turn on Log level-Debug in Configure Settings > Page 2 > Format Parameters screen. File=icloud3-0.log For HA, they have some debug logs. I’m not familiar with how to turn them. Google HA log level and get into the HA docs. File=home-assistant.log

what is your configuration. I run on a Raspberry Pi and have no experience with containers, docker, VMs, etc.

AnotherDaniel commented 1 week ago

Alright - with v3.1.3, this seems to work again; except that I'm now running into the more general iCloud issue, which might have been the problem all along. Ok, let's see if/when that fix gets merged...

gcobb321 commented 1 week ago

See my note about the Password SRP Error here

AnotherDaniel commented 1 week ago

Ah... and with that background info, I'm running again! I dunno what happened between 3.1.2 and 3.1.3, but with that update and the knowledge about the (new?) configuration options, I should be good again. Thank you for spending your time to help me!