mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #3419] CheckAndEnableTLSServerConnWithTimeout-- non-TLS connection received on a TlsOnly server #2734
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#2734
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @woshibba on GitHub (Apr 21, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3419
Bug Description
服务段报错[service.go:401] CheckAndEnableTLSServerConnWithTimeout error: non-TLS connection received on a TlsOnly server
我想弄一个tls加密的frp
服务端开启了tls_only= true
客户端开启了 tls_enable = true
客户端报错 [service.go:133] login to server failed: EOF
frpc Version
frpc 0.46.0
frps Version
frps 0.43.0
System Architecture
linux/amd64
Configurations
frpc.ini
server_addr =
server_port =
tls_enable = true
tls_cert_file = client.crt
tls_key_file = client.key
tls_trusted_ca_file = ca.crt
[ssh]
type = tcp
plugin = socks5
local_ip = 127.0.0.1
local_port = 22
remote_port = 6000
================================================
frps.ini
[common]
bind_port =
tls_only= true
tls_cert_file = cert/server.crt
tls_key_file = cert/server.key
tls_trusted_ca_file = cert/ca.crt
Logs
No response
Steps to reproduce
...
Affected area
@woshibba commented on GitHub (Apr 21, 2023):
服务段报错应该是服务端报错,是我 写错了
@superzjg commented on GitHub (Apr 24, 2023):
参考教程:
https://gofrp.org/docs/features/common/network/network-tls/
@github-actions[bot] commented on GitHub (May 25, 2023):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.