RaspberryMatic: Bad Gateway nach Update

Describe the issue you are experiencing

Web UI meldet Bad Gateway

Describe the behavior you expected

Running Web UI in Home Assistant

Steps to reproduce the issue

Start Update, wait to restart the addon.

What is the version this bug report is based on?

3.75.7.20240420

Which base platform are you running?

ha-addon (HomeAssistant Add-on)

Which HomeMatic/homematicIP radio module are you using?

HmIP-RFUSB

Anything in the logs that might be useful for us?

Addon log says successful finish to start addon

Additional information

Restore backup to former addon version brings back web hi

About this issue

  • Original URL
  • State: closed
  • Created 2 months ago
  • Reactions: 6
  • Comments: 24 (6 by maintainers)

Commits related to this issue

Most upvoted comments

FYI: It seems the ha-proxy.js for managing the ingress routing seems to have run into some dependency issue in the latest release. See

Bildschirmfoto 2024-04-20 um 18 11 45

So please see how fast I can get that fixed 😃

😦 Wie man es macht, … …, das hatte ich nicht verstanden. Aber wie kann man das neu re-installieren? Bei HACS gibt es eine einfache Möglichkeit. Bei den Add-Ons nur “deinstallieren” und neu installieren. Muss ich dann alles zurück backuppen aus Rasperrymatic?

hi, geh in HA auf backups und stelle das letzte release von rapsberry her… hab ich eben auch gemacht, kam zwar ne fehlermeldung, aber hat scheinbar funktioniert… danach war unter add ons wieder “update” verfügbar, dann aktuelle version wieder installiert und oberfläche öffnet sich auch wieder in HA

Vielen lieben Dank, dass hat bei mir funktioniert. Ich kann nun wieder auf RaspberyMatic zugreifen und mich mit dem Admin einloggen!

FYI: This issue should be resolved now. So anyone that were or is affected, please reinstall the 3.75.7.20240420 version of the Addon (by repulling the image or installing an older backup and then updating again).

And if you can, please report back if the issue is now really solved for you after you have 3.75.7.20240420 installed again.

Ok, I think I identified the root-cause already: It seems the http-proxy-middleware nodejs project just released a new v3 version of their framework 3 weeks ago (https://github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.0) which comes with some breaking changes which unfortunately found its way into the current RaspberryMatic release unnoticed.

As said, it seems only the WebUI is not directly accessible from within the HomeAssistant WebUI (Ingress routing). Add Port 8080 to the port 80 settings in the Add-on config of RaspberryMatic and you should be able to access the WebUI again by pointing your browser to port 8080 with the IP of your HomeAssistant host system.

😦 Wie man es macht, … …, das hatte ich nicht verstanden.

Aber wie kann man das neu re-installieren? Bei HACS gibt es eine einfache Möglichkeit.

Bei den Add-Ons nur “deinstallieren” und neu installieren. Muss ich dann alles zurück backuppen aus Rasperrymatic?

hi, geh in HA auf backups und stelle das letzte release von rapsberry her… hab ich eben auch gemacht, kam zwar ne fehlermeldung, aber hat scheinbar funktioniert… danach war unter add ons wieder “update” verfügbar, dann aktuelle version wieder installiert und oberfläche öffnet sich auch wieder in HA

The new update worked for me! Thank you for that quick fix!

Then please try to access the WebUI by setting port 80 to e.g. 8080 in the addon config and see if you can directly access the RaspberryMatic WebUI via Port 8080 to the HomeAssistant Host.

Thanks, this works for me