[GH-ISSUE #2741] frpc: login to server failed: i/o deadline reached #2192

Closed
opened 2026-05-05 13:24:35 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @duzhor on GitHub (Jan 8, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2741

Bug Description

frpc启动后几秒即退出,日志报[W]...i/o deadline reached
frps无对应连接的日志

frpc Version

0.38.0

frps Version

0.38.0

System Architecture

windows/amd64

Configurations

frpc.ini

[common]
server_addr = example.com
server_port = 7000

Logs

2022/01/09 02:17:31 [W] [service.go:104] login to server failed: i/o deadline reached

Steps to reproduce

  1. frpc配置server_addr为域名即出现此报错日志

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @duzhor on GitHub (Jan 8, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/2741 ### Bug Description frpc启动后几秒即退出,日志报[W]...i/o deadline reached frps无对应连接的日志 ### frpc Version 0.38.0 ### frps Version 0.38.0 ### System Architecture windows/amd64 ### Configurations # frpc.ini [common] server_addr = example.com server_port = 7000 ### Logs 2022/01/09 02:17:31 [W] [service.go:104] login to server failed: i/o deadline reached ### Steps to reproduce 1. frpc配置server_addr为域名即出现此报错日志 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@ZhiyeTang commented on GitHub (Jan 10, 2022):

I've tried on Ubuntu18.04/Ubuntu18.04 and reproduce exactly the same failure. What could be the reason and how could I solve it?

<!-- gh-comment-id:1009249850 --> @ZhiyeTang commented on GitHub (Jan 10, 2022): I've tried on Ubuntu18.04/Ubuntu18.04 and reproduce exactly the same failure. What could be the reason and how could I solve it?
Author
Owner

@fatedier commented on GitHub (Jan 11, 2022):

It means network error. Makesure your can connect to your server address normally.

<!-- gh-comment-id:1009548769 --> @fatedier commented on GitHub (Jan 11, 2022): It means network error. Makesure your can connect to your server address normally.
Author
Owner

@duzhor commented on GitHub (Jan 11, 2022):

似乎是本地dns解析域名的问题,通过更换dns解决

<!-- gh-comment-id:1009553159 --> @duzhor commented on GitHub (Jan 11, 2022): 似乎是本地dns解析域名的问题,通过更换dns解决
Author
Owner

@ghost commented on GitHub (Mar 18, 2022):

problem was in Windows firewall!

<!-- gh-comment-id:1072472119 --> @ghost commented on GitHub (Mar 18, 2022): problem was in Windows firewall!
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#2192
No description provided.