Adding HTTP stops HA fully starting

I have duck DNS setup and there are certificate files in /SSL
However adding the http: section to config stops HA fully restarting (using a Pi3b). The system is using all the latest versions,

http:
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem
  ip_ban_enabled: true
  login_attempts_threshold: 5

The log files has numerous entries like below.

I am not an expert in python so any help would be appreciated.

Mike


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'"
2022-04-06 09:18:11 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)