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

Nabu Casa not connecting #83

Open
tobycth3 opened this issue Jan 9, 2024 · 6 comments
Open

Nabu Casa not connecting #83

tobycth3 opened this issue Jan 9, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@tobycth3
Copy link

tobycth3 commented Jan 9, 2024

Logger: homeassistant.components.cloud.http_api
Source: C:\Users\WMC\Desktop\HassWP_2023.12.4\python-3.11.6.amd64\Lib\site-packages\homeassistant\components\cloud\http_api.py:177
Integration: Home Assistant Cloud (documentation, issues)
First occurred: 5:28:01 PM (1 occurrences)
Last logged: 5:28:01 PM

Unexpected error processing request for /api/cloud/login
Traceback (most recent call last):
  File "C:\Users\WMC\Desktop\HassWP_2023.12.4\python-3.11.6.amd64\Lib\site-packages\homeassistant\components\cloud\http_api.py", line 128, in error_handler
    result = await handler(view, request, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\WMC\Desktop\HassWP_2023.12.4\python-3.11.6.amd64\Lib\site-packages\homeassistant\components\http\data_validator.py", line 72, in wrapper
    result = await method(view, request, data, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\WMC\Desktop\HassWP_2023.12.4\python-3.11.6.amd64\Lib\site-packages\homeassistant\components\cloud\http_api.py", line 227, in post
    await cloud.login(data["email"], data["password"])
  File "C:\Users\WMC\Desktop\HassWP_2023.12.4\python-3.11.6.amd64\Lib\site-packages\hass_nabucasa\__init__.py", line 223, in login
    await self.auth.async_login(email, password)
  File "C:\Users\WMC\Desktop\HassWP_2023.12.4\python-3.11.6.amd64\Lib\site-packages\hass_nabucasa\auth.py", line 175, in async_login
    task = await self.cloud.update_token(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\WMC\Desktop\HassWP_2023.12.4\python-3.11.6.amd64\Lib\site-packages\hass_nabucasa\__init__.py", line 168, in update_token
    await self.run_executor(self._write_user_info)
  File "C:\Users\WMC\Desktop\HassWP_2023.12.4\python-3.11.6.amd64\Lib\concurrent\futures\thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\WMC\Desktop\HassWP_2023.12.4\python-3.11.6.amd64\Lib\site-packages\hass_nabucasa\__init__.py", line 257, in _write_user_info
    self.user_info_path.chmod(0o600)
  File "C:\Users\WMC\Desktop\HassWP_2023.12.4\python-3.11.6.amd64\Lib\pathlib.py", line 1132, in chmod
    os.chmod(self, mode, follow_symlinks=follow_symlinks)
  File "C:\Users\WMC\Desktop\HassWP_2023.12.4\python-3.11.6.amd64\Lib\site-packages\hass_win\__main__.py", line 142, in wrapper
    if path.endswith(".state"):
       ^^^^^^^^^^^^^
AttributeError: 'WindowsPath' object has no attribute 'endswith'
@AlexxIT AlexxIT added the bug Something isn't working label Jan 10, 2024
@AlexxIT
Copy link
Owner

AlexxIT commented Jan 10, 2024

I don't know if I can fix this. Because I don't have NabuCasa account for tests

@tobycth3
Copy link
Author

tobycth3 commented Jan 10, 2024

I'm not sure the error is limited to just NabuCase, it throws that error any time I try to enable remote access. I think it has to do more with the cert process than anything

@rampagejoe
Copy link

Same problem :(

@rampagejoe
Copy link

rampagejoe commented Feb 7, 2024

I don't know if I can fix this. Because I don't have NabuCasa account for tests

You can create free trial accounts for 30 days without any payment info

I could also provide an account for you
Because this problem is actually really important to me

@mtoo22
Copy link

mtoo22 commented Jun 2, 2024

Hope this can be resolved.

@gorfreed
Copy link

I experience the same problem. Seems like the issue was not addressed yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants