Failed to perform ssl handshake on android tv box

HA is working fine for me. But I get failed to perform ssl handshake on android tv box. Using IP & dns.

It’s an old android 6, not sure if it matters. It’s wired via ethernet. Wanted it to link up and use the device state for automating turning tv off. Or any way, since tv has IR control only, I don’t know how to guess when I need to call the IR power.

My HAOS is in a VM, pihole for local dns.