[GH-ISSUE #1530] https穿透失败 #1209

Closed
opened 2026-05-05 12:46:37 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @imyoubo on GitHub (Nov 21, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1530

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.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)
(请不要在 issue 评论中出现无意义的 加1我也是 等内容,将会被直接删除。)
(由于个人精力有限,和系统环境,网络环境等相关的求助问题请转至其他论坛或社交平台。)

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)?
0.29.1

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

Configures you used:
frps:
[common]
bind_port = 6998
vhost_http_port = 80
vhost_https_port = 443
log_file = /var/log/frp/frps.log
log_level = info
dashboard_addr = 0.0.0.0
dashboard_port = 7500
log_max_days = 30
max_pool_count = 1000
subdomain_host = imyoubo.cn

frpc:
[jumpserver-https]
type = https
local_ip = 192.168.1.101
local_port = 443
subdomain = jumpserver

[esxi_web_ui]
type = https
local_ip = 192.168.1.100
local_port = 443
subdomain = esxi

[iredmail-https]
type = https
local_ip = 192.168.1.102
local_port = 443
subdomain = mail

http部分配置:
[httpd]
type = http
local_ip = 192.168.1.103
local_port = 80
subdomain = archive

[seafile-webui]
type = http
local_ip = 192.168.1.103
local_port = 8000
subdomain = seafile
use encryption = true
use compression = true

Steps to reproduce the issue:
1.启动frps ,启动frpc
2.
3.

Describe the results you received:
1.https的穿透不成功,其他http的配置可以访问,服务端报错:
get hostname from http/https request error: readHandshake: extensionsLen[1378] is not equal to dataLen[908]
image

Describe the results you expected:
之前使用0.24版本的时候没有这个问题,前两天换了0.29.1也没问题,但今早重启了服务器,就报错了

Additional information you deem important (e.g. issue happens only occasionally):

Can you point out what caused this issue (optional)

Originally created by @imyoubo on GitHub (Nov 21, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1530 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. (为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。) (请不要在 issue 评论中出现无意义的 **加1**,**我也是** 等内容,将会被直接删除。) (由于个人精力有限,和系统环境,网络环境等相关的求助问题请转至其他论坛或社交平台。) 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)?** 0.29.1 **What operating system and processor architecture are you using (`go env`)?** centos **Configures you used:** frps: [common] bind_port = 6998 vhost_http_port = 80 vhost_https_port = 443 log_file = /var/log/frp/frps.log log_level = info dashboard_addr = 0.0.0.0 dashboard_port = 7500 log_max_days = 30 max_pool_count = 1000 subdomain_host = imyoubo.cn frpc: [jumpserver-https] type = https local_ip = 192.168.1.101 local_port = 443 subdomain = jumpserver [esxi_web_ui] type = https local_ip = 192.168.1.100 local_port = 443 subdomain = esxi [iredmail-https] type = https local_ip = 192.168.1.102 local_port = 443 subdomain = mail http部分配置: [httpd] type = http local_ip = 192.168.1.103 local_port = 80 subdomain = archive [seafile-webui] type = http local_ip = 192.168.1.103 local_port = 8000 subdomain = seafile use encryption = true use compression = true **Steps to reproduce the issue:** 1.启动frps ,启动frpc 2. 3. **Describe the results you received:** 1.https的穿透不成功,其他http的配置可以访问,服务端报错: get hostname from http/https request error: readHandshake: extensionsLen[1378] is not equal to dataLen[908] ![image](https://user-images.githubusercontent.com/41062250/69307332-39d96480-0c65-11ea-8921-4d3c8db3ea5d.png) **Describe the results you expected:** 之前使用0.24版本的时候没有这个问题,前两天换了0.29.1也没问题,但今早重启了服务器,就报错了 **Additional information you deem important (e.g. issue happens only occasionally):** **Can you point out what caused this issue (optional)**
Author
Owner

@AlainLam commented on GitHub (Jul 29, 2021):

最终有找到原因吗,我也是忽然有这个问题,而且是chrome访问才会,火狐不会

<!-- gh-comment-id:889443838 --> @AlainLam commented on GitHub (Jul 29, 2021): 最终有找到原因吗,我也是忽然有这个问题,而且是chrome访问才会,火狐不会
Author
Owner

@yaoqianZ commented on GitHub (Jan 24, 2025):

遇到同样问题,chrome不行手机浏览器可以,想问怎么解决的?

<!-- gh-comment-id:2611765203 --> @yaoqianZ commented on GitHub (Jan 24, 2025): 遇到同样问题,chrome不行手机浏览器可以,想问怎么解决的?
Author
Owner

@AlainLam commented on GitHub (Jan 24, 2025):

遇到同样问题,chrome不行手机浏览器可以,想问怎么解决的?

升级

<!-- gh-comment-id:2612001680 --> @AlainLam commented on GitHub (Jan 24, 2025): > 遇到同样问题,chrome不行手机浏览器可以,想问怎么解决的? 升级
Author
Owner

@yaoqianZ commented on GitHub (Jan 24, 2025):

感谢,之前一直用0.27,现在升级到0.61,解决问题


From: AlainLam @.>
Sent: Friday, January 24, 2025 2:59 AM
To: fatedier/frp @.
>
Cc: yaoqianZ @.>; Comment @.>
Subject: Re: [fatedier/frp] https穿透失败 (#1530)

遇到同样问题,chrome不行手机浏览器可以,想问怎么解决的?

升级


Reply to this email directly, view it on GitHubhttps://github.com/fatedier/frp/issues/1530#issuecomment-2612001680, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A55C6IVWLQUSKUPG476HBVT2MH6IBAVCNFSM6AAAAABVZBINGOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJSGAYDCNRYGA.
You are receiving this because you commented.Message ID: @.***>

<!-- gh-comment-id:2612581547 --> @yaoqianZ commented on GitHub (Jan 24, 2025): 感谢,之前一直用0.27,现在升级到0.61,解决问题 ________________________________ From: AlainLam ***@***.***> Sent: Friday, January 24, 2025 2:59 AM To: fatedier/frp ***@***.***> Cc: yaoqianZ ***@***.***>; Comment ***@***.***> Subject: Re: [fatedier/frp] https穿透失败 (#1530) 遇到同样问题,chrome不行手机浏览器可以,想问怎么解决的? 升级 ― Reply to this email directly, view it on GitHub<https://github.com/fatedier/frp/issues/1530#issuecomment-2612001680>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A55C6IVWLQUSKUPG476HBVT2MH6IBAVCNFSM6AAAAABVZBINGOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJSGAYDCNRYGA>. You are receiving this because you commented.Message ID: ***@***.***>
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#1209
No description provided.