mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #1623] [http.go:95] do http proxy request error: EOF #1282
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#1282
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 @SheldonSir on GitHub (Jan 17, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1623
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.31.1
What operating system and processor architecture are you using (
go env)?server : Centos 7
client : Ubuntu 16.04.6 LTS (Xenial Xerus)
Configures you used:
Steps to reproduce the issue:
0. 因为客户端 kubenetes cluster 要求使用https访问, so, 借鉴了文章 使用内网穿透给本地项目部署域名跟https 大概思路, 将Nginx替换成Apache, 通过Apache 来转发
Describe the results you received:
浏览器显示为:
frps 日志显示:
配置Nginx 也会遇到同样的问题
Describe the results you expected:
我期望的结果应该是正常跳转到我本地 docker 中的 kubenetes cluster 页面(ps: 可以通过 https://192.168.51.64 访问到页面)
Additional information you deem important (e.g. issue happens only occasionally):
Can you point out what caused this issue (optional)
@DaPoHou commented on GitHub (Jan 17, 2020):
直接使用https反代http就行了。没必要那么复杂吧。
@SheldonSir commented on GitHub (Jan 17, 2020):
抱歉, 没get到你的意思
你是想说用 http2https plugin 吗?
@DaPoHou commented on GitHub (Jan 18, 2020):
直接用nginx 443 反代 http 80网站
@SheldonSir commented on GitHub (Jan 19, 2020):
我原有公网server中用Apache 已经在跑多个站点, so 我就不需要nginx 再做反向代理了. 况且 Apache 也可以做反向代理server
我重新update issue了, 上面的配置我在本地用 phpStudy 搭了一个简易网站, 测试是可以正常访问的
问题frpc 主机环境描述:
Ubuntu 16.04.6 LTS
Kubenetes cluster in Docker
docker pods 对外映射 443 and 31390 port
需要通过frpc 将访问传给 docker 中的 Kubenetes cluster
that's all
@SheldonSir commented on GitHub (Jan 29, 2020):
OK, 我最后的解决方法是将
两个证书内容通过base64加密后, 手动拷贝替换了 Kubenetes 内部的web证书(记得备份), 在frps server 端不做Apache 转发
以上方法动到了 Kubenetes 内部, 不算是很好的解决方案. 如果大家有好方法, 欢迎follow
@fatedier commented on GitHub (Feb 4, 2020):
你要反代 https 的服务,为什么 type 填的是 http? 直接用 tcp 端口映射不可以吗?