frp icon indicating copy to clipboard operation
frp copied to clipboard

XTCP fails on windows

Open Jerry12228 opened this issue 8 months ago • 4 comments

Bug Description

日志如下(最先是使用quic协议失败, 以下是更改kcp后依然失败)

2024-05-27 10:40:12.583 [I] [sub/root.go:142] start frpc service for config file [.\frpc.json]
2024-05-27 10:40:12.603 [I] [client/service.go:294] try to connect to server...
2024-05-27 10:40:13.362 [I] [client/service.go:286] [06484294096b4d28] login to server success, get run id [06484294096b4d28]
2024-05-27 10:40:13.374 [I] [visitor/visitor_manager.go:121] [06484294096b4d28] start visitor success
2024-05-27 10:40:13.374 [I] [visitor/visitor_manager.go:172] [06484294096b4d28] visitor added: [RDP1S-p2p]
2024-05-27 10:40:14.338 [I] [visitor/xtcp.go:283] [06484294096b4d28] [RDP1S-p2p] nathole prepare success, nat type: EasyNAT, behavior: BehaviorNoChange, addresses: [202.201.94.50:65270 202.201.94.50:65270], assistedAddresses: [192.168.137.1:65270 10.20.3.70:65270]
2024-05-27 10:40:16.446 [I] [visitor/xtcp.go:309] [06484294096b4d28] [RDP1S-p2p] get natHoleRespMsg, sid [1716777614a681494b5c7abe58], protocol [kcp], candidate address [116.176.114.25:5716], assisted address [192.168.31.204:33902 172.17.0.1:33902 172.19.0.1:33902 192.168.49.1:33902 172.18.0.1:33902], detectBehavior: {Role:sender Mode:0 TTL:0 SendDelayMs:0 ReadTimeoutMs:5000 CandidatePorts:[] SendRandomPorts:0 ListenRandomPorts:0}
2024-05-27 10:40:16.484 [W] [visitor/xtcp.go:316] [06484294096b4d28] [RDP1S-p2p] make hole error: wait detect message error: read udp4 0.0.0.0:65270: wsarecvfrom: The connection has been broken due to keep-alive activity detecting a failure while the operation was in progress.

frpc Version

0.58.0

frps Version

0.58.0

System Architecture

[visitor]windows/amd64, [client]linux/arm64, [server]linux/amd64

Configurations

{
    "serverAddr": "",
    "serverPort": 7000,
    "loginFailExit": false,
    "natHoleStunServer": "stun.easyvoip.com:3478",
    "auth": {
        "method": "token",
        "token": ""
    },

    "log": {
         "to": "log.log"
    },

    "visitors": [
        {
            "name": "RDP1S-p2p",
            "type": "xtcp",
            "serverName": "RDP1S-p2p",
            "secretKey": "",
            "bindADdr": "localhost",
            "bindPort": 13389,

            "keepTunnelOpen": true,
            "protocol": "kcp"
        }
    ]
}

Logs

日志如上文提及

Steps to reproduce

No response

Affected area

  • [ ] Docs
  • [ ] Installation
  • [X] Performance and Scalability
  • [ ] Security
  • [X] User Experience
  • [ ] Test and Release
  • [ ] Developer Infrastructure
  • [ ] Client Plugin
  • [ ] Server Plugin
  • [ ] Extensions
  • [ ] Others

Jerry12228 avatar May 27 '24 16:05 Jerry12228