ha-google-maps
ha-google-maps copied to clipboard
Reconfigure : Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble
After rebooting HA i get the following message:
Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble
How can I fix this issue?
What version of HA core are you using? What version of this integration are you using? How did you install this integration? Has it worked before and just started doing this, or have you gotten this error the first time you tried to install and use it?
What version of HA core are you using? What version of this integration are you using? How did you install this integration? Has it worked before and just started doing this, or have you gotten this error the first time you tried to install and use it?
Core Version 2024.3.1, Integration Version 1.3.0. Installed via HACS. It has worked for maybe 4-6 hours and than stopped working.
You said it worked for 4-6 hours, stopped working, then caused the error mentioned above when you rebooted HA. Is that correct?
When you said it stopped working, what were the symptoms (before rebooting HA)? Errors? Repair issue? The entity or entities just stopped updating?
After the reboot, were there any other associated errors logged besides the config flow error mentioned?
I'm trying to get more details because I've never heard of this happening (i.e., the config flow error after restarting.) I do know that for some people the integration stops working after a short time. That is a known issue with this integration, mainly because it is using an undocumented & unsupported Google API. But there is some troubleshooting help in the latest doc version you can see here: https://github.com/pnbruckner/ha-google-maps#troubleshooting
I can´t say clearly what happens first because I restarted Home Assistant a few times before i noticed that the integration stopped working. At the Moment HomeAssistant is running on Raspberry Pi 3 for testing purposes, because I switch my SmartHome from IOBroker to HomeAssistant Today my new Raspberry Pi 5 arrived and I will set up fresh Installation of HomeAssistant on Raspberry 5. I`ll try to reproduce the issue and let you know if it happens again
Its an auth error:
Config entry '[email protected]' for google_maps integration could not authenticate: InvalidCookies: Invalid session indicated
Not sure why, I just exported my cookies a few weeks ago, but it works now. Dropped the original cookie file, restarted HA, integration asked again for the cookie, works like a charm.
Maybe look into why the re-auth doesnt work automatically. Hard to test that I guess without short TTL tokens.
Closing since no update for a while. Feel free to reopen if needed.
Having the same issue as well. A few minutes after getting a new cookie I get this error.
@yakeer, please provide more detail. You get what error? The OP described getting error 500 when trying to run the config flow. Is that what you mean? And if so, how did you get into the config flow?
Never mind. I see you opened a new issue.