zachowj / hass-node-red

Companion Component for node-red-contrib-home-assistant-websocket to help integrate Node-RED with Home Assistant Core
MIT License
446 stars 180 forks source link

Error in log from Home Assistant #122

Closed coolbox13 closed 2 years ago

coolbox13 commented 2 years ago

Version of the custom_component

v1.0.6 -->

Configuration


# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

Describe the bug

I do get a lot of ERROR's in the HOAS log file. Every sensor update generated the following line in the debug log. My sensors out from node red are working properly

Debug log


2022-02-24 14:28:51 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/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'"
zachowj commented 2 years ago

Pretty sure this error is not caused by this repo.