# 400: Bad Request after installing

**URL:** <https://forum.yunohost.org/t/400-bad-request-after-installing/42868>\
**Category:** Support apps\
**Tags:** homeassistant, english\
**Created:** [August 24, 2026, 7:16pm UTC](https://forum.yunohost.org/t/400-bad-request-after-installing/42868 "2026-08-24T19:16:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![FatherMcGruder](https://forum.yunohost.org/user_avatar/forum.yunohost.org/fathermcgruder/32/6885_2.png) [@FatherMcGruder](https://forum.yunohost.org/u/FatherMcGruder)\
**Post date:** [August 24, 2026, 7:16pm UTC](https://forum.yunohost.org/t/400-bad-request-after-installing/42868/1 "2026-08-24T19:16:45Z")

</div>

### I have searched the forum for similar issues

Yes

### This category is for issues regarding specific apps, _NOT_ general issues with YunoHost.

Yes

### This form is written in English but feel free to write in French if you’re more comfortable!

Yes

### What app is this about, and its version

Home Assistant, 2026.8.2~ynh1

### What YunoHost version are you running

12.1.40.1

### What type of hardware are you using

Virtual machine

### Describe your issue

I just installed Home Assistant, but when I try to access the site in the app list, I get a page that just reads “400: Bad Request”. The log file has a line that reads “A request from a reverse proxy was received from 127.0.0.1, but your HTTP integration is not set-up for reverse proxies”, which seems relevant. The configuration.yaml file includes the following lines:  
`http:`  
` server_port: 8213`  
` use_x_forwarded_for: True`  
` trusted_proxies:`  
` - 127.0.0.1`  
` - ::1`

So, I’m not sure why I see that error in the log. Any suggestions as to what I should try next so I can start using Home Assistant?

### Share relevant logs or error messages

> **[hastebin](https://paste.yunohost.org/zonepanuco)**

---

<div class="post-metadata">

**Author:** ![otm33](https://forum.yunohost.org/user_avatar/forum.yunohost.org/otm33/32/11941_2.png) [@otm33](https://forum.yunohost.org/u/otm33)\
**Post date:** [August 25, 2026, 7:29am UTC](https://forum.yunohost.org/t/400-bad-request-after-installing/42868/2 "2026-08-25T07:29:31Z")

</div>

I think you should uninstall-reinstall. When first login, there’s a pop up asking you to confirm the proxy settings.

---

<div class="post-metadata">

**Author:** ![otm33](https://forum.yunohost.org/user_avatar/forum.yunohost.org/otm33/32/11941_2.png) [@otm33](https://forum.yunohost.org/u/otm33)\
**Post date:** [August 25, 2026, 8:55am UTC](https://forum.yunohost.org/t/400-bad-request-after-installing/42868/3 "2026-08-25T08:55:25Z")

</div>

You can also try adding this

```auto
      "use_x_forwarded_for": true,
      "trusted_proxies": [
        "127.0.0.1/32",
        "::1/128"
      ],

```

to `/home/yunohost.app/homeassistant/.storage/http`

e.g

```auto
  "version": 2,
  "minor_version": 2,
  "key": "http",
  "data": {
    "stable": {
      "use_x_forwarded_for": true,
      "trusted_proxies": [
        "127.0.0.1/32",
        "::1/128"
      ],
      "use_x_frame_options": true,

```

and `sudo systemctl restart homeassistant`

---

<div class="post-metadata">

**Author:** ![FatherMcGruder](https://forum.yunohost.org/user_avatar/forum.yunohost.org/fathermcgruder/32/6885_2.png) [@FatherMcGruder](https://forum.yunohost.org/u/FatherMcGruder)\
**Post date:** [August 26, 2026, 3:58pm UTC](https://forum.yunohost.org/t/400-bad-request-after-installing/42868/4 "2026-08-26T15:58:33Z")

</div>

Uninstalling and reinstalling didn’t help unfortunately. Looking in `/home/yunohost.app/homeassistant/.storage/http`, I saw that the lines you suggested already exist under the `"pending": {` section. I commented them out and then added them under `"stable": {`, restarted homeassistant, and it seems to work now. Interestingly, I noticed the following error on the settings page:

 ![Screenshot from 2026-08-26 12-01-25](https://forum.yunohost.org/uploads/default/original/2X/0/097e9e99f57f359da72e77be14b928b3bf48e3cd.png)

I checked in `/home/yunohost.app/homeassistant/.storage/` and it looks like a new http file was made without a `"pending": {` section and the suggested lines are still included in the `"stable": {` section. So, I just clicked submit. I guess everything is okay. Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [September 10, 2026, 3:59pm UTC](https://forum.yunohost.org/t/400-bad-request-after-installing/42868/5 "2026-09-10T15:59:17Z")

</div>

Closed on September 10, 2026, 3:59pm UTC

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
