[GH-ISSUE #1797] frpc 子命令 缺少 tls_enable 参数 #1422

Closed
opened 2026-05-05 12:53:52 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @somax on GitHub (May 9, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1797

Originally assigned to: @blizard863 on GitHub.

Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.

Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST

What version of frp are you using (./frpc -v or ./frps -v)?
VERSION: 0.33.0

What operating system and processor architecture are you using (go env)?
MacOS (MBP)

Configures you used:
使用子命令,未使用配置文件

Steps to reproduce the issue:

  1. frps 设置 tls_only = true
  2. 尝试使用 frpc 子命令加上参数连接( frpc stcp --...),连接失败
  3. 使用配置文件,加上 tls_enable = true 参数正常连接,取消此参数则无法连接,返回错误和使用子命令的结果相同

Describe the results you received:

返回错误信息如下:

2020/05/09 07:17:29 [W] [service.go:101] login to server failed: EOF
EOF

Describe the results you expected:
搜索了文档,未发现子命令相关内容。

  1. 希望添加子命令相关文档
  2. 添加 tls_enable flag

Additional information you deem important (e.g. issue happens only occasionally):
本人正在尝试拓展 frp 的使用场景,对于需要临时连接到内网环境的时候,子命令确实比较方便,通过少量参数调整即可连接。
现在的做法是通过脚本生成临时配置文件,不过如果原生能够支持那是最好了。

Can you point out what caused this issue (optional)
服务端开启了 tls ,客户端子命令视乎无此参数,无法开启 tls,无法连接设置 tls_only=true 的服务器

Originally created by @somax on GitHub (May 9, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/1797 Originally assigned to: @blizard863 on GitHub. Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly. Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST **What version of frp are you using (./frpc -v or ./frps -v)?** VERSION: 0.33.0 **What operating system and processor architecture are you using (`go env`)?** MacOS (MBP) **Configures you used:** 使用子命令,未使用配置文件 **Steps to reproduce the issue:** 1. frps 设置 tls_only = true 2. 尝试使用 frpc 子命令加上参数连接( frpc stcp --...),连接失败 3. 使用配置文件,加上 tls_enable = true 参数正常连接,取消此参数则无法连接,返回错误和使用子命令的结果相同 **Describe the results you received:** 返回错误信息如下: ``` 2020/05/09 07:17:29 [W] [service.go:101] login to server failed: EOF EOF ``` **Describe the results you expected:** 搜索了文档,未发现子命令相关内容。 1. 希望添加子命令相关文档 2. 添加 `tls_enable` flag **Additional information you deem important (e.g. issue happens only occasionally):** 本人正在尝试拓展 frp 的使用场景,对于需要临时连接到内网环境的时候,子命令确实比较方便,通过少量参数调整即可连接。 现在的做法是通过脚本生成临时配置文件,不过如果原生能够支持那是最好了。 **Can you point out what caused this issue (optional)** 服务端开启了 tls ,客户端子命令视乎无此参数,无法开启 tls,无法连接设置 tls_only=true 的服务器
gitea-mirror 2026-05-05 12:53:52 -06:00
  • closed this issue
  • added the
    WIP
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1422
No description provided.