cloudflare / cloudflare/cloudflared
🐛Unable to install/activate cloudflared service on Windows Server 2025
- Dominant language
- Go
- Stars
- 15.6k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
I'm seeing the following error message when I I attempt to install/activate the cloudflared service on Windows Server 2025. The application successfully installs, yet running _cloudflared.exe service install ####_ produces:
_2024-12-06T00:19:57Z INF Installing cloudflared Windows service
2024-12-06T00: 19:57Z ERR Unable to determine extra arguments for windows service error="Provided tunnel token
is not valid (unexpected end of JSON input)." windowsServiceName=Cloudflared
Unable to determine extra arguments for windows service: Provided tunnel token is not valid (unexpected end of
JSON_
I've tried using several different tokens and all produce the same error.
**To Reproduce**
Steps to reproduce the behavior:
1. Install the cloudflared 64-bit connector on Windows Server 2025
2. Run _cloudflared.exe service install ####_
3. See error:
_2024-12-06T00:19:57Z INF Installing cloudflared Windows service
2024-12-06T00: 19:57Z ERR Unable to determine extra arguments for windows service error="Provided tunnel token
is not valid (unexpected end of JSON input)." windowsServiceName=Cloudflared
Unable to determine extra arguments for windows service: Provided tunnel token is not valid (unexpected end of
JSON_
**Expected behavior**
The service should activate and the endpoint should join the Tunnel.
**Environment and versions**
- OS: Windows Server 2025
- Architecture: Intel
- Version: 24H2
Contributor guide
Assessment
This issue has not been assessed yet.