Addon error code 502: Bad Gateway

Hi guys. I installed the addon Advanced SSH & Web Terminal on my Home Assistant OS and when I try to go to the web interface of that addon it says 502: bad gateway.
Can anyone help me? Hope you reply!

I get same error. HomeAssistan versiyon 2023.9
Advanced SSH & Web Terminal version: 15.0.7

Same error running HA OS 10.5 Code 2023.9.2… I uninstalled and installed SSH. add-on which works fine

Is there another “ssh” add-on? I only see the Advanced SSH & Web Terminal add-on.

Good afternoon, I had the same “error 502 bad gateway” error. My fix was to open the SSH in the add-on tab (in settings) and go to configuration and change the username and password to my credentials (click the 3 dots and edit in YAML) and safe the settings. Then restart and it works.

Apparently there was one, but as of today is not there any more, and the only one I can find is the “Advanced SSH & Web Terminal”.

As of today, if you go to the “Configuration” tab in the add-on page of “Advanced SSH & Web Terminal add-on” you get a nice form to fill out with user name, password, authorized keys, and lots of possible options. I set user name, password, and authorized_keys for good measure, and I restarted the add-on.

While the Cpu load after restarting was unusually high (74%) before setting the configuration, this time it was a comfortable 2.6%. I pressed the “Open web UI” button and I got a dialog asking “The add-on is not running. Do you want to start it now?”, which is strange, as I had just started it. Anyway, I pressed “Start Add-on” and I was back to the familiar error “502: Bad Gateway” error :frowning:

Then I discovered the “Log” tab, next to the “Configuration” tab on top of the add-on page, and there I read that the only possible user is root. Maybe I had not configured a user? that may be the case, but I just went back to Configuration, changed the user to root, nad voilà, now it works.

Next step: check that I have a regular user (different than root) and reconfigure the add=on to use that for logging