Closed jagjordi closed 1 year ago
Experiencing the same. For me, SSH access with winscp and Putty works like a charm, just (as above) the web terminal won't connect.
For me it turned out to be a problem with the reverse proxy. I used to have both SSL config in home assistant and in NGINX Proxy Manager and it eventually stopped working. Now I have removed the SSL certs from HA and use only those in NPM and it works again. I also experienced problems with other addons such as Zigbee2MQTT. I think it is something related with ingress.
For me it turned out to be a problem with the reverse proxy. I used to have both SSL config in home assistant and in NGINX Proxy Manager and it eventually stopped working. Now I have removed the SSL certs from HA and use only those in NPM and it works again. I also experienced problems with other addons such as Zigbee2MQTT. I think it is something related with ingress.
This indeed showed the right way, thanks! I did not have Nginx reverse proxy installed at all, and all functions BUT the terminal and ESPHome worked like a charm. I just put the Nginx RP in between, and this seemed to resolve the issue. Terminal is working and ESPHome compiles again. What you mention about removing the ssl certs may be the same as mentioned in the documentation, which instructs you to remove all sll statements from configuration.yaml
Glad it helped :) Btw, where in the documentation is it mentioned that you need to remove the SSL statements?
Best regards,
Jordi Altayó
From: bsjouke @.> Sent: Wednesday, November 9, 2022 5:26:33 PM To: hassio-addons/addon-ssh @.> Cc: Jordi Altayó @.>; Author @.> Subject: Re: [hassio-addons/addon-ssh] Black screen, press enter to reconnect, not working (Issue #455)
For me it turned out to be a problem with the reverse proxy. I used to have both SSL config in home assistant and in NGINX Proxy Manager and it eventually stopped working. Now I have removed the SSL certs from HA and use only those in NPM and it works again. I also experienced problems with other addons such as Zigbee2MQTT. I think it is something related with ingress.
This indeed showed the right way, thanks! I did not have Nginx reverse proxy installed at all, and all functions BUT the terminal and ESPHome worked like a charm. I just put the Nginx RP in between, and this seemed to resolve the issue. Terminal is working and ESPHome compiles again. What you mention about removing the ssl certs may be the same as mentioned in the documentation, which instructs you to remove all sll statements from configuration.yaml
— Reply to this email directly, view it on GitHubhttps://github.com/hassio-addons/addon-ssh/issues/455#issuecomment-1309017190, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADLIJK6HXNV3JD2KPLR2VJTWHPGDTANCNFSM6AAAAAART5X73Y. You are receiving this because you authored the thread.Message ID: @.***>
Hi Jordi,
Check out Settings->add ons->NGINX Home Assistant SSL proxy and then the documentation tab.
Although I can access HA directly now on my intranet, for external traffic it's still behind a separate apache reversed proxy. This distributes all my incoming external traffic to multiple servers. Terminal is still not working for that scenario, but that's outside HA.
Best regards, Boudewijn
Ah, I don't use NGINX addon. I run it as a docker container on my server since I run HA as a virtual machine. But it seems that same settings work also for my case!
From: bsjouke @.***> Sent: Wednesday, November 9, 2022 8:39:13 PM To: hassio-addons/addon-ssh Cc: Jordi Altayo Gonzalez; Author Subject: Re: [hassio-addons/addon-ssh] Black screen, press enter to reconnect, not working (Issue #455)
Hi Jordi,
Check out Settings->add ons->NGINX Home Assistant SSL proxy and then the documentation tab.
Although I can access HA directly now on my intranet, for external traffic it's still behind a separate apache reversed proxy. This distributes all my incoming external traffic to multiple servers. Terminal is still not working for that scenario, but that's outside HA.
Best regards, Boudewijn
— Reply to this email directly, view it on GitHubhttps://github.com/hassio-addons/addon-ssh/issues/455#issuecomment-1309265582, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADLIJK33BB3RYA2JH25EMM3WHP4WDANCNFSM6AAAAAART5X73Y. You are receiving this because you authored the thread.Message ID: @.***>
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!
Closing this issue, as it seems it has been resolved using a workaround above. 👍
Problem/Motivation
When I open the web UI it shows a black screen. If I press any key it says ¨Press enter to reconnect". If I press enter it says "Reconnecting" but after a second it says "Press enter to reconnect again"
Expected behavior
A prompt appears.
Actual behavior
Black screen
Steps to reproduce
Install and try to open web UI
Logs