[GH-ISSUE #4011] 代理https异常 #3177

Closed
opened 2026-05-05 14:03:18 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @gaol1207 on GitHub (Feb 21, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4011

Bug Description

无法访问https

frpc Version

0.54

frps Version

0.54

System Architecture

linux/amd64

Configurations

frps

bindAddr = "0.0.0.0"
#客户端与服务端进行通信的端口,即frp服务端口,需与客户端server_port一致
bindPort = 17777

#控制台配置
webServer.addr = "0.0.0.0"
webServer.port = 17555
webServer.user = "root"
webServer.password = "123456"

#frpc客户端用到的token认证
auth.method = "token"
auth.token = "190827F2R9A6Zxxx"

vhostHTTPPort = 80
vhostHTTPSPort = 443

#frpc配置
`serverAddr = "101.xx.xx.xx" #公网IP
serverPort = 17777

auth.method = "token"
auth.token = "190827F2R9A6Zxxx" #frps配置的token
proxies
name = "NAS"
type = "https"
subdomain = "hello"
#customDomains = ["xxx.xxx.cn"]
[proxies.plugin]
type = "https2https"
localAddr = "192.168.31.xx:5001"

HTTPS 证书相关的配置

#crtPath = "/etc/frp/cert/https/leigsan.cn_public.crt"
#keyPath = "/etc/frp/cert/https/leigsan.cn.key"
hostHeaderRewrite = "127.0.0.1"
requestHeaders.set.x-from-where = "frp"
`

Logs

2024/02/21 08:46:39 http: TLS handshake error from 101.xx.xx.xx:17777: EOF

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @gaol1207 on GitHub (Feb 21, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4011 ### Bug Description 无法访问https ### frpc Version 0.54 ### frps Version 0.54 ### System Architecture linux/amd64 ### Configurations # frps bindAddr = "0.0.0.0" #客户端与服务端进行通信的端口,即frp服务端口,需与客户端server_port一致 bindPort = 17777 #控制台配置 webServer.addr = "0.0.0.0" webServer.port = 17555 webServer.user = "root" webServer.password = "123456" #frpc客户端用到的token认证 auth.method = "token" auth.token = "190827F2R9A6Zxxx" vhostHTTPPort = 80 vhostHTTPSPort = 443 #frpc配置 `serverAddr = "101.xx.xx.xx" #公网IP serverPort = 17777 auth.method = "token" auth.token = "190827F2R9A6Zxxx" #frps配置的token [[proxies]] name = "NAS" type = "https" subdomain = "hello" #customDomains = ["xxx.xxx.cn"] [proxies.plugin] type = "https2https" localAddr = "192.168.31.xx:5001" # HTTPS 证书相关的配置 #crtPath = "/etc/frp/cert/https/leigsan.cn_public.crt" #keyPath = "/etc/frp/cert/https/leigsan.cn.key" hostHeaderRewrite = "127.0.0.1" requestHeaders.set.x-from-where = "frp" ` ### Logs 2024/02/21 08:46:39 http: TLS handshake error from 101.xx.xx.xx:17777: EOF ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:03:18 -06:00
Author
Owner

@github-actions[bot] commented on GitHub (Mar 14, 2024):

Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1996186749 --> @github-actions[bot] commented on GitHub (Mar 14, 2024): Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
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#3177
No description provided.