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

Unable to login to Home Assistant Windows Portable #44

Open
vanhelsing02 opened this issue Apr 20, 2022 · 4 comments
Open

Unable to login to Home Assistant Windows Portable #44

vanhelsing02 opened this issue Apr 20, 2022 · 4 comments
Labels
question Further information is requested

Comments

@vanhelsing02
Copy link

After installing hass thru Windows cmd script I am taken to the sign up page and get thru the process to Home Assistant. It discovers numerous devices and my network and seems to work as it should. I have installed an Insteon integration connected to one of their hubs successfully and setup numerous Insteon devices. My issue occurs after my connection becomes lost or I've logged out and closed my browser. When I signed in the 1st time and logged out and went to re login I bookmarked the page in my browser. The next day when I open my Browse and click n the bookmark for Home Assistant it hangs at initializing and eventually says it can't connect and it timed out but if I reload it says connection refused. If I reinstall it through the Windows cmd script I can go through the same entire process, duplicate the username and login without it suggesting that the user name and so on ever existed or an account was created. I must be doing something wrong and would like to know why this is recurring?

@AlexxIT AlexxIT added the question Further information is requested label Apr 21, 2022
@AlexxIT
Copy link
Owner

AlexxIT commented Apr 21, 2022

Just delete Hass folder and unpack zip archive again. If you can't remember you account

@vanhelsing02
Copy link
Author

I remember my account! It never opens to the login page.

@vanhelsing02
Copy link
Author

It hangs at initializing and a login page is never produced. How do I get to the login page other than the one that I bookmarked when the account was created. What is the web address I should enter?

@dcoder42
Copy link

Might be related to javascript mimetypes
home-assistant/core@64bcd60

You can try adding the following to hass_win/__main__.py

import mimetypes
mimetypes.add_type("text/css", ".css")
mimetypes.add_type("application/javascript", ".js")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants