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

Stopped starting #16

Closed
nanobyte84 opened this issue Feb 16, 2021 · 7 comments
Closed

Stopped starting #16

nanobyte84 opened this issue Feb 16, 2021 · 7 comments
Assignees

Comments

@nanobyte84
Copy link

Hi, since a few days the integrations stopped working and on startup it takes ages and slows down the full Home Assistant:

2021-02-16 21:38:45 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: skodaconnect
2021-02-16 21:38:46 WARNING (MainThread) [homeassistant.setup] Setup of skodaconnect is taking over 10 seconds.
2021-02-16 21:39:45 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: skodaconnect

Logger: homeassistant.setup
Source: setup.py:215
First occurred: 21:43:36 (1 occurrences)
Last logged: 21:43:36

Setup of skodaconnect is taking longer than 300 seconds. Startup will proceed without waiting any longer

Did anybody else notify similar problems? I actually don't know how to debug this issue...

Thanks, Michael

@Farfar
Copy link
Collaborator

Farfar commented Feb 16, 2021

Hi, since a few days the integrations stopped working and on startup it takes ages and slows down the full Home Assistant:

2021-02-16 21:38:45 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: skodaconnect
2021-02-16 21:38:46 WARNING (MainThread) [homeassistant.setup] Setup of skodaconnect is taking over 10 seconds.
2021-02-16 21:39:45 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: skodaconnect

Logger: homeassistant.setup
Source: setup.py:215
First occurred: 21:43:36 (1 occurrences)
Last logged: 21:43:36

Setup of skodaconnect is taking longer than 300 seconds. Startup will proceed without waiting any longer

Did anybody else notify similar problems? I actually don't know how to debug this issue...

Thanks, Michael

Have you enabled debug logging for the component and library? Start there and see where it stops.

@Farfar Farfar self-assigned this Feb 16, 2021
@nanobyte84
Copy link
Author

Hi,
I added:

logger:
default: info
logs:
skodaconnect.connection: debug
skodaconnect.vehicle: debug
custom_components.skodaconnect: debug
custom_components.skodaconnect.climate: debug
custom_components.skodaconnect.lock: debug
custom_components.skodaconnect.device_tracker: debug
custom_components.skodaconnect.switch: debug
custom_components.skodaconnect.binary_sensor: debug
custom_components.skodaconnect.sensor: debug

and
response_debug: true

but I don't have more detailed debug information...

2021-02-16 22:57:56 DEBUG (MainThread) [skodaconnect.connection] Got authorization endpoint, logging on.
2021-02-16 22:57:56 DEBUG (MainThread) [skodaconnect.connection] Authenticating with email and password.
2021-02-16 22:57:59 WARNING (MainThread) [homeassistant.setup] Setup of skodaconnect is taking over 10 seconds.
...
2021-02-16 23:02:48 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: skodaconnect
2021-02-16 23:02:49 ERROR (MainThread) [homeassistant.setup] Setup of skodaconnect is taking longer than 300 seconds. Startup will proceed without waiting any longer

is there anything i can do to get more info?

@Farfar
Copy link
Collaborator

Farfar commented Feb 16, 2021

Hi,
I added:

logger:
default: info
logs:
skodaconnect.connection: debug
skodaconnect.vehicle: debug
custom_components.skodaconnect: debug
custom_components.skodaconnect.climate: debug
custom_components.skodaconnect.lock: debug
custom_components.skodaconnect.device_tracker: debug
custom_components.skodaconnect.switch: debug
custom_components.skodaconnect.binary_sensor: debug
custom_components.skodaconnect.sensor: debug

and
response_debug: true

but I don't have more detailed debug information...

2021-02-16 22:57:56 DEBUG (MainThread) [skodaconnect.connection] Got authorization endpoint, logging on.
2021-02-16 22:57:56 DEBUG (MainThread) [skodaconnect.connection] Authenticating with email and password.
2021-02-16 22:57:59 WARNING (MainThread) [homeassistant.setup] Setup of skodaconnect is taking over 10 seconds.
...
2021-02-16 23:02:48 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: skodaconnect
2021-02-16 23:02:49 ERROR (MainThread) [homeassistant.setup] Setup of skodaconnect is taking longer than 300 seconds. Startup will proceed without waiting any longer

is there anything i can do to get more info?

Seems like something halts after final stage of authentication. Can you check the app, logout and in again to verify that your credentials are working.

Are you running HA core? In venv?
My sugestion is you uninstall the component and make sure all remnants of the library are removed as well, then reinstall.

@nanobyte84
Copy link
Author

Yes I tried logging in and out successfully in a browser and the android app.
I also did not change the credentials etc.

I am running HA core in a virtual machine in PROXMOX...

@Farfar
Copy link
Collaborator

Farfar commented Feb 16, 2021

Unfortunately there's not enough debug info to determine whats going wrong.
So two (three) options. Either try uninstall/reinstall or I need to code some more debug logs.
There's also a third option if you feel confident enough to add some lines of code yourself?

@nanobyte84
Copy link
Author

For me it would be no problem to add some code etc.
But I am on a new road now - I installed https://github.com/lendy007/skodaconnect.git on ubuntu and created a second account at myskoda.
With the CLI version of skodaconnect I can also not login to my account - so I changed the password and it still did not work.
My blank account on the other hand does login...
So I try now to migrate my car to the new account and hope it will work....

@Farfar
Copy link
Collaborator

Farfar commented Feb 18, 2021

Closing this issue since the problem was unrelated to code, it was an issue with environment (not Python related).

@Farfar Farfar closed this as completed Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants