Hello together, I’m getting the following error, when I try to access my subdomain through Cloudflare zero trust tunnel.
Error:
ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: tls: first record does not look like a TLS handshake" cfRay=793f3310ceea9a24-FRA ingressRule=0 originService=https://192.168.178.54:3000
But I’m able to access the same http://192.168.178.54:3000 page locally without any issues.
When I check the status on the Cloudflare dashboard for that tunnel, it gives me a “healthy” status and for the connector the status “connected”.
It looks like you specified an HTTPS type service when it is HTTP,
originService=https://192.168.178.54:3000
“The service may be down or it may not be responding to traffic from cloudflared: tls: first record does not look like a TLS handshake”
Try changing the service type to HTTP in the Zero Trust Dashboard. You can find that setting in your Public Hostname settings.
Another potential thing that might fix it is in your Public Hostname Settings, under Additional Application Settings → HTTP Settings, you could try setting the HTTP Host Header to “192.168.178.54:3000”
(Just a side note, if you are using Webpack Dev Server, it looks like it’s not really recommended to be exposed publicly. If it’s meant to be private, after you get it working, you may want to configure Cloudflare Access on it)