ekutner / home-connect-hass

Alternative (and improved) Home Connect integration for Home Assistant
MIT License
624 stars 58 forks source link

Error 500 when configuring via UI #340

Closed Phoenix-DH closed 8 months ago

Phoenix-DH commented 8 months ago

Hey,

I just updated to version 1.1.0 and had to remove my infos from secrets.yaml to get the integration back working. Afterwards I tried to check the UI config again, but then I get this:

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

I have HA 2024.2.2 and as mentioned version 1.1.0 from the integration.

bkbartk commented 8 months ago

I think I have the same error image

bkbartk commented 8 months ago

and I also found the solution you need to remove the home_connect_alt section from configuration.yaml and then restart. it's not needed, but for somehow still read and complains about invalid options client_id and client_secret.

somewhere during my checks I removed the complete integration, so I'm not sure but I don't think this is needed. if not all your devices are found you need to turn them on. Only my dishwasher was found at first because it was running. My laundry machine, I needed to turn on.

Slychocobo commented 8 months ago

Seem to be getting the same error, however removing the home_connect_alt section from the configuration has not helped.

Removing the configuration and trying to re-add it has not helped either, instead I simply get the same 500 Internal server error during the Oauth registration process

Phoenix-DH commented 8 months ago

When removing the config, everything is working, no errors in the log, also all devices are discovered.

There is only the error when trying to open the configuration from ui.

Krocko commented 8 months ago

Same problem here.

mdkeil commented 8 months ago

There is only the error when trying to open the configuration from ui.

+1

Robbe-B commented 8 months ago

+1

sabbatho commented 8 months ago

+1

For me all steps is as they should with re-adding the integration i Home Assistant with 1.1.0 (from what i can see visually), until after the link account dialog, when i press the link account and are redirected back to my Home Assistant instance nothing happens, page is blank, i have to do a reload to get the 500 error.

Commented out the three rows in configuration.yaml, and still no joy.

Reverted back to 1.0.2 and it works again, with the changes above still there.

Jurrjuna commented 8 months ago

Same issue here.

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

SkyTest-123 commented 8 months ago

+1. Same.

ekutner commented 8 months ago

10 people and not a single log... Please attach a debug log.

ekutner commented 8 months ago

Please update to 1.1.1, it should fix that issue

sabbatho commented 8 months ago

Sorry for not attaching logs, should have done that obviously.

1.1.1 confirmed working for me!

Phoenix-DH commented 8 months ago

Yes back working! Thanks.