Cloudflare tunnel showing Error 502 always

All of the logs are saying:

Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared

with curl I get similar response:

502 Bad Gateway
Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared