-
Notifications
You must be signed in to change notification settings - Fork 408
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
Cloud WS exception (error 406) #1011
Comments
ver. v3.3.1
|
Is problem still actual? |
Да |
Yes, still the same problem. Sometime once sometime a few times daily :-( |
I have this issue as well. I am unable to add new devices to home assistant it seems. Existing devices are working normally. The new device is working in the eWelink app but I cannot see it in Home assistant. |
I get the same error but in my case it is after some 2-3 days of working perfectly and if I restart HA it works fine again, the problem ony manifests on devices that are connected via cloud only (not in my home LAN) Any fix on this? Cloud WS exception| File "/config/custom_components/sonoff/core/ewelink/cloud.py", line 318, in connect| raise Exception(resp)|Exception: {'error': 406, 'apikey': |
I have the same issue after upgrading to the latest HA and 3.3.1, yet the debug log suggests it has found the one device I have:
|
Same issue, version 3.3.1 HA 2023.1.0 This is the output log:
|
To resolve this I created another Sonoff account and shared the device with
it. Looks to be an issue with being logged in two places (app on phone,
Hass)
…On Thu, 5 Jan 2023 at 16:04, Aldo Curinga ***@***.***> wrote:
Same issue, version 3.3.1 HA 2023.1.0
This is the output log:
2023-01-05 16:17:00.639 ERROR (MainThread)
[custom_components.sonoff.core.ewelink.cloud] Cloud WS exception
Traceback (most recent call last):
File "/config/custom_components/sonoff/core/ewelink/cloud.py", line 318,
in connect
raise Exception(resp)
Exception: {'error': 406, 'apikey': 'XXXXXXXX', 'sequence': 'XXXXX',
'actionName': 'userOnline'}
—
Reply to this email directly, view it on GitHub
<#1011 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABREFLAQB23XCA4EAN6JAXDWQ3WKBANCNFSM6AAAAAARL3GGDY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I'll try thank you |
This is authorization error from cloud. I don't know how to reproduce it. And don't know how to fix it. |
It seems a year passed, many updates since then, problem persists: Cloud devices go permanently offline (unavailable) after 2-4 days, sometimes they work fine for 2-3 weeks, just had a record of almost a month, so it is indeed a rare occurance. Reloading the integration does not help, only HA restart fixes the issue but it does fix it every single time. I do get a cloud authentification error in logs but it does not help much: Cloud WS exception| File "/config/custom_components/sonoff/core/ewelink/cloud.py", line 323, in connect| raise Exception(resp)|Exception: {'error': 406, 'reason': 'Authentication Failed', 'apikey': 'sequence': '1695612246995', 'actionName': 'userOnline'} Devices in LAN never fail, only those outside of my LAN have this issue, they are actually in a subnet of my LAN but same thing: not in my LAN. Each time I find the offline in HA I check the ewelink app and there they are always working. Not sure it helps but in older versions (2022-ish) reloading the integration used to work to fix this issue, sadly since oct 2022 (could be off by 6 months) reloading stopped helping and now requires HA restart. |
Also quick reload does not fix the issue either, anything (including updates to core or Supervisor) that involves HA restart will bring them right back up. |
The same problem, I won’t tell you the exact time it appeared, but it seems that after the HAOS update a few days ago.
A quick reload does not solve the problem; after rebooting HAOS, the problem disappears for about a day. |
I live day after day with the same problem. I have all the updates up to date. This error originated from a custom integration.
I reload the integration and it works again for a couple of hours. |
Hi AlexxIT, thks works now, appriciate the great work you done for this great integration |
I didn't do anything about this issue. As I said earlier, it's a cloud error. |
Anyway happy that your great integration is working again. Thks for your swift "support", maybe you have magical skills :) |
PS. "Authentication Failed" can be if you logged in with same account from another place. |
i have got latest version of your pllugin
Generally it works but i dont know why it ocasionally stops working on every single day.
eWelink app works fine when homeasistatnt stops reading data.
The text was updated successfully, but these errors were encountered: