-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Crash using i3 #47
Comments
Sorry for the bad title. I updated it. Let me know if I can help you running some tests ! |
Ugh, that's an ugly way for the program to crash :( I can reproduce a similar crash in an Arch toolbox on my Fedora machine. Would you be able to do some digging for me and:
Thanks for trying out go-hass-agent! |
I believe that the issue is fixed with commit 6603e06. Can you try out the attached version that has this commit backported on top of the 4.1.1 version? go-hass-agent-4.1.1SNAPSHOT_32ac45e-1-x86_64.pkg.tar.zst.gz The commit will also be in the next major version of go-hass-agent, but that will also have a major breaking change to the config, so I want to avoid trying both that change and this fix at the same time. |
Hi @joshuar, Sorry for the delay. I tried the snapshot you gave me and, indeed, it seems to work well. However, I still have an error :
It does not seems to prevent it from working. The
My certificate is generated with letsencrypt and is currently valid. Let me know if you want me to create a new issue about that. Thanks ! |
Fun fact, using the snapshot you gave me, I can't register my computer if I'm starting from scratch. I had to re-install the latest stable release, then re-install your snapshot to get it to work. Here is the result of the register command with the debug flag on the snapshot you gave me :
|
Another strange behavior, the GUI seems to ignore the |
Brilliant!
I've been struggling to either understand and replicate the cert issue. I think this might be an underlying library issue, but I'll have to spend more time trying to recreate and then fix.
Most likely this issue will block notifications from Home Assistant to the agent working for you unfortunately.
No need, I'll keep digging on this.
Yes! I discovered a bug with the command-line registration flow. The issues should be fixed in the next major version.
This is expected :) The way I had planned registration was that the GUI registration process was:
The I didn't envision people starting a graphical registration flow from the command-line and specifying the Thanks again for trying go-hass-agent. I hope despite these issues it is providing some usefulness! |
Oh ok, sorry, from my understanding, the documentation does not explicitly says that the
But indeed there is a section about running the binary headless wich make sense. Sorry about that :) Thanks for the detailed answer ! |
Hey no problem and no need to apologise! I can always improve the documentation :) I'll release v5.0.0 shortly that will have the fix for the websocket (to at least not crash) and command-line registration. I'm still working on the cert issue you are facing, any fix will be in a patch release. Fingers crossed I can work out some kind of fix. |
Closing this issue as I believe we worked it out 🎉 If this is still an issue, lets re-open. |
Describe the bug
The app crashes immediately after configuration when getting
Unsupported desktop/window environment
.To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should not crash, at least, it should skip to the next part.
Logs
Desktop (please complete the following information):
Thanks for your work 🙏
The text was updated successfully, but these errors were encountered: