[GH-ISSUE #3808] connection write timeout #3030

Closed
opened 2026-05-05 13:57:35 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @sablea on GitHub (Nov 28, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3808

Bug Description

I have a server and a client.Both of them are ubuntu os.
When I run ./frpc -c ./frpc.ini, there is a connection write timeout error.
I am certain that this error is not caused by firewall or port settings, as it worked well before today. And I always can use the ping command to connect to the server IP.

frpc Version

0.48.0

frps Version

0.48.0

System Architecture

ubuntu2004/amd64

Configurations

file frps.ini as follows:
[common] bind_port = 7000

file frpc.ini as follows:

`[common]
server_addr = x.x.x.x
server_port = 7000

tls_enable = true

[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6000`

Logs

The server's logs as follows:
when run ./frps -c ./frps.ini
2023/11/28 17:09:22 [I] [root.go:206] frps uses config file: ./frps.ini
2023/11/28 17:09:22 [I] [service.go:200] frps tcp listen on 0.0.0.0:7000
2023/11/28 17:09:22 [I] [root.go:215] frps started successfully

The client's logs as follows:
when run ./frpc -c ./frpc.ini:
2023/11/28 17:11:04 [W] [service.go:134] login to server failed: connection write timeout
connection write timeout

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @sablea on GitHub (Nov 28, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3808 ### Bug Description I have a server and a client.Both of them are ubuntu os. When I run `./frpc -c ./frpc.ini`, there is a connection write timeout error. I am certain that this error is not caused by firewall or port settings, as it worked well before today. And I always can use the ping command to connect to the server IP. ### frpc Version 0.48.0 ### frps Version 0.48.0 ### System Architecture ubuntu2004/amd64 ### Configurations file frps.ini as follows: `[common] bind_port = 7000` file frpc.ini as follows: `[common] server_addr = x.x.x.x server_port = 7000 tls_enable = true [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 6000` ### Logs The server's logs as follows: when run `./frps -c ./frps.ini `: 2023/11/28 17:09:22 [I] [root.go:206] frps uses config file: ./frps.ini 2023/11/28 17:09:22 [I] [service.go:200] frps tcp listen on 0.0.0.0:7000 2023/11/28 17:09:22 [I] [root.go:215] frps started successfully The client's logs as follows: when run `./frpc -c ./frpc.ini`: 2023/11/28 17:11:04 [W] [service.go:134] login to server failed: connection write timeout connection write timeout ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [X] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@sablea commented on GitHub (Dec 4, 2023):

Sovled the problem by updated FRP version to 0.52.

<!-- gh-comment-id:1838186614 --> @sablea commented on GitHub (Dec 4, 2023): Sovled the problem by updated FRP version to 0.52.
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#3030
No description provided.