Need help setting up cloudflare to Ha & Nas 502 error

system im using a synology nas running docker.
docker installed using shh

As i don’t have addons so cant use " cloudflare addon" Which previous install of Ha super i did and was working. anyways
steps ive done
docker run -d cloudflare/cloudflared:latest tunnel --no-autoupdate run --token xxxxxxxxxx which shows in docker container and heathy on cloudflare.

cloudflare settings https myiptoha:port on public host to domain.
sub domain to myiptonas:5000

turn off tls no luck

still 502 error.

Yes im new to this so this could be a easy fix just wish i can fix it

only log error
Logger: aiohttp.server
Source: /usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py:403
First occurred: 00:38:03 (12 occurrences)
Last logged: 00:54:36

Error handling request
Traceback (most recent call last):
File “/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py”, line 332, 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’”

trying to cast via lovelace i get unable to connect websocket api