Closed pxzhang94 closed 1 year ago
Update your frp, and
I already update my frp to version 0.44.0, and the only information in log file is "2022/09/23 22:32:07 [W] [service.go:128] login to server failed: connection write timeout", and the configuration of frpc.ini is " [common] tls_enable = true server_addr = XXX server_port = 7000 log_file = ./frpc.log [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = XXX"
Update your frp, and
Paste your startup command.
Paste your startup command.
Do you mean this "./frpc -c ./frpc.ini"?
Check if your server port is open and can be connected properly.
Use tcping.
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
Check if your server port is open and can be connected properly.
Use tcping.
Ok so @Becods 's suggestion makes me realize what is the problem here... make sure to go to "Security Group" on the server end and switch your 7000 port protocol type from "customize tcp" to "customize udp". This fix my problem.
Try changing your bind_port in frps.ini and server_port in frpc.ini to another port number, like 6789. Works for me. A rough guess: GFW or your ISP monitored some "unusual" network traffic on this port, and then block or restrict the port.
Try to use kcp protocol
Try to use kcp protocol
correct. I fix the problem by using kcp protocol
Bug Description
[W] [service.go:97] login to server failed: connection write timeout connection write timeout
frpc Version
0.29.1
frps Version
0.29.1
System Architecture
linux/amd64
Configurations
default
Logs
No response
Steps to reproduce
...
Affected area