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

ConnectLife login error due to updated terms #157

Open
delumerlino opened this issue Nov 12, 2024 · 20 comments
Open

ConnectLife login error due to updated terms #157

delumerlino opened this issue Nov 12, 2024 · 20 comments

Comments

@delumerlino
Copy link

Good day...
starting from today my air conditioning system devices are unavailable, with this error:

Error setting up entry ConnectLife (my username) for connectlife
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/connectlife/__init__.py", line 34, in async_setup_entry
    await api.login()
  File "/usr/local/lib/python3.12/site-packages/connectlife/api.py", line 66, in login
    await self._fetch_access_token()
  File "/usr/local/lib/python3.12/site-packages/connectlife/api.py", line 107, in _fetch_access_token
    await self._initial_access_token()
  File "/usr/local/lib/python3.12/site-packages/connectlife/api.py", line 125, in _initial_access_token
    login_token = body["sessionInfo"]["cookieValue"]
                  ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^

Trying to set again username and password with no success, redownloaded with no success...

Thank you :)

@delumerlino
Copy link
Author

It seems also the connectlife app is broken

@oyvindwe
Copy link
Owner

I got the same issue. Enabled debug logging and got this message:

  "errorDetails": "Missing required fields for registration: preferences.terms.connectlife_terms_conditions.isConsentGranted, preferences.privacy.connectlife_privacy_policy.isConsentGranted",
  "errorMessage": "Account Pending Registration",

Fix was to open the ConnectLife app on my iPhone, and accept the new terms.

@ogabrielnadai
Copy link

ogabrielnadai commented Nov 12, 2024

After relogging I had a problem accepting the new terms, it seems that the application is broken, even after clearing the data and cache.
I am using Android

@delumerlino
Copy link
Author

delumerlino commented Nov 12, 2024 via email

@oyvindwe
Copy link
Owner

I don't have Android, so I can't help out there.

I see another issue though - it now takes more than 10 seconds to retrieve data from the ConnectLife API after logging in, and the integration has a 10 second timeout. I'm working on a fix for this.

@ogabrielnadai
Copy link

Even logging in through website and accepting the new terms does not seem to log in to Android.

@oyvindwe
Copy link
Owner

Have you tried to reinstall the app after accepting the new terms?

@ogabrielnadai
Copy link

Yes,
image

It seems like they're really having problems, I'll wait for a solution here for my case. For those who want to try this is the link indicated in the email.
ASKO Pro Web (connectlife.io)

@oyvindwe
Copy link
Owner

oyvindwe commented Nov 12, 2024

It seems that integrations are flooding ConnectLife with logins due to this issue.

I'm working on handling this issue more robust in the integration.

In the meantime, please disable your ConnectLife integration!

@oyvindwe
Copy link
Owner

Improved handling of this error and increased timeout is implemented in PR #158

Included in version 0.20.2

This will stop the integration from trying to login more than once, and the error message is displayed on the integration page:
image

After accepting the new terms in the app, you need to reload the plugin.

@marsdeat
Copy link

Accepting terms in iOS app and reloading fixed this for me.

@ohhfem
Copy link

ohhfem commented Nov 13, 2024

Has anyone solved it? On Android it does not work, and from the link sent by ogabrielnadai I do not have the "login" button.

@delumerlino
Copy link
Author

delumerlino commented Nov 13, 2024 via email

@ohhfem
Copy link

ohhfem commented Nov 13, 2024

On Android the problem persist, and if you log into the web page (start or
inizia in italian) the "accepting terms" is not transferred on Android, btw
you cannot use the already registered devices in Android app..

Il giorno mer 13 nov 2024 alle ore 11:01 Samuele @.***>
ha scritto:

Has anyone solved it? On Android it does not work, and from the link sent
by ogabrielnadai I do not have the "login" button.


Reply to this email directly, view it on GitHub
#157 (comment),
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACQ3BYZI4LQ5DZZ5DLOE4632AMPQTAVCNFSM6AAAAABRT26JHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZTGA2DQNRXGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

So the only thing is.. what? Waiting for Hisense to update the android app or something?

@ohhfem
Copy link

ohhfem commented Nov 13, 2024

It seems that on the Play Store people are complaining about login errors. Hisense answers to them that they are aware of this error and they are working on a fix. So we have to wait

@delumerlino
Copy link
Author

delumerlino commented Nov 14, 2024 via email

@ohhfem
Copy link

ohhfem commented Nov 14, 2024 via email

@oyvindwe oyvindwe changed the title Device disconnected ConnectLife login error due to updated terms Nov 14, 2024
@Monacoslo
Copy link

For users where it still does not work, try different options and let me know if it helps:

  • change language to your local language and confirm
  • change language to english and confirm

I am not sure anymore which option worked for me

@ohhfem
Copy link

ohhfem commented Nov 15, 2024 via email

@ohhfem
Copy link

ohhfem commented Nov 15, 2024

Ok guys so here's my experience. I wrote a review on Play Store like other people, and Hisense contacted me saying that they are sorry etc etc..
Then, they asked me to provide my email account connected to Connect life via email, and they just fixed the problem. Now I'm able to connect both app and home assistant.

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

6 participants