Hello to all, first time here, and I’m glad to join you. Please bear with me, if this is not the right place to post, but I have nowere to search to fix my problem. Let me explain in brief.
I have a new installation of Yunohost server 11.0.11 (stable), an an RPI 4 model - 2GB. I have installed the HomeAssistant app, in a subdomain, e.g. ha.mydomain.nohost.me. Installation is done from RPI4 terminal, as it is running headless.
The problem, I’m facing is that when I’m trying to connect to Home Assistant domain, I get a 400: Bad Request, and the following errors in homeassistant log:
ERROR (MainThread) [homeassistant.components.http.forwarded] A request from a reverse proxy was received from ::1, but your HTTP integration is not set-up for reverse proxies
ERROR (MainThread) [aiohttp.server] Error handling request Traceback (most recent call last):
File "/var/www/homeassistant/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 334, in data_received messages, upgraded, tail = self._request_parser.feed_data(data)```
File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'"
Home Assistant service is running and listens to 8123, but I cannot log in, as I do not get a login screen, nor can I access instance from localhost.
Before this installation on RPI4 in Yunohost, I have tried using Home Assistant in a VM machine, and everything went well.
I think, I have to make some more configurations, but I have no clue where to start.
Any helpful soul, to assist me on this problem will be very much appreciated.