core icon indicating copy to clipboard operation
core copied to clipboard

Withings. Getting error in logfile in 2023.5.0b6

Open Bluhme1 opened this issue 1 year ago • 1 comments

The problem

Getting this error. binary.sensor_in_bed doesn't work. Everything else is OK (As far as I can see)

Logger: homeassistant.components.withings Source: components/withings/common.py:363 Integration: Withings (documentation, issues) First occurred: 07.33.20 (2 occurrences) Last logged: 09.33.40

Unexpected error fetching subscription_update_coordinator data: Error code 293 Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 217, in _async_update_data return await self.update_method() File "/usr/src/homeassistant/homeassistant/components/withings/common.py", line 321, in async_subscribe_webhook return await self._do_retry(self._async_subscribe_webhook) File "/usr/src/homeassistant/homeassistant/components/withings/common.py", line 317, in _do_retry raise exception File "/usr/src/homeassistant/homeassistant/components/withings/common.py", line 306, in _do_retry return await func() File "/usr/src/homeassistant/homeassistant/components/withings/common.py", line 363, in _async_subscribe_webhook await self._hass.async_add_executor_job( File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/site-packages/withings_api/init.py", line 348, in notify_subscribe self.request(path=self.PATH_NOTIFY, params=params) File "/usr/local/lib/python3.10/site-packages/withings_api/init.py", line 115, in request return response_body_or_raise( File "/usr/local/lib/python3.10/site-packages/withings_api/common.py", line 830, in response_body_or_raise raise InvalidParamsException(status=status) withings_api.common.InvalidParamsException: Error code 293

What version of Home Assistant Core has the issue?

core-2023.5.0b6

What was the last working version of Home Assistant Core?

core-2023.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Withings

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.withings
Source: components/withings/common.py:363 
Integration: Withings ([documentation](https://rc.home-assistant.io/integrations/withings), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+withings%22)) 
First occurred: 07.33.20 (2 occurrences) 
Last logged: 09.33.40

Unexpected error fetching subscription_update_coordinator data: Error code 293
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh
    self.data = await self._async_update_data()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 217, in _async_update_data
    return await self.update_method()
  File "/usr/src/homeassistant/homeassistant/components/withings/common.py", line 321, in async_subscribe_webhook
    return await self._do_retry(self._async_subscribe_webhook)
  File "/usr/src/homeassistant/homeassistant/components/withings/common.py", line 317, in _do_retry
    raise exception
  File "/usr/src/homeassistant/homeassistant/components/withings/common.py", line 306, in _do_retry
    return await func()
  File "/usr/src/homeassistant/homeassistant/components/withings/common.py", line 363, in _async_subscribe_webhook
    await self._hass.async_add_executor_job(
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.10/site-packages/withings_api/__init__.py", line 348, in notify_subscribe
    self.request(path=self.PATH_NOTIFY, params=params)
  File "/usr/local/lib/python3.10/site-packages/withings_api/__init__.py", line 115, in request
    return response_body_or_raise(
  File "/usr/local/lib/python3.10/site-packages/withings_api/common.py", line 830, in response_body_or_raise
    raise InvalidParamsException(status=status)
withings_api.common.InvalidParamsException: Error code 293

Additional information

No response

Bluhme1 avatar May 02 '23 09:05 Bluhme1

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

Code owner commands

Code owners of withings 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 withings Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


withings documentation withings source (message by IssueLinks)

home-assistant[bot] avatar May 02 '23 09:05 home-assistant[bot]

Found a work around in #94096. @oneseventhree had a solution. https://github.com/home-assistant/core/issues/94096#issuecomment-1583463714

As far as I can see it is a bug in HA

Bluhme1 avatar Jun 11 '23 20:06 Bluhme1

Something new about that issue? My withings integration does not show data since many weeks. (I'm accessing HA with https [duckdns] from external, http from internal)

Extreme79 avatar Jul 08 '23 21:07 Extreme79

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.