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

Fix login failures #881

Merged
merged 1 commit into from
Jul 7, 2022
Merged

Fix login failures #881

merged 1 commit into from
Jul 7, 2022

Conversation

bdraco
Copy link
Contributor

@bdraco bdraco commented Jun 30, 2022

Fixes #879

@warthog9
Copy link

Confirmed this sorted the problem for me

@hmmbob
Copy link
Contributor

hmmbob commented Jul 1, 2022

Same here: fixed

1 similar comment
@Santanachia
Copy link

Same here: fixed

@pimw1
Copy link

pimw1 commented Jul 2, 2022

The fix works here, thank you bdraco.

@hmmbob
Copy link
Contributor

hmmbob commented Jul 5, 2022

@AlexxIT Hi Alex, a friendly ping to get this on your radar, if it wasn't yet. Reason for the ping is that after tomorrow (HA release day), a lot more users will be on 2022.7 and will be affected by the issue fixed with this PR.

@drthanwho
Copy link

We might have a problem 😥
image

@hmmbob
Copy link
Contributor

hmmbob commented Jul 6, 2022

Nah, either make these changes directly in custom_components/sonoff/core/ewelink/cloud.py.

or go the easy way, download the complete changed file ( <-- right-click, save-as) and replace the contents of custom_components/sonoff/core/ewelink/cloud.py with it.

@drthanwho
Copy link

I have done this already 😉 But there's gonna be an influx of issues from people from later today. Hopefully they see this at least.

@mupsje
Copy link

mupsje commented Jul 6, 2022

hi, also after fix change the cloud.py
Getting a message "appid is unauthorized! ..............code............................"

greets

@hmmbob
Copy link
Contributor

hmmbob commented Jul 6, 2022

hi, also after fix change the cloud.py Getting a message "appid is unauthorized! ..............code............................"

greets

Different issue: #887

@mupsje
Copy link

mupsje commented Jul 6, 2022

Thanks!
Up and Runing again

@hadadil
Copy link

hadadil commented Jul 6, 2022

on my HA only working for few minutes after that all the devices are unavailable 😢

@swiergot
Copy link

swiergot commented Jul 6, 2022

Hmm I have applied the changes but I still get "sign verification failed". Any ideas why?

@PuschRo
Copy link

PuschRo commented Jul 7, 2022

Hmm I have applied the changes but I still get "sign verification failed". Any ideas why?

Same here after HA Upgrade 2022.7.0

@hmmbob
Copy link
Contributor

hmmbob commented Jul 7, 2022

Hmm I have applied the changes but I still get "sign verification failed". Any ideas why?

Same here after HA Upgrade 2022.7.0

Did you restart HA?

@swiergot
Copy link

swiergot commented Jul 7, 2022

Ok, I know why it didn't work for me. I was still at 2022.06 which apparently is incompatible with the fix.

@PuschRo
Copy link

PuschRo commented Jul 7, 2022

Hmm I have applied the changes but I still get "sign verification failed". Any ideas why?

Same here after HA Upgrade 2022.7.0

Did you restart HA?

sure :-) several times

@thorrrr
Copy link

thorrrr commented Jul 7, 2022

Same issue i replaced file restarted about 5 times still got same error.
Asks me to re login
https://i.imgur.com/R0Ys239.png
But when i do it says i am already logged in.
https://i.imgur.com/DuzBS2H.png
I have treid auto , cloud and local but none work i have it set to LAN in my app. I have always had it set like that.
https://i.imgur.com/DuzBS2H.png

@Doktor-X
Copy link

Doktor-X commented Jul 7, 2022

Same issue i replaced file restarted about 5 times still got same error. Asks me to re login https://i.imgur.com/R0Ys239.png But when i do it says i am already logged in. https://i.imgur.com/DuzBS2H.png I have treid auto , cloud and local but none work i have it set to LAN in my app. I have always had it set like that. https://i.imgur.com/DuzBS2H.png

You need to change 0 to 1 in line 107 and 159

@PuschRo
Copy link

PuschRo commented Jul 7, 2022

Same issue i replaced file restarted about 5 times still got same error. Asks me to re login https://i.imgur.com/R0Ys239.png But when i do it says i am already logged in. https://i.imgur.com/DuzBS2H.png I have treid auto , cloud and local but none work i have it set to LAN in my app. I have always had it set like that. https://i.imgur.com/DuzBS2H.png

You need to change 0 to 1 in line 107 and 159

already done, but no success

@AlexxIT AlexxIT merged commit e77f71f into AlexxIT:master Jul 7, 2022
@AlexxIT
Copy link
Owner

AlexxIT commented Jul 7, 2022

Thanks!

@Santanachia
Copy link

@AlexxIT Please change the version number so HACS can see that we need to update.

@armandusbasson
Copy link

Nah, either make these changes directly in custom_components/sonoff/core/ewelink/cloud.py.

or go the easy way, download the complete changed file ( <-- right-click, save-as) and replace the contents of custom_components/sonoff/core/ewelink/cloud.py with it.

Currently this is working fine for me now.

@AlexxIT
Copy link
Owner

AlexxIT commented Jul 7, 2022

@Santanachia do you think I don't know how to do release? :)

@Santanachia
Copy link

@AlexxIT I know that you know, but it wasn't in the PR. That's the only reason I mention it.

@problem9
Copy link

problem9 commented Jul 7, 2022

@AlexxIT thanks for fast fix

@thailanna
Copy link

thailanna commented Jul 7, 2022

I have downloaded and replaced cloud.py and changed 0 to 1 in line 107 and 159 and even reverted to version 2022.6.7 and still the same problem. I have all my 34 local devices but my 5 remote devices are off-line. These 5 are on a different network/location.
I am asked to reconfigure Sonoff but it comes back with ‘This account is already configured’ but shows 'Failed to set up: sign verification failed
[34 devices] and [126 entities]. Hope there is a solution in the pipeline.

Have updated HA to core-2022.7.0 and updated SONOFF to 3.1.0 and all remote devises are still OFF LINE.

Version | 3.1.0 (3871c0b)

Cloud devices online | 0 / 34
Local devices online | 10 / 10

Kevin

@PuschRo
Copy link

PuschRo commented Jul 7, 2022

I have downloaded and replaced cloud.py and changed 0 to 1 in line 107 and 159 and even reverted to version 2022.6.7 and still the same problem. I have all my 34 local devices but my 5 remote devices are off-line. These 5 are on a different network/location. I am asked to reconfigure Sonoff but it comes back with ‘This account is already configured’ but shows 'Failed to set up: sign verification failed [34 devices] and [126 entities]. Hope there is a solution in the pipeline.

the same problem with me

@hmmbob
Copy link
Contributor

hmmbob commented Jul 7, 2022

There is: upgrade sonofflan. New release is available.

@RBSVader
Copy link

RBSVader commented Jul 7, 2022

Fixed in new version. Thanks to all!

@PuschRo
Copy link

PuschRo commented Jul 7, 2022

new version installed, error gone..... thanks

@avellma
Copy link

avellma commented Jul 9, 2022

Some help here, can someone share with me the general steps to get this problem fixed ?
"Failed to set up: sign verification failed"

Where do I need to go to get the file ? What is the file name ? Where in my setting go to change what for what ???
Thank to any one to be patient and guide the one that do not have the experience to navigate this work-stream.
@hmmbob
@RBSVader
@PuschRo
etc ....

@hmmbob
Copy link
Contributor

hmmbob commented Jul 9, 2022

Just update via HACS.

@avellma
Copy link

avellma commented Jul 9, 2022

Thank you @hmmbob .... that was extremely easy and helpful.
It worked perfect....ya the man !!!!

Thank you.....

This community is awesome ....

@avellma
Copy link

avellma commented Jul 9, 2022

Thank you @AlexxIT

@yuckypants
Copy link

Thanks @hmmbob !

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

Successfully merging this pull request may close these issues.

Can't login "sign verification failed"