core icon indicating copy to clipboard operation
core copied to clipboard

API error: 500 (Internal Server Error)

Open Mantinum opened this issue 1 year ago • 27 comments

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

Mantinum avatar Jul 26 '24 19:07 Mantinum

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)

home-assistant[bot] avatar Jul 26 '24 19:07 home-assistant[bot]

I got this today in morning.

yozh avatar Jul 30 '24 12:07 yozh

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 avatar Jul 30 '24 15:07 sailor-911

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

sailor-911 avatar Jul 30 '24 15:07 sailor-911

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

hondamz avatar Jul 30 '24 16:07 hondamz

same here...

beeh5 avatar Jul 30 '24 18:07 beeh5

I confirm, Netatmo is down

PawelTM avatar Jul 31 '24 10:07 PawelTM

Removed and readded now works again …

yozh avatar Jul 31 '24 12:07 yozh

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

marianhala avatar Aug 02 '24 08:08 marianhala

Removed and readded now works again …

same here.

miki3421 avatar Aug 05 '24 12:08 miki3421

+1

MichaDonner avatar Aug 06 '24 09:08 MichaDonner

Had to reintegrate as well

FSHelgeland avatar Aug 06 '24 22:08 FSHelgeland

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 …

yozh avatar Aug 06 '24 22:08 yozh

same here after restoring a backup from yesterday evening.

CEllwart avatar Aug 08 '24 10:08 CEllwart

Same here after HA upgrade

hassio1 avatar Aug 08 '24 20:08 hassio1

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

wobeco avatar Aug 19 '24 08:08 wobeco

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'

flashbackpa avatar Aug 20 '24 17:08 flashbackpa

Same Problem for a few weeks already

timkrull avatar Aug 21 '24 15:08 timkrull

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..

Din-BH avatar Aug 25 '24 18:08 Din-BH

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.

Haulund83 avatar Sep 01 '24 19:09 Haulund83

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

PoVPoV29 avatar Sep 05 '24 15:09 PoVPoV29

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

Please fix this issue.

2Joda2 avatar Sep 10 '24 12:09 2Joda2

Same issue here ....

chocorem avatar Sep 15 '24 05:09 chocorem

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

Thanks

Macblock avatar Sep 26 '24 06:09 Macblock

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

Coach1968 avatar Oct 04 '24 19:10 Coach1968

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

ABredhauer avatar Oct 04 '24 22:10 ABredhauer

same here

Xxplore avatar Oct 13 '24 12:10 Xxplore

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

kfran78 avatar Oct 15 '24 14:10 kfran78

Same here.

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

Thank you!

BroncoDappe avatar Oct 20 '24 07:10 BroncoDappe

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

ABredhauer avatar Oct 20 '24 09:10 ABredhauer