home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74k stars 31.05k forks source link

API error: 500 (Internal Server Error) #122662

Open Mantinum opened 4 months ago

Mantinum commented 4 months ago

The problem

Hello, sorry for my English, I am using GPT to help me. I am encountering an issue with the Netatmo integration; none of the devices are responding, and I am only getting a simple error:

"Logger: homeassistant.components.netatmo Source: components/netatmo/init.py:90 Integration: Netatmo (documentation, issues) Occurred for the first time: 20:25:15 (32 occurrences) Last logged: 20:57:57

API error: 500 (Internal Server Error) : "

Here is my configuration:

Core: 2024.7.3 Supervisor: 2024.06.2 Operating System: 12.4 Frontend: 20240710

Is this a problem with the Netatmo servers, or is it due to my integration?

I had the same issue with the previous version of HA.

Thank you.

Edit : By reverting to the previous version, I get this error if it can help with the diagnosis: "Failed to set up, retrying: 500, message='Internal Server Error', url=URL('https://account-link.nabucasa.com/refresh_token/netatmo')"

What version of Home Assistant Core has the issue?

2024.7.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Netatmo

Link to integration documentation on our website

https://www.home-assistant.io/integrations/netatmo/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Enregistreur: homeassistant.components.netatmo
Source: components/netatmo/__init__.py:90
intégration: Netatmo (documentation, problèmes)
S'est produit pour la première fois: 20:25:15 (32 occurrences)
Dernier enregistrement: 20:57:57

API error: 500 (Internal Server Error)

Additional information

No response

home-assistant[bot] commented 4 months ago

Hey there @cgtobi, mind taking a look at this issue as it has been labeled with an integration (netatmo) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `netatmo` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign netatmo` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


netatmo documentation netatmo source (message by IssueLinks)

yozh commented 4 months ago

I got this today in morning.

sailor-911 commented 4 months ago

Hi there, same issue - popped up after HASS Core update from 2024.7.2 to 2024.7.3. Netatmo changed authentication mode to third party apps on their DEV web site. So netatmo HASS integration needs to have an update I assume.

sailor-911 commented 4 months ago

500, message='Internal Server Error', url=URL('https://account-link.nabucasa.com/refresh_token/netatmo'

hondamz commented 4 months ago

Hi, same here 500, message='Internal Server Error', url=URL('https://account-link.nabucasa.com/refresh_token/netatmo')

beeh5 commented 3 months ago

same here...

PawelTM commented 3 months ago

I confirm, Netatmo is down

yozh commented 3 months ago

Removed and readded now works again …

marianhala commented 3 months ago

Removed integration and readded , working but I had to reconfigure everything again...

miki3421 commented 3 months ago

Removed and readded now works again …

same here.

MichaDonner commented 3 months ago

+1

FSHelgeland commented 3 months ago

Had to reintegrate as well

yozh commented 3 months ago

Just for the record, I removed the “hub” in integration and then readded it, it authenticated and then had to assign zones, but everything stayed the same. No reboot in the middle …

CEllwart commented 3 months ago

same here after restoring a backup from yesterday evening.

hassio1 commented 3 months ago

Same here after HA upgrade

wobeco commented 3 months ago

„ API error: 500 (Internal Server Error)“ still the same here 😩

flashbackpa commented 3 months ago

EDIT: solved removing and readding the integration

I add my two cents, same problem same error: message='Internal Server Error', url='https://account-link.nabucasa.com/refresh_token/netatmo'

timkrull commented 3 months ago

Same Problem for a few weeks already

Din-BH commented 3 months ago

I am not able to remove and re-add Hub since my integration does not show any hubs, but nevertheless does not allow me to create a new one since only one is allowed..

Haulund83 commented 2 months ago

Can anyone please help fix this thing?

Netatmo is everywhere in my Home assistant. Controlling fans, heat pump and more. If I have to remove it and maybe readd it. I have to configure everything again.

PoVPoV29 commented 2 months ago

Same here. Please fix this issue before winter to be able to manager power sensors/outlets. Thanks

2Joda2 commented 2 months ago

I have the same Issue and I dont want to reconfig this integration.

Please fix this issue.

chocorem commented 2 months ago

Same issue here ....

Macblock commented 2 months ago

Hello, I have the same Problem. Please fix it.

Thanks

Coach1968 commented 1 month ago

Same problem. I cannot imagine to configure it from the beginning... please

ABredhauer commented 1 month ago

Seeing this issue for the first time today. Running on 2024.9.3. @cgtobi do you need debug logs?

Xxplore commented 1 month ago

same here

kfran78 commented 1 month ago

Hello. Same today. I think it creat some crash for my HA indeed...

Enregistreur: homeassistant.components.netatmo Source: components/netatmo/init.py:90 intégration: Netatmo (documentation, problèmes) S'est produit pour la première fois: 12:13:21 (196 occurrences) Dernier enregistrement: 16:32:45

API error: 500 (Internal Server Error)

Core : 2024.10.2 Supervisor 2024.10.2 Operating System 13.1 Interface utilisateur 20241002.3

BroncoDappe commented 1 month ago

Same here.

I do not really feel like deleting and adding again as a lot of automations depend on it...

Thank you!

ABredhauer commented 1 month ago

Please check the last couple of comments on #119193 I was able to resolve it for my own instance by tweaking the integration code and deploying it as a custom component. I'm hoping @cgtobi will review my code and release an updated version that fixes the issue