ha-emporia-vue icon indicating copy to clipboard operation
ha-emporia-vue copied to clipboard

"unknown error" when trying to sign in.

Open deverox-GHT opened this issue 2 years ago • 13 comments

I keep getting a red "unknown error" when trying to sign in. Am I missing something obvious?

deverox-GHT avatar Jun 29 '22 06:06 deverox-GHT

Same here. Thk

Francois1976 avatar Jul 02 '22 00:07 Francois1976

I was able to fix the problem by upgrading my server. Previously I was running on a Pi4 (2GB ram) with MicroSD Card running home assistant. When I was having issues I switched it to a Pi4 4GB and put it on a SSD. Now works like a dream.

On Fri, Jul 1, 2022 at 5:56 PM Francois1976 @.***> wrote:

Same here. Thk

— Reply to this email directly, view it on GitHub https://github.com/magico13/ha-emporia-vue/issues/129#issuecomment-1172801929, or unsubscribe https://github.com/notifications/unsubscribe-auth/APF64OY5L3DXSIYHOV7DEYLVR6HTHANCNFSM52ES52FQ . You are receiving this because you authored the thread.Message ID: @.***>

deverox-GHT avatar Jul 02 '22 03:07 deverox-GHT

I have the same issue, vue was working before but sometimes the sensors are displayed "unavailable" after a integration restart all is ok until next unavailable state. Today i could not reload the integraiton so i reinstalled it but now i cannot login anymore gettingg ghe "unknown error". This should not be a problem with my server because it worked yesterday

nad22 avatar Sep 20 '22 07:09 nad22

Did you install something yesterday that could be slowing the server down?

On Tue, Sep 20, 2022, 00:18 nad22 @.***> wrote:

I have the same issue, vue was working before but sometimes the sensors are displayed "unavailable" after a integration restart all is ok until next unavailable state. Today i could not reload the integraiton so i reinstalled it but now i cannot login anymore gettingg ghe "unknown error". This should not be a problem with my server because it worked yesterday

— Reply to this email directly, view it on GitHub https://github.com/magico13/ha-emporia-vue/issues/129#issuecomment-1251941114, or unsubscribe https://github.com/notifications/unsubscribe-auth/APF64O6BX7NZGG7RKYZQEOLV7FQM7ANCNFSM52ES52FQ . You are receiving this because you authored the thread.Message ID: @.***>

deverox-GHT avatar Sep 20 '22 07:09 deverox-GHT

I'm getting this too on a first time install (v0.8). Red "Unexpected error"

ZinTheDog avatar Nov 12 '22 13:11 ZinTheDog

I solved it by upgrading the hardware HA was running on.

On Sat, Nov 12, 2022 at 5:14 AM ZinTheDog @.***> wrote:

I'm getting this too on a first time install (v0.8). Red "Unexpected error"

— Reply to this email directly, view it on GitHub https://github.com/magico13/ha-emporia-vue/issues/129#issuecomment-1312476284, or unsubscribe https://github.com/notifications/unsubscribe-auth/APF64O2NJP5AYV7CKN76JBLWH6JZ5ANCNFSM52ES52FQ . You are receiving this because you authored the thread.Message ID: @.***>

deverox-GHT avatar Nov 12 '22 22:11 deverox-GHT

My resource utilization is very low. I'm running HA on a VM with quite a bit of hardware resources behind it.

ZinTheDog avatar Nov 14 '22 03:11 ZinTheDog

Same problem over here, i updated the emporia app and have the issue of an infinite loop when upgrading, had to do this to fix the issue https://www.reddit.com/r/homeassistant/comments/ti1k43/hacs_update_failing_hacs_v1160_ha_v202235/

but now i get the unknow error. Is there somewhere emporia store log ? In the main log there is nothing show related to this

fasavard avatar Dec 05 '22 01:12 fasavard

Alraight been able to find a log. Seems more related the hacs than emporia 2022-12-05 06:48:44.778 INFO (MainThread) [custom_components.hacs] Starting recurring background task for downloaded repositories 2022-12-05 06:48:44.779 DEBUG (MainThread) [custom_components.hacs] Recurring background task for downloaded repositories done 2022-12-05 06:48:44.965 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:44.970 DEBUG (MainThread) [custom_components.hacs] <QueueManager> The queue is empty 2022-12-05 06:48:44.974 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:44.975 DEBUG (MainThread) [aiogithubapi] 'GitHubRateLimitResourcesModel' is missing key 'dependency_snapshots' for <class 'dict'> 2022-12-05 06:48:44.975 DEBUG (MainThread) [custom_components.hacs] Can update 400 repositories, items in queue 5 2022-12-05 06:48:44.976 DEBUG (MainThread) [custom_components.hacs] <QueueManager> Checking out tasks to execute 2022-12-05 06:48:44.976 DEBUG (MainThread) [custom_components.hacs] <QueueManager> Starting queue execution for 5 tasks 2022-12-05 06:48:44.977 DEBUG (MainThread) [custom_components.hacs] <Integration hacs/integration> Getting repository information 2022-12-05 06:48:44.981 DEBUG (MainThread) [custom_components.hacs] <Integration magico13/ha-emporia-vue> Getting repository information 2022-12-05 06:48:44.984 DEBUG (MainThread) [custom_components.hacs] <Integration WillowMist/sensor.mylar> Getting repository information 2022-12-05 06:48:44.987 DEBUG (MainThread) [custom_components.hacs] <Integration 9a4gl/hass-centrometal-boiler> Getting repository information 2022-12-05 06:48:44.990 DEBUG (MainThread) [custom_components.hacs] <Integration soloam/ha-pid-controller> Getting repository information 2022-12-05 06:48:44.995 DEBUG (MainThread) [custom_components.hacs] <HACSStore async_save_to_store> Did not store data for 'hacs.critical'. Content did not change 2022-12-05 06:48:45.260 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:45.260 DEBUG (MainThread) [custom_components.hacs] <Integration WillowMist/sensor.mylar> Running checks against master 2022-12-05 06:48:45.361 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:45.371 DEBUG (MainThread) [custom_components.hacs] <Integration magico13/ha-emporia-vue> Running checks against v0.8 2022-12-05 06:48:45.382 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:45.387 DEBUG (MainThread) [custom_components.hacs] <Integration soloam/ha-pid-controller> Running checks against v1.1.5 2022-12-05 06:48:45.453 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:45.463 DEBUG (MainThread) [custom_components.hacs] <Integration 9a4gl/hass-centrometal-boiler> Running checks against 0.0.36 2022-12-05 06:48:45.471 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:45.519 DEBUG (MainThread) [custom_components.hacs] <Integration hacs/integration> Running checks against 1.28.4 2022-12-05 06:48:45.600 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:45.701 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:45.715 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:45.748 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:45.769 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:45.807 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:45.872 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:45.875 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:45.879 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:45.900 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:45.973 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:45.976 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:46.028 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:46.081 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:46.200 DEBUG (MainThread) [aiogithubapi] 'GitHubResponseHeadersModel' is missing key 'x_github_api_version_selected' for <class 'str'> 2022-12-05 06:48:46.201 DEBUG (MainThread) [custom_components.hacs] <QueueManager> Queue execution finished for 5 tasks finished in 1.23 seconds 2022-12-05 06:48:46.201 DEBUG (MainThread) [custom_components.hacs] <HacsData async_write> Saving data 2022-12-05 06:48:46.206 DEBUG (MainThread) [custom_components.hacs] <HACSStore async_save_to_store> Did not store data for 'hacs.hacs'. Content did not change

fasavard avatar Dec 05 '22 11:12 fasavard

So did some morning test. Seems that from the mac, i dont get much message. I tried from my iphone and got some result. To see if the base of the script worked, i enter the wrong credential and got a credential error. Now with the proper credential. i get this generic error: RROR (MainThread) [frontend.js.latest.202211080] :0:0 Script error.

fasavard avatar Dec 05 '22 12:12 fasavard

I shut off all my adblock tools, then rebooted the mac, and the home assistant device, and tried again. I still had the error, but i let it got, and later on the extension was there with all my entities

fasavard avatar Dec 05 '22 13:12 fasavard

Mine ended up being a case sensitivity issue on the email address!! The email address I saved had a capital letter as the first letter, but the address registered with Emporia was all lowercase. I double checked on the Emporia web view under account settings to see how my email was written, matched that by using all lowercase and now I'm logged in.

ZinTheDog avatar Dec 05 '22 15:12 ZinTheDog

Good to know, i'll look to do a pull request if a got time to force lowercase email

fasavard avatar Dec 06 '22 10:12 fasavard