cloudflare / cloudflare/cloudflared

Argo Tunnel Agent service won't start on Windows Server 2019

Open
#380 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
15.6k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

I've created a config.yml file along with credentials file in `C:\Windows\System32\config\systemprofile\.cloudflared` I'm using Windows 2019 Server.

If I use psexec to launch a cmd prompt as the system account and invoke `cloudflared tunnel run` then the tunnel works as expected.
If I use service manager to start the service it immediately stops. There is no indication as to what the error is in any of the Windows event viewer logs.
The exact same configuration files and cloudflared.exe on Windows Server 2012 works correctly.

Is there any way to debug the errors caused by running the process as a service?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.