mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #395] 火狐访问内网web服务出错 SSL_ERROR_RX_RECORD_TOO_LONG #289
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#289
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 @amkzku on GitHub (Jul 9, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/395
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 将会直接关闭。)
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.12
What operating system and processor architecture are you using (
go env)?服务端debian8 amd64,客户端win10 x64
Configures you used:
[frps.ini]
vhost_https_port = 443
[frpc.ini]
[web1]
type = https
custom_domains = web1.mydomain.com
or
[frps.ini]
vhost_https_port = 443
subdomain_host = mydomain.com
[frpc.ini]
[web1]
type = https
subdomain = web1
vhost_https_port还尝试更改为其它端口,报同样错误
Steps to reproduce the issue:
1.配置完毕后正常运行服务端与客户端
2.从另一台电脑(win10 x64)的火狐(32位)访问web1.mydomain.com
3.报错
Describe the results you received:
火狐提示:建立安全连接失败,SSL 接收到一个超出最大准许长度的记录。 错误代码:SSL_ERROR_RX_RECORD_TOO_LONG
Edge提示:无法安全地连接到此页面 这可能是因为该站点使用过期的或不安全的 TLS 安全设置
Chrome提示:此网站无法提供安全连接 发送的响应无效。 ERR_SSL_PROTOCOL_ERROR
服务端只有info,火狐连接时会打印出get a new work connection,edge与chrome无反应
Describe the results you expected:
正常打开web服务的首页
Additional information you deem important (e.g. issue happens only occasionally):
其实我同时运行2个不同的web服务,两个服务监听的本地端口不同。
改为http模式时2个web服务都能正常访问,但是我对安全方面有一定的需求,想至少通过https加强一些。
Can you point out what caused this issue (optional)
@fatedier commented on GitHub (Jul 10, 2017):
先确认下你的 web 服务的 ssl 证书配置是否正确。
frp 里不提供关于证书的配置和解析功能,仅通过域名来路由转发 https 请求。需要你自己搭建好可以正常访问的 https 服务。
@amkzku commented on GitHub (Jul 10, 2017):
明白了,谢谢解答
@iblogc commented on GitHub (May 4, 2018):
@skywinds5012 你好请问是如何解决的?我在本地如果启一个https的服务是没有问题,如果如果本地的是http不行,因为我本地现在要放一个静态的网站,所以有没有什么方法可以是地址启http://127.0.0.1:8000这样,穿透地址用https协议的方案。
@amkzku commented on GitHub (May 4, 2018):
我改用ngrok了。
@iblogc commented on GitHub (May 4, 2018):
好的吧,谢谢。
skywinds5012 notifications@github.com于2018年5月4日周五 下午3:53写道: