mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #475] 服务端客户端无法正常连接 #360
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#360
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 @EkiXu on GitHub (Sep 29, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/475
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.13
What operating system and processor architecture are you using (
go env)?Sever: linux amb64 client linux armv71 (raspi)
Configures you used:
frps.ini
[common]
bind_port = 7000
vhost_https_port = 2334
dashboard_port = 7500
dashboard_user = xxxx
dashboard_pwd = xxxx
privilege_token = xxxxxxxx
[common]
server_addr = xxx.xxx.xxx.xxx
server_port = 2334
privilege_token = xxxxxxxx
[web]
type = http
local_ip = 127.0.0.1
local_port = 80
use_encryption = false
use_compression = true
custom_domains = xxx.xxxx.xxx
Steps to reproduce the issue:
Describe the results you received:
client: [W] [control.go:121] login to server failed: broken pipe
sever: [W] [vhost.go:129] get hostname from http/https request error: readHandshake: proto length[8] is too short
Describe the results you expected:
正常工作
Additional information you deem important (e.g. issue happens only occasionally):
**Can you point out what caused this issue **
PS:是我犯蠢看错文档了么
@fatedier commented on GitHub (Oct 9, 2017):
你要用 vhost_http_port 这个配置就可以了,不是 https 的请求。或者如果你是 https 的请求,就需要 type 填 https。