Cloudflared first setup for PRTG

Trying to setup my first site behind cloudflared tunnel.

I have the tunnel up and working as far as the portal says it is connected.

I am trying to run PRTG behind this tunnel. The config file is below along with the output error which I have been unable to find a resolution for after searching for the last 3 hours today. I know it is probably a simple misconfig or missing statement but I have yet to be able to find it.

Tunnel Config File:

tunnel: <replaced>
credentials-file: C:\Program Files\CloudFlareD<replaced>.json
#originRequest: # Top-level configuration

connectTimeout: 30s
ingress:
- hostname: prtg.taillight.cloud
service: localhost:80
originRequest:
noTLSVerify: true
-service: http_status:404

The error I am getting is:

2022-08-02T20:29:18Z ERR  error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it." cfRay=7349909889f5677e-DFW originService=http://localhost:8080
2022-08-02T20:29:18Z ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it." connIndex=0 dest=https://prtg.taillight.cloud/ ip=198.41.200.33 type=http
2022-08-02T20:29:20Z ERR  error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused `Preformatted text`

When I try to access the site locally to the server running the tunnel via the URL https : // localhost / the site works.

Any ideas to check?

Thanks in advance!
Jim

According to this log, cloudflared tried to connect to localhost IPv6 localhost on port 8080. Something in your config might be messed up.

After specifically specifying the location of the configuration file when running cloudflared some of the errors were resolved and I was presented with new ones that appear to require a different certificate then the one available from PRTG. I reverted to http and the service works - thanks!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.