JohNan / homeassistant-wellbeing

Get the status from your Electrolux devices connected to Wellbeing
MIT License
75 stars 20 forks source link

Connection errors #18

Closed OldShaterhan closed 1 year ago

OldShaterhan commented 3 years ago

Hi, I added integration to the HACS and then to HA, but unfortunately it looks like it is unable to connect with Wellbeing:

Logger: homeassistant.config_entries
Source: config_entries.py:324
First occurred: 10:08:02 (2 occurrences)
Last logged: 10:08:40

Config entry '<email>' for wellbeing integration not ready yet; Retrying in background

Generally no more logs is found within HA.

image Message says: Trying to reconfigure (or similar).

Could you help somehow to fix this issue? I'm sure email and password given are provided correctly (I was adding integration twice and password was both reentered and copied).

OldShaterhan commented 2 years ago

@JohNan are you able to help? ;)

OldShaterhan commented 2 years ago

I was properly logged for few days, but integration again failed :(

JohNan commented 2 years ago

Without more details from the log it is difficult to say what happened. My guess is that it is probably due to connection issue to the cloud servers.

OldShaterhan commented 2 years ago

Some logs, as it failed today again.

`Ten błąd pochodzi z niestandardowej integracji.

Logger: custom_components.wellbeing Source: helpers/update_coordinator.py:219 Integration: Wellbeing (documentation, issues) First occurred: 21 października 2021, 12:43:58 (47 occurrences) Last logged: 15:30:20

Error fetching wellbeing data:`

`Ten błąd pochodzi z niestandardowej integracji.

Logger: custom_components.wellbeing Source: custom_components/wellbeing/api.py:412 Integration: Wellbeing (documentation, issues) First occurred: 21 października 2021, 12:43:58 (52 occurrences) Last logged: 13:29:19

Timeout error fetching information from https://api.delta.electrolux.com/api/Domains/Appliances - Timeout error fetching information from https://api.delta.electrolux.com/api/Appliances/XXXXXXXXX - Timeout error fetching information from https://api.delta.electrolux.com/api/AppliancesInfo/XXXXXXXXX -`

` Ten błąd pochodzi z niestandardowej integracji.

Logger: custom_components.wellbeing Source: custom_components/wellbeing/api.py:425 Integration: Wellbeing (documentation, issues) First occurred: 21 października 2021, 14:34:16 (6 occurrences) Last logged: 26 października 2021, 22:55:31

Error fetching information from https://api.delta.electrolux.com/api/Domains/Appliances - 0, message='Attempt to decode JSON with unexpected mimetype: text/html', url=URL('https://api.delta.electrolux.com/api/Domains/Appliances') Error fetching information from https://api.delta.electrolux.com/api/Domains/Appliances - Cannot connect to host api.delta.electrolux.com:443 ssl:default [Try again] Error fetching information from https://api.delta.electrolux.com/api/Domains/Appliances - [Errno 104] Connection reset by peer Error fetching information from https://api.delta.electrolux.com/api/Domains/Appliances - Cannot connect to host api.delta.electrolux.com:443 ssl:default [Network unreachable] `

labaland commented 2 years ago

Without more details from the log it is difficult to say what happened. My guess is that it is probably due to connection issue to the cloud servers.

i have this issue for 2 days now.

2021-12-21 12:34:57 ERROR (MainThread) [custom_components.wellbeing] Timeout error fetching information from https://electrolux-wellbeing-client.vercel.app/api/m***** - 2021-12-21 12:34:57 ERROR (MainThread) [custom_components.wellbeing] Could not log in to WellBeing, argument of type 'NoneType' is not iterable

labaland commented 2 years ago

Without more details from the log it is difficult to say what happened. My guess is that it is probably due to connection issue to the cloud servers.

works after ha rester but hours/days later i get:

Logger: custom_components.wellbeing
Source: custom_components/wellbeing/api.py:412
Integration: Wellbeing ([documentation](https://github.com/JohNan/homeassistant-wellbeing), [issues](https://github.com/JohNan/homeassistant-wellbeing/issues))
First occurred: 18 februari 2022 07:41:27 (1 occurrences)
Last logged: 18 februari 2022 07:41:27

Timeout error fetching information from https://electrolux-wellbeing-client.vercel.app/api/mu52****** -
labaland commented 2 years ago

Without more details from the log it is difficult to say what happened. My guess is that it is probably due to connection issue to the cloud servers.

Jag har problemet nästan konstant (otillgänglig). Funkar ibland efter ha restart ett tag. Får inte du det? Kan jag skicka nå loggar och hur isf? A9 pure har jag.

JohNan commented 2 years ago

Jo, det blir ofta fel, men det brukar ordna upp sig avsig själv efter ett litet tag.

labaland commented 2 years ago

konstant nästan vill jag säga :( har API inställd på 75. ändrade till 90 nu. vad har du där? skulle vilja göra automationer.. Och går det att fixa en ladda om knapp? image

OldShaterhan commented 2 years ago

@JohNan does app change changes something in access? After restart I get timeouts now, but when I entry URL from log - I get access token in form of JSON

lrprawira commented 2 years ago

I encounter this problem every restart too. For now, my workaround is by disabling and reenabling it after its failure upon restart.

JohNan commented 1 year ago

If this is still an issue, please reopen the issue.