I'm trying to debug a request to a mqtt broker hosted behind my Traefik proxy.
I have everything setup and working as I can connect via a desktop mqtt app (mqtt.fx), but when I try to connect via node-red I don't get any response from the server there are no logs in the broker (mosquitto) from the failed connect (as if it didn't get routed).
Oh, it's TCP! I did not realise that, I assumed https. If it's TCP depending on protocol, you might not even need decryption. And, yes Access Logs was also assuming http(s)
Just to close this out and after trying wireshark and decrypting tls/ssl and not finding anything, the problem came down to the docker image running noed-red could not resolve/find the let's encrypt certificate authority adding the full sni to the node-red config forced the image to find the correct CA. i.e:
mqtts.example.net is the same sni that I have in my docker-compose labels for traefik - "traefik.tcp.routers.mosquitto-secure.rule=HostSNI(`mqtts.example.net`)"
Thanks for the pointers, I now know a little bit more.