Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'500 Internal Server Error' when adding nVent RAYCHEM SENZ integration #134136

Closed
Ticker918 opened this issue Dec 28, 2024 · 6 comments
Closed

'500 Internal Server Error' when adding nVent RAYCHEM SENZ integration #134136

Ticker918 opened this issue Dec 28, 2024 · 6 comments

Comments

@Ticker918
Copy link

The problem

When adding the integration, everything seems fine, and I receive a message confirming that the account is linked and authentication succeeded. However, the integration fails during initialization with the following error:

httpx.HTTPStatusError: Server error '500 Internal Server Error' for url 'https://api.senzthermostat.nvent.com/api/v1/Thermostat'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500
2024-12-28 11:14:50.298 ERROR (MainThread) [homeassistant.components.senz] Unexpected error fetching [email protected] data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 379, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 280, in _async_update_data
    return await self.update_method()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/senz/__init__.py", line 50, in update_thermostats
    thermostats = await senz_api.get_thermostats()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiosenz/api.py", line 40, in get_thermostats
    resp = await self.auth._request("get", "Thermostat")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiosenz/auth.py", line 64, in _request
    resp.raise_for_status()
    ~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/local/lib/python3.13/site-packages/httpx/_models.py", line 763, in raise_for_status
    raise HTTPStatusError(message, request=request, response=self)

(Email address changed for privacy reasons)

What version of Home Assistant Core has the issue?

2024.12.5

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

nVent RAYCHEM SENZ

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

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

Code owner commands

Code owners of senz 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 senz 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)


senz documentation
senz source
(message by IssueLinks)

@Lupphes
Copy link

Lupphes commented Dec 28, 2024

Hey hey,

same issue here. Cannot load the extension. Getting 500

@Tzu89
Copy link

Tzu89 commented Dec 29, 2024

Hi,
I have also same status ☹️

@SirGrepen
Copy link

Hi
I have the same issue.
But I also notice that I can't add any Wifi Senz Termostats to my account because of Server Error.
So I think this is an nvent server issue.

@lindsand
Copy link

Working again. There was also problems with the app so apparently nvent related and not HA.

@Ticker918
Copy link
Author

As mentioned by lindsand, it is now working again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants