cloudflare / cloudflare/cloudflared

Can't start cloudflared.exe🐛

Open
#1,314 2 comments 0 reactions 0 assignees View on GitHub
Priority: Normal Type: Bug
Dominant language
Go
Stars
15.6k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Can't start it. which means like this:
cloudflared.exe service install ***
程序“cloudflared.exe”无法运行: 指定的可执行文件不是此操作系统平台的有效应用程序。所在位置 行:1 字符: 1
+ cloudflared.exe service install *** ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~。
所在位置 行:1 字符: 1
+ cloudflared.exe service install *** ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException
+ FullyQualifiedErrorId : NativeCommandFailed

**To Reproduce**
Steps to reproduce the behavior:
1. Not Configure
2. Run 'cloudflared.exe service install ***
3. See error

If it's an issue with Cloudflare Tunnel:
4. Tunnel ID :
DB85E609-A8AB-4777-A316-89C7EF8DAD8F
5. cloudflared config:

**Expected behavior**
I just using cmd to do the command cloudflared.exe service install ***

**Environment and versions**
- OS: windows 11 pro
- Architecture: AMD 4000U
- Version: lasted

**Logs and errors**
cloudflared.exe service install ***
程序“cloudflared.exe”无法运行: 指定的可执行文件不是此操作系统平台的有效应用程序。所在位置 行:1 字符: 1
+ cloudflared.exe service install *** ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~。
所在位置 行:1 字符: 1
+ cloudflared.exe service install *** ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException
+ FullyQualifiedErrorId : NativeCommandFailed

**Additional context**
I'm sorry for my chinese bug report:(

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.