Error parsing YAML in config file at /root/.cloudflared/config.yml: yaml: line 8: did not find expected key

Hello somehow I cannot find out what my error is and I dont know further maybe someone here could help me

I get this error:

error parsing YAML in config file at /root/.cloudflared/config.yml: yaml: line 8: did not find expected key

and line 8 is the noTLSVerify line

I changed the tunnel ID to a random one for my safety

thats my code:

tunnel: 31da54be-1336-7hke8-2e99-65b572164313
credentials-file: /root/.cloudflared/31da54be-1336-7hke8-2e99-65b572164313.json
ingress:
- hostname: pxm.mydomain.com
service: https://localhost:8006
originRequest:
disableChunkedEncoding: true
noTLSVerify: true
- service: http_status:404

Any tips or resolution?

I am afraid you’re missing some spacing and formatting in there :thinking:

Try with:

tunnel: CLOUDFLARED-TUNNEL-ID
credentials-file: /root/.cloudflared/CLOUDFLARED-TUNNEL-ID.json

ingress:
 - hostname: pxm.mydomain.com
   service: https://localhost:8006
   originRequest:
     disableChunkedEncoding: true
     connectTimeout: 30s
     noTLSVerify: true
 - service: http_status:404

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