Bad gateway when creating a tunnel

I have just created my first Cloudflare tunnel, and although everything seems to be set up correctly, when I try to access it through the URL it fails with a Bad Gateway 502 error.
According to the tunnel page it is healthy and serving, it is an HTTP service so I shouldn’t really worry about the TLS verify. I am able to access the page from within my internal network, and all the other posts I see with the same error are usually solved with checking the TLS verify button, but this does not apply in my case.

same problem here. I could not resolve the host by Cloudflare ZT subdomain. checked the cert.pem but the connection was not successful.
if you find any solution let me know, please.