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

auto configuration issue after login #163

Open
ImFrank98 opened this issue Nov 20, 2024 · 8 comments
Open

auto configuration issue after login #163

ImFrank98 opened this issue Nov 20, 2024 · 8 comments

Comments

@ImFrank98
Copy link

After logging i get "Initialization" and after a minute or 2 i get "configuration failed"
Immagine 2024-11-20 144120
Immagine 2024-11-20 144152

Log:

Registratore: async_upnp_client.profiles.profile
Fonte: runner.py:189
Prima occorrenza: 12:37:38 (9 occorrenze)
Ultima registrazione: 14:27:12

Failed (re-)subscribing to: uuid:917af0ce-9581-47d4-99b2-fd050371713b, reason: UpnpConnectionError("UpnpConnectionTimeoutError('TimeoutError()', None)", None)
Failed (re-)subscribing to: uuid:d2bce0a1-bd85-4337-a6f0-57d72b79573f, reason: UpnpConnectionError("UpnpConnectionTimeoutError('TimeoutError()', None)", None)
Failed (re-)subscribing to: uuid:e79eed43-775d-48dd-a6e6-39f33a75f709, reason: UpnpConnectionError("UpnpConnectionTimeoutError('TimeoutError()', None)", None)
Failed (re-)subscribing to: uuid:862cfa54-058d-4941-8af1-f0d04fb47e5d, reason: UpnpConnectionError("UpnpConnectionTimeoutError('TimeoutError()', None)", None)
Failed (re-)subscribing to: uuid:77af866e-9962-427c-9dc7-940954988232, reason: UpnpConnectionError("UpnpConnectionTimeoutError('TimeoutError()', None)", None)

@oyvindwe
Copy link
Owner

This integration does not use UPnP, so I suspect this is caused by another configuration.

Try to disable your integration one by one to figure out which integration causes problems.

@ImFrank98
Copy link
Author

ImFrank98 commented Nov 21, 2024

Well this is resolved, but still get "configuration failed" and i can't find nothing in the log... what can cause this problem? I've cleaned the log but nothing shows up.

@oyvindwe
Copy link
Owner

Have you tried to enable debug logging for this integration?

@ImFrank98
Copy link
Author

Yes i did!

2024-11-22 15:06:25.489 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration connectlife which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
File "/config/custom_components/connectlife/config_flow.py", line 115, in async_step_select_device
File "/config/custom_components/connectlife/config_flow.py", line 170, in async_step_development
File "/config/custom_components/connectlife/config_flow.py", line 115, in async_step_select_device
File "/config/custom_components/connectlife/config_flow.py", line 115, in async_step_select_device
2024-11-22 15:20:22.627 DEBUG (MainThread) [custom_components.connectlife.coordinator] Finished fetching connectlife data in 10.007 seconds (success: False)
2024-11-22 15:20:53.578 DEBUG (MainThread) [custom_components.connectlife.coordinator] Finished fetching connectlife data in 10.008 seconds (success: False)
2024-11-22 15:21:47.600 DEBUG (MainThread) [custom_components.connectlife.coordinator] Finished fetching connectlife data in 10.005 seconds (success: False)
2024-11-22 15:22:43.616 DEBUG (MainThread) [custom_components.connectlife.coordinator] Finished fetching connectlife data in 10.007 seconds (success: False)
2024-11-22 15:23:00.046 DEBUG (MainThread) [custom_components.connectlife.coordinator] Finished fetching connectlife data in 10.016 seconds (success: False)
2024-11-22 15:23:20.996 DEBUG (MainThread) [custom_components.connectlife.coordinator] Finished fetching connectlife data in 10.004 seconds (success: False)

@oyvindwe
Copy link
Owner

Hmm - it looks like you need to inspect the API response to figure out why you get sucess: False.

In configuration.yaml, enable debugging of the connectlife library (this is different from the integration):

logger:
  default: info
  logs:
    custom_components.connectlife: debug
    connectlife: debug

You need to restart Home Assistant after doing this change.

@ImFrank98
Copy link
Author

2024-11-22 16:15:29.946 DEBUG (MainThread) [connectlife.api] response: {"resultCode":0,"access_token":"pa3u47xnRnfcy7qqsjRweLt3ACThrT2VDNWZOfBKMV_OojBXuPkTqrR3trCAKOnpJoXa5sxBDP7unVn_e-QXhNmu2y_eZTf2-LA2KQpQ7B3L2k-87HuLV8-mjnN9tDetgGl0VKBGH-r2Y44wYIKH6WMdw8rVPqzc4kXDbxE5uIBDBq5_gPSLrB6yTSq6UUSO8cBhVQ9LprHDUg1gZJkJxMzTTTZRBF1P8CoOqRaHjY7BS5tjMbYojaPOQ_NhMp416NxAUjmIHMXS3s2673hVG2Ku8dwPahK7WQJQogaosOIDeRKgdQSeeOj9rotZI-Y_PznR_udo_JJCGZQzOiWhaIcuW0loWV-Nw76ds5tS_CpUi3SZPI8UhQ_QWZ26pIrwkZ4fJ-Z53R0WnKNrU8ZWPPxtw","token_type":"Bearer","expires_in":1440,"scope":"","refresh_token":"pr3u47xnRnfcy7qqsjRweLt3ACThrT2VDNWZOfBKMV_OojBXuPkTqrR3trCAKOnpJoXa5sxBDP7unVn_e-QXhNmu2y_eZTf2-LA2KQpQ7B3L2k-87HuLV8-mjnN9tDetgGl0VKBGH-r2Y44wYIKH6WMdw8rVPqzc4kXDbxE5uIBDBq5_gPSLrB6yTSq6UUSO8cBhVQ9LprHDUg1gZJkJxMzTTTZRBF1P8CoOqRaHjY7BS5tjMbYojaPOQ_NhMp416NxAUjmIHMXS3s2673hVG2Ku3Y-jSr9VoydVk9SMB6W1tPT8IXC4Us3GNvMeCmS-rnIE5gRMsxS7e_5D6bidX5V5X6ODiuKHvtTAD4pBb5tKn2d12oWO3av4eN5mgHp04nYMe55o9skKPQ2pMoFVCxfyQ"}
2024-11-22 16:15:39.969 DEBUG (MainThread) [custom_components.connectlife.coordinator] Finished fetching connectlife data in 10.013 seconds (success: False)
2024-11-22 16:16:14.121 INFO (SyncWorker_5) [homeassistant.loader] Loaded radio_browser from homeassistant.components.radio_browser
2024-11-22 16:16:14.123 INFO (SyncWorker_5) [homeassistant.loader] Loaded shopping_list from homeassistant.components.shopping_list
2024-11-22 16:16:14.124 INFO (SyncWorker_5) [homeassistant.loader] Loaded google_translate from homeassistant.components.google_translate
2024-11-22 16:16:20.686 DEBUG (MainThread) [connectlife.api] response: {
"callId": "0d90ebb7487640ababdebc00896da382",
"errorCode": 0,
"apiVersion": 2,
"statusCode": 200,
"statusReason": "OK",
"time": "2024-11-22T15:16:20.692Z",
"registeredTimestamp": 1721494868,
"UID": "9d485e3ab3024eb386e9c2b0ad0bb9be",
"UIDSignature": "xSC5Aqe8GN80TV5eytV/Me27z8k=",
"signatureTimestamp": "1732288580",
"created": "2024-07-20T17:01:08.662Z",
"createdTimestamp": 1721494868,
"isActive": true,
"isRegistered": true,
"isVerified": true,
"lastLogin": "2024-11-22T15:16:20.613Z",
"lastLoginTimestamp": 1732288580,
"lastUpdated": "2024-07-20T17:02:47.511Z",
"lastUpdatedTimestamp": 1721494967511,
"loginProvider": "site",
"oldestDataUpdated": "2024-07-20T17:01:08.662Z",
"oldestDataUpdatedTimestamp": 1721494868662,
"profile": {
"firstName": "",
"lastName": "
",
"city": "N/A",
"country": "IT",
"email": "*****",
"zip": "N/A"
},
"registered": "2024-07-20T17:01:08.921Z",
"socialProviders": "site",
"verified": "2024-07-20T17:01:45.858Z",
"verifiedTimestamp": 1721494905858,
"newUser": false,
"sessionInfo": {
"cookieName": "gac_4_yhTWQmHFpZkQZDSV1uV-_A",
"cookieValue": "st2.s.AtLt4I15vQ.dJtluyOa8iuanPCz2uxfClCmF7TKkKS8UQDQ_wfkXCBFH_YPnK6rFVbsygbNZT-eG7vTgVRAE-6xz-AxnlUU3dr7MgU_3KmfqWfYWHePnUleuJ_C-b-TmWbCVxQHzn.C66Yrx50uNesfbvrnAkMeSqJ0dQ2n1Ieikdot_moDoryAlbJOfkmsBJSrtZMUmll0UHijuG8seX8YhfpAhpLvQ.sc3"
}
}
2024-11-22 16:16:20.772 DEBUG (MainThread) [connectlife.api] response: {
"callId": "4b85f90c9bd448348a0f77bb0f5b51ef",
"errorCode": 0,
"apiVersion": 2,
"statusCode": 200,
"statusReason": "OK",
"time": "2024-11-22T15:16:20.775Z",
"id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IlJFUTBNVVE1TjBOQ1JUSkVNemszTTBVMVJrTkRRMFUwUTBNMVJFRkJSamhETWpkRU5VRkJRZyJ9.eyJpc3MiOiJodHRwczovL2ZpZG0uZ2lneWEuY29tL2p3dC80X3loVFdRbUhGcFprUVpEU1YxdVYtX0EvIiwiYXBpS2V5IjoiNF95aFRXUW1IRnBaa1FaRFNWMXVWLV9BIiwiaWF0IjoxNzMyMjg4NTgwLCJleHAiOjE3MzIyODg4ODAsInJpc2tTY29yZSI6MC40Niwic3ViIjoiOWQ0ODVlM2FiMzAyNGViMzg2ZTljMmIwYWQwYmI5YmUifQ.Ft3h4PZQU22-mIK6Bxz9ph1XuLMXYeu366GXpqRXkcfF3at4RjUmyGJ0N6KsM1P9ng_9mYBEgU8Xl_lHoZ6ysHCju3tIvI9HfxAoj0U_U7AegAXBbZApR6CUU31AbZNcafMAt6-isjvX-tdMKeqn60D4Tr6ZJ9zBabHJ0YZP0OXm8eaEitsP1SjRQNPjdETPdCI8QuMJ9SHqCtPU1WK_WhOht607zRoWlP2Z-haTmkMRsyMCxy02nTBNQ7M2mRBDTaEtig5r-NQPuXgGyHFj7oOekImqPkgKFMgK6PaX2yx2M8B5lXL8UfZ5G5y1IqxdZxPM6hl4facInwyzgZS6Pg"
}
2024-11-22 16:16:21.313 DEBUG (MainThread) [connectlife.api] response: {"resultCode":0,"access_token":"pa3u47xnRnfcy7qqsjRweLt3ACThrT2VDNWZOfBKMV_OojBXuPkTqrR3trCAKOnpJoXQ3ZNIKoNcLUh5lKs0o_DPogSGhRC80UWH-i8cIzPewLqZDPFe8SJCL0EHAXuNDbi9KXSTmOJyHHmLxYQ_ZgyVfeO49mwlXWGokyncYp40H97oL9L42nNHy5_kHTkRkkfginbPQ2Xbc7R155YaNUCdDePs6HC0Tc3F-W9a0oLW0WTWl-o9jJRJ0CrcFjrv6lO2ht2KcCyvIXZeEY0ySc8tZnmXxWOsGQy912fF84YwewrDWLVwGcGr87dk1CYIrglOFbczUucjO9aA20fFyh-8ygBoPZwGWoZvQuRqEc6LGhV6UB0AumRYiqnO_Sp0offDksCAQ82l_q1NtA4Ilg1Dg","token_type":"Bearer","expires_in":1440,"scope":"","refresh_token":"pr3u47xnRnfcy7qqsjRweLt3ACThrT2VDNWZOfBKMV_OojBXuPkTqrR3trCAKOnpJoXQ3ZNIKoNcLUh5lKs0o_DPogSGhRC80UWH-i8cIzPewLqZDPFe8SJCL0EHAXuNDbi9KXSTmOJyHHmLxYQ_ZgyVfeO49mwlXWGokyncYp40H97oL9L42nNHy5_kHTkRkkfginbPQ2Xbc7R155YaNUCdDePs6HC0Tc3F-W9a0oLW0WTWl-o9jJRJ0CrcFjrv6lO2ht2KcCyvIXZeEY0ySc8tUwP09jlNPygAPH2zUWbksnPUJjHfhD7MUgz7iqPw7-dMdY_Lnc54FFL4KinOSLhSWm9UM_mkKvyAsXbvfxViq7eztPYY9Q3RrU7d8oDQhDWZGQlCxjFXdsspmubKDLsSw"}
2024-11-22 16:16:31.326 DEBUG (MainThread) [custom_components.connectlife.coordinator] Finished fetching connectlife data in 10.004 seconds (success: False)

@ImFrank98
Copy link
Author

ImFrank98 commented Nov 24, 2024

Problem solved by itself
Edit: is not working, it just finded the devices but is not working, devices appear as "not available"

@oyvindwe
Copy link
Owner

Do the devices show up in the ConnectLife app?

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