Hello.
I’m trying to install Cloudflare Tunnel as a service on a Windows machine. I’m following step-by-step of this tutorial: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/run-tunnel/as-a-service/windows/
I’ve done this before in other machines and worked just fine, but for some reason, in this machine, at the end of the process, the service simply won’t start.
When I run
sc start cloudflared tunnel run
It returns some information about the service, but if I check on the services manager, the service is still not running. If I try to start the service manually from the services manager, I get a 1067 error message.
Below is how my folders, my config files and my registry are set up and below it you can see the error I’m getting:
Windows couldn’t start the Cloudflare Tunnel agent service in Local Machine. Error 1067: The process finished unexpectedly.
I’ve been searching for days on how to get around this but still no solution.
My first idea was that there was something wrong with the regestry entry, but I’ve checked multiple times and it seems fine, it’s also the exact same entry I’ve used in my other machines and work fine.
Thanks