[GH-ISSUE #1249] frpc提示login to server failed: EOF #987

Closed
opened 2026-05-05 12:38:09 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @argentmoon on GitHub (May 15, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1249

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)?
frpc: 0.27.0
frps: 0.27.0

What operating system and processor architecture are you using (go env)?
frpc: windows 7 32位
frps: 华硕路由AC66U B1

Configures you used:
frpc.ini:
[common]
server_addr = 我的域名
server_port = 1622
log_level = debug

[RDP]
type = tcp
local_ip = 127.0.0.1
local_port = 3389
remote_port = 7001

frps.ini:
[common]
bind_port = 1622
max_pool_count = 50

log
2019/05/15 10:53:55 [W] [service.go:82] login to server failed: EOF
EOF

Steps to reproduce the issue:

  1. 可以用telnet正常连接服务端的1622端口,网络保证通畅
  2. 在其他计算机上运行frpc可以正常连接
  3. 客户端和服务端版本号都是0.27.0,版本号一致

请给一点问题排查的建议,谢谢

Originally created by @argentmoon on GitHub (May 15, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1249 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)?** frpc: 0.27.0 frps: 0.27.0 **What operating system and processor architecture are you using (`go env`)?** frpc: windows 7 32位 frps: 华硕路由AC66U B1 **Configures you used:** frpc.ini: [common] server_addr = 我的域名 server_port = 1622 log_level = debug [RDP] type = tcp local_ip = 127.0.0.1 local_port = 3389 remote_port = 7001 frps.ini: [common] bind_port = 1622 max_pool_count = 50 **log** 2019/05/15 10:53:55 [W] [service.go:82] login to server failed: EOF EOF **Steps to reproduce the issue:** 1. 可以用telnet正常连接服务端的1622端口,网络保证通畅 2. 在其他计算机上运行frpc可以正常连接 3. 客户端和服务端版本号都是0.27.0,版本号一致 请给一点问题排查的建议,谢谢
Author
Owner

@argentmoon commented on GitHub (May 15, 2019):

刚才调试了一下源代码,发现
func (msgCtl *MsgCtl) readMsg(c io.Reader) (typeByte byte, buffer []byte, err error)
_, err = c.Read(buffer)

这里读取到一直是EOF,

在实在找不到原因的情况下,重启计算机,问题解决了……解决了……

<!-- gh-comment-id:492491310 --> @argentmoon commented on GitHub (May 15, 2019): 刚才调试了一下源代码,发现 func (msgCtl *MsgCtl) readMsg(c io.Reader) (typeByte byte, buffer []byte, err error) _, err = c.Read(buffer) 这里读取到一直是EOF, 在实在找不到原因的情况下,重启计算机,问题解决了……解决了……
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#987
No description provided.