fatedier / frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
Apache License 2.0
85.59k stars 13.26k forks source link

0.58.0+版本每几秒会断开一次链接 #4351

Closed Jenking-Zhang closed 2 months ago

Jenking-Zhang commented 2 months ago

Bug Description

参照了几个issue中的回答,frpc 增加 transport.tcpMuxKeepaliveInterval = 30 的配置。 frpc 增加 transport.heartbeatInterval = 30 的配置。也看到日志发送接收心跳数据包成功,但是还是断开连接

frpc Version

0.59.0

frps Version

0.59.0

System Architecture

debian 12.6

Configurations

### frps `bindAddr = "0.0.0.0" bindPort = 5443 kcpBindPort = 5443 quicBindPort = 443

transport.heartbeatTimeout = 90 transport.maxPoolCount = 50 transport.tcpMux = true

transport.tcpMuxKeepaliveInterval = 30 transport.tcpKeepalive = 7200

vhostHTTPPort = 80 vhostHTTPSPort = 443

webServer.addr = "0.0.0.0" webServer.port = 6443 webServer.user = "admin" webServer.password = "password"

log.level = "debug" log.maxDays = 3

auth.method = "token" auth.token = "12345678"

subDomainHost = "1.1.1.1"

` ### frpc

`user = "Server-CQ" serverAddr = "1.1.1.1" serverPort = 5443

log.to = "./frpc.log" log.level = "debug" log.maxDays = 3 log.disablePrintColor = false

auth.method = "token" auth.token = "12345678"

transport.tcpMux = true transport.heartbeatInterval = 30

[[proxies]] name = "USB" type = "tcp" localIP = "127.0.0.1" localPort = 31000 remotePort = 31000 ` 都是toml,只保留启用项。IP、密码部分已处理。

Logs

### frps log 2024-07-25 19:34:23.746 [I] [frps/root.go:105] frps uses config file: /usr/local/frps/frps.toml 2024-07-25 19:34:23.819 [I] [server/service.go:237] frps tcp listen on 0.0.0.0:5443 2024-07-25 19:34:23.819 [I] [server/service.go:246] frps kcp listen on udp 0.0.0.0:5443 2024-07-25 19:34:23.820 [I] [server/service.go:261] frps quic listen on 0.0.0.0:443 2024-07-25 19:34:23.820 [I] [server/service.go:305] http service listen on 0.0.0.0:80 2024-07-25 19:34:23.820 [I] [server/service.go:319] https service listen on 0.0.0.0:443 2024-07-25 19:34:23.820 [I] [frps/root.go:114] frps started successfully 2024-07-25 19:34:23.820 [I] [server/service.go:351] dashboard listen on 0.0.0.0:6443 2024-07-25 19:34:24.080 [I] [server/service.go:576] [ad30ccee0404648c] client login info: ip [113.249.2.31:50701] version [0.59.0] hostname [] os [windows] arch [amd64] 2024-07-25 19:34:24.103 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:34:24.103 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:34:24.103 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:34:24.103 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:34:24.103 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:34:24.103 [I] [proxy/tcp.go:82] [ad30ccee0404648c] [Server-CQ.USB] tcp proxy listen port [33002] 2024-07-25 19:34:24.103 [I] [server/control.go:399] [ad30ccee0404648c] new proxy [Server-CQ.USB] type [tcp] success 2024-07-25 19:34:28.884 [I] [proxy/proxy.go:204] [ad30ccee0404648c] [Server-CQ.USB] get a user connection [171.221.148.121:21888] 2024-07-25 19:34:28.884 [D] [server/control.go:272] [ad30ccee0404648c] get work connection from pool 2024-07-25 19:34:28.884 [D] [proxy/proxy.go:131] [ad30ccee0404648c] [Server-CQ.USB] get a new work connection: [113.249.2.31:50701] 2024-07-25 19:34:28.884 [D] [proxy/proxy.go:261] [ad30ccee0404648c] [Server-CQ.USB] join connections, workConn(l[172.24.236.177:5443] r[113.249.2.31:50701]) userConn(l[172.24.236.177:33002] r[171.221.148.121:21888]) 2024-07-25 19:34:28.895 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:34:28.966 [I] [proxy/proxy.go:204] [ad30ccee0404648c] [Server-CQ.USB] get a user connection [112.112.17.38:57679] 2024-07-25 19:34:28.966 [D] [server/control.go:272] [ad30ccee0404648c] get work connection from pool 2024-07-25 19:34:28.966 [D] [proxy/proxy.go:131] [ad30ccee0404648c] [Server-CQ.USB] get a new work connection: [113.249.2.31:50701] 2024-07-25 19:34:28.966 [D] [proxy/proxy.go:261] [ad30ccee0404648c] [Server-CQ.USB] join connections, workConn(l[172.24.236.177:5443] r[113.249.2.31:50701]) userConn(l[172.24.236.177:33002] r[112.112.17.38:57679]) 2024-07-25 19:34:28.972 [I] [proxy/proxy.go:204] [ad30ccee0404648c] [Server-CQ.USB] get a user connection [113.249.2.31:55479] 2024-07-25 19:34:28.972 [D] [server/control.go:272] [ad30ccee0404648c] get work connection from pool 2024-07-25 19:34:28.972 [D] [proxy/proxy.go:131] [ad30ccee0404648c] [Server-CQ.USB] get a new work connection: [113.249.2.31:50701] 2024-07-25 19:34:28.972 [D] [proxy/proxy.go:261] [ad30ccee0404648c] [Server-CQ.USB] join connections, workConn(l[172.24.236.177:5443] r[113.249.2.31:50701]) userConn(l[172.24.236.177:33002] r[113.249.2.31:55479]) 2024-07-25 19:34:28.978 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:34:28.983 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:34:29.012 [I] [proxy/proxy.go:204] [ad30ccee0404648c] [Server-CQ.USB] get a user connection [112.112.17.38:55764] 2024-07-25 19:34:29.012 [D] [server/control.go:272] [ad30ccee0404648c] get work connection from pool 2024-07-25 19:34:29.012 [D] [proxy/proxy.go:131] [ad30ccee0404648c] [Server-CQ.USB] get a new work connection: [113.249.2.31:50701] 2024-07-25 19:34:29.012 [D] [proxy/proxy.go:261] [ad30ccee0404648c] [Server-CQ.USB] join connections, workConn(l[172.24.236.177:5443] r[113.249.2.31:50701]) userConn(l[172.24.236.177:33002] r[112.112.17.38:55764]) 2024-07-25 19:34:29.024 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:34:29.034 [I] [proxy/proxy.go:204] [ad30ccee0404648c] [Server-CQ.USB] get a user connection [112.112.17.38:54257] 2024-07-25 19:34:29.034 [D] [server/control.go:272] [ad30ccee0404648c] get work connection from pool 2024-07-25 19:34:29.034 [D] [proxy/proxy.go:131] [ad30ccee0404648c] [Server-CQ.USB] get a new work connection: [113.249.2.31:50701] 2024-07-25 19:34:29.034 [D] [proxy/proxy.go:261] [ad30ccee0404648c] [Server-CQ.USB] join connections, workConn(l[172.24.236.177:5443] r[113.249.2.31:50701]) userConn(l[172.24.236.177:33002] r[112.112.17.38:54257]) 2024-07-25 19:34:29.046 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:34:29.078 [I] [proxy/proxy.go:204] [ad30ccee0404648c] [Server-CQ.USB] get a user connection [112.112.17.38:6887] 2024-07-25 19:34:29.078 [D] [server/control.go:272] [ad30ccee0404648c] get work connection from pool 2024-07-25 19:34:29.078 [D] [proxy/proxy.go:131] [ad30ccee0404648c] [Server-CQ.USB] get a new work connection: [113.249.2.31:50701] 2024-07-25 19:34:29.078 [D] [proxy/proxy.go:261] [ad30ccee0404648c] [Server-CQ.USB] join connections, workConn(l[172.24.236.177:5443] r[113.249.2.31:50701]) userConn(l[172.24.236.177:33002] r[112.112.17.38:6887]) 2024-07-25 19:34:29.090 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:34:29.092 [I] [proxy/proxy.go:204] [ad30ccee0404648c] [Server-CQ.USB] get a user connection [112.112.17.38:64149] 2024-07-25 19:34:29.092 [D] [server/control.go:272] [ad30ccee0404648c] get work connection from pool 2024-07-25 19:34:29.092 [D] [proxy/proxy.go:131] [ad30ccee0404648c] [Server-CQ.USB] get a new work connection: [113.249.2.31:50701] 2024-07-25 19:34:29.092 [D] [proxy/proxy.go:261] [ad30ccee0404648c] [Server-CQ.USB] join connections, workConn(l[172.24.236.177:5443] r[113.249.2.31:50701]) userConn(l[172.24.236.177:33002] r[112.112.17.38:64149]) 2024-07-25 19:34:29.103 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:34:44.087 [D] [proxy/proxy.go:271] [ad30ccee0404648c] [Server-CQ.USB] join connections closed 2024-07-25 19:34:44.118 [D] [proxy/proxy.go:271] [ad30ccee0404648c] [Server-CQ.USB] join connections closed 2024-07-25 19:34:44.130 [I] [proxy/proxy.go:204] [ad30ccee0404648c] [Server-CQ.USB] get a user connection [112.112.17.38:55801] 2024-07-25 19:34:44.130 [D] [server/control.go:272] [ad30ccee0404648c] get work connection from pool 2024-07-25 19:34:44.130 [D] [proxy/proxy.go:131] [ad30ccee0404648c] [Server-CQ.USB] get a new work connection: [113.249.2.31:50701] 2024-07-25 19:34:44.130 [D] [proxy/proxy.go:261] [ad30ccee0404648c] [Server-CQ.USB] join connections, workConn(l[172.24.236.177:5443] r[113.249.2.31:50701]) userConn(l[172.24.236.177:33002] r[112.112.17.38:55801]) 2024-07-25 19:34:44.141 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:34:44.151 [I] [proxy/proxy.go:204] [ad30ccee0404648c] [Server-CQ.USB] get a user connection [112.112.17.38:54307] 2024-07-25 19:34:44.151 [D] [server/control.go:272] [ad30ccee0404648c] get work connection from pool 2024-07-25 19:34:44.151 [D] [proxy/proxy.go:131] [ad30ccee0404648c] [Server-CQ.USB] get a new work connection: [113.249.2.31:50701] 2024-07-25 19:34:44.151 [D] [proxy/proxy.go:261] [ad30ccee0404648c] [Server-CQ.USB] join connections, workConn(l[172.24.236.177:5443] r[113.249.2.31:50701]) userConn(l[172.24.236.177:33002] r[112.112.17.38:54307]) 2024-07-25 19:34:44.162 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:34:44.164 [D] [proxy/proxy.go:271] [ad30ccee0404648c] [Server-CQ.USB] join connections closed 2024-07-25 19:34:44.198 [I] [proxy/proxy.go:204] [ad30ccee0404648c] [Server-CQ.USB] get a user connection [112.112.17.38:6928] 2024-07-25 19:34:44.198 [D] [server/control.go:272] [ad30ccee0404648c] get work connection from pool 2024-07-25 19:34:44.198 [D] [proxy/proxy.go:131] [ad30ccee0404648c] [Server-CQ.USB] get a new work connection: [113.249.2.31:50701] 2024-07-25 19:34:44.198 [D] [proxy/proxy.go:261] [ad30ccee0404648c] [Server-CQ.USB] join connections, workConn(l[172.24.236.177:5443] r[113.249.2.31:50701]) userConn(l[172.24.236.177:33002] r[112.112.17.38:6928]) 2024-07-25 19:34:44.209 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:34:46.884 [D] [proxy/proxy.go:271] [ad30ccee0404648c] [Server-CQ.USB] join connections closed 2024-07-25 19:34:59.074 [I] [proxy/proxy.go:204] [ad30ccee0404648c] [Server-CQ.USB] get a user connection [112.112.17.38:57709] 2024-07-25 19:34:59.074 [D] [server/control.go:272] [ad30ccee0404648c] get work connection from pool 2024-07-25 19:34:59.074 [D] [proxy/proxy.go:131] [ad30ccee0404648c] [Server-CQ.USB] get a new work connection: [113.249.2.31:50701] 2024-07-25 19:34:59.074 [D] [proxy/proxy.go:261] [ad30ccee0404648c] [Server-CQ.USB] join connections, workConn(l[172.24.236.177:5443] r[113.249.2.31:50701]) userConn(l[172.24.236.177:33002] r[112.112.17.38:57709]) 2024-07-25 19:34:59.077 [D] [server/service.go:525] Accept new mux stream error: read tcp 172.24.236.177:5443->113.249.2.31:50701: read: connection reset by peer **2024-07-25 19:34:59.077 [I] [proxy/proxy.go:115] [ad30ccee0404648c] [Server-CQ.USB] proxy closing 2024-07-25 19:34:59.077 [W] [proxy/proxy.go:201] [ad30ccee0404648c] [Server-CQ.USB] listener is closed: accept tcp [::]:33002: use of closed network connection 2024-07-25 19:34:59.077 [D] [proxy/proxy.go:271] [ad30ccee0404648c] [Server-CQ.USB] join connections closed 2024-07-25 19:34:59.078 [D] [proxy/proxy.go:271] [ad30ccee0404648c] [Server-CQ.USB] join connections closed 2024-07-25 19:34:59.078 [I] [server/control.go:357] [ad30ccee0404648c] client exit success 2024-07-25 19:34:59.078 [D] [proxy/proxy.go:271] [ad30ccee0404648c] [Server-CQ.USB] join connections closed 2024-07-25 19:34:59.078 [D] [proxy/proxy.go:271] [ad30ccee0404648c] [Server-CQ.USB] join connections closed 2024-07-25 19:34:59.078 [D] [proxy/proxy.go:271] [ad30ccee0404648c] [Server-CQ.USB] join connections closed 2024-07-25 19:34:59.078 [D] [proxy/proxy.go:271] [ad30ccee0404648c] [Server-CQ.USB] join connections closed 2024-07-25 19:34:59.078 [D] [proxy/proxy.go:271] [ad30ccee0404648c] [Server-CQ.USB] join connections closed** 2024-07-25 19:35:01.915 [I] [server/service.go:576] [ad30ccee0404648c] client login info: ip [113.249.2.31:50718] version [0.59.0] hostname [] os [windows] arch [amd64] 2024-07-25 19:35:01.926 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:35:01.927 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:35:01.927 [I] [proxy/tcp.go:82] [ad30ccee0404648c] [Server-CQ.USB] tcp proxy listen port [33002] 2024-07-25 19:35:01.927 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:35:01.927 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:35:01.927 [I] [server/control.go:399] [ad30ccee0404648c] new proxy [Server-CQ.USB] type [tcp] success 2024-07-25 19:35:01.927 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:35:06.149 [I] [proxy/proxy.go:204] [ad30ccee0404648c] [Server-CQ.USB] get a user connection [171.221.148.121:23808] 2024-07-25 19:35:06.149 [D] [server/control.go:272] [ad30ccee0404648c] get work connection from pool 2024-07-25 19:35:06.149 [D] [proxy/proxy.go:131] [ad30ccee0404648c] [Server-CQ.USB] get a new work connection: [113.249.2.31:50718] 2024-07-25 19:35:06.149 [D] [proxy/proxy.go:261] [ad30ccee0404648c] [Server-CQ.USB] join connections, workConn(l[172.24.236.177:5443] r[113.249.2.31:50718]) userConn(l[172.24.236.177:33002] r[171.221.148.121:23808]) 2024-07-25 19:35:06.160 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:35:06.194 [I] [proxy/proxy.go:204] [ad30ccee0404648c] [Server-CQ.USB] get a user connection [113.249.2.31:55522] 2024-07-25 19:35:06.194 [D] [server/control.go:272] [ad30ccee0404648c] get work connection from pool 2024-07-25 19:35:06.194 [D] [proxy/proxy.go:131] [ad30ccee0404648c] [Server-CQ.USB] get a new work connection: [113.249.2.31:50718] 2024-07-25 19:35:06.194 [D] [proxy/proxy.go:261] [ad30ccee0404648c] [Server-CQ.USB] join connections, workConn(l[172.24.236.177:5443] r[113.249.2.31:50718]) userConn(l[172.24.236.177:33002] r[113.249.2.31:55522]) 2024-07-25 19:35:06.206 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:35:06.206 [I] [proxy/proxy.go:204] [ad30ccee0404648c] [Server-CQ.USB] get a user connection [112.112.17.38:55821] 2024-07-25 19:35:06.206 [D] [server/control.go:272] [ad30ccee0404648c] get work connection from pool 2024-07-25 19:35:06.206 [D] [proxy/proxy.go:131] [ad30ccee0404648c] [Server-CQ.USB] get a new work connection: [113.249.2.31:50718] 2024-07-25 19:35:06.206 [D] [proxy/proxy.go:261] [ad30ccee0404648c] [Server-CQ.USB] join connections, workConn(l[172.24.236.177:5443] r[113.249.2.31:50718]) userConn(l[172.24.236.177:33002] r[112.112.17.38:55821]) 2024-07-25 19:35:06.217 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:35:06.221 [I] [proxy/proxy.go:204] [ad30ccee0404648c] [Server-CQ.USB] get a user connection [112.112.17.38:54328] 2024-07-25 19:35:06.221 [D] [server/control.go:272] [ad30ccee0404648c] get work connection from pool 2024-07-25 19:35:06.221 [D] [proxy/proxy.go:131] [ad30ccee0404648c] [Server-CQ.USB] get a new work connection: [113.249.2.31:50718] 2024-07-25 19:35:06.221 [D] [proxy/proxy.go:261] [ad30ccee0404648c] [Server-CQ.USB] join connections, workConn(l[172.24.236.177:5443] r[113.249.2.31:50718]) userConn(l[172.24.236.177:33002] r[112.112.17.38:54328]) 2024-07-25 19:35:06.232 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:35:06.240 [I] [proxy/proxy.go:204] [ad30ccee0404648c] [Server-CQ.USB] get a user connection [112.112.17.38:6945] 2024-07-25 19:35:06.240 [D] [server/control.go:272] [ad30ccee0404648c] get work connection from pool 2024-07-25 19:35:06.240 [D] [proxy/proxy.go:131] [ad30ccee0404648c] [Server-CQ.USB] get a new work connection: [113.249.2.31:50718] 2024-07-25 19:35:06.240 [D] [proxy/proxy.go:261] [ad30ccee0404648c] [Server-CQ.USB] join connections, workConn(l[172.24.236.177:5443] r[113.249.2.31:50718]) userConn(l[172.24.236.177:33002] r[112.112.17.38:6945]) 2024-07-25 19:35:06.251 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:35:06.350 [I] [proxy/proxy.go:204] [ad30ccee0404648c] [Server-CQ.USB] get a user connection [112.112.17.38:64201] 2024-07-25 19:35:06.350 [D] [server/control.go:272] [ad30ccee0404648c] get work connection from pool 2024-07-25 19:35:06.350 [D] [proxy/proxy.go:131] [ad30ccee0404648c] [Server-CQ.USB] get a new work connection: [113.249.2.31:50718] 2024-07-25 19:35:06.350 [D] [proxy/proxy.go:261] [ad30ccee0404648c] [Server-CQ.USB] join connections, workConn(l[172.24.236.177:5443] r[113.249.2.31:50718]) userConn(l[172.24.236.177:33002] r[112.112.17.38:64201]) 2024-07-25 19:35:06.362 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered 2024-07-25 19:35:09.111 [I] [proxy/proxy.go:204] [ad30ccee0404648c] [Server-CQ.USB] get a user connection [112.112.17.38:57715] 2024-07-25 19:35:09.111 [D] [server/control.go:272] [ad30ccee0404648c] get work connection from pool 2024-07-25 19:35:09.111 [D] [proxy/proxy.go:131] [ad30ccee0404648c] [Server-CQ.USB] get a new work connection: [113.249.2.31:50718] 2024-07-25 19:35:09.111 [D] [proxy/proxy.go:261] [ad30ccee0404648c] [Server-CQ.USB] join connections, workConn(l[172.24.236.177:5443] r[113.249.2.31:50718]) userConn(l[172.24.236.177:33002] r[112.112.17.38:57715]) 2024-07-25 19:35:09.122 [D] [server/control.go:243] [ad30ccee0404648c] new work connection registered ### fprc log 2024-07-25 19:16:21.414 [I] [sub/root.go:142] start frpc service for config file [USB-CQ.toml] 2024-07-25 19:16:21.422 [I] [client/service.go:294] try to connect to server... 2024-07-25 19:16:21.462 [I] [client/service.go:286] [224bda34673767b6] login to server success, get run id [224bda34673767b6] 2024-07-25 19:16:21.462 [I] [proxy/proxy_manager.go:173] [224bda34673767b6] proxy added: [Server-CQ.USB] 2024-07-25 19:16:21.462 [D] [client/control.go:240] [224bda34673767b6] send heartbeat to server 2024-07-25 19:16:21.474 [I] [client/control.go:168] [224bda34673767b6] [Server-CQ.USB] start proxy success 2024-07-25 19:16:21.474 [D] [client/control.go:193] [224bda34673767b6] receive heartbeat from server 2024-07-25 19:16:23.755 [D] [proxy/proxy_wrapper.go:260] [224bda34673767b6] [Server-CQ.USB] start a new work connection, localAddr: 192.10.190.59:50585 remoteAddr: 1.1.1.1:5443 2024-07-25 19:16:23.756 [D] [proxy/proxy.go:210] [224bda34673767b6] [Server-CQ.USB] join connections, localConn(l[127.0.0.1:50586] r[127.0.0.1:33002]) workConn(l[192.10.190.59:50585] r[1.1.1.1:5443]) 2024-07-25 19:16:23.795 [D] [proxy/proxy_wrapper.go:260] [224bda34673767b6] [Server-CQ.USB] start a new work connection, localAddr: 192.10.190.59:50585 remoteAddr: 1.1.1.1:5443 2024-07-25 19:16:23.795 [D] [proxy/proxy.go:210] [224bda34673767b6] [Server-CQ.USB] join connections, localConn(l[127.0.0.1:50587] r[127.0.0.1:33002]) workConn(l[192.10.190.59:50585] r[1.1.1.1:5443]) 2024-07-25 19:16:23.807 [D] [proxy/proxy_wrapper.go:260] [224bda34673767b6] [Server-CQ.USB] start a new work connection, localAddr: 192.10.190.59:50585 remoteAddr: 1.1.1.1:5443 2024-07-25 19:16:23.807 [D] [proxy/proxy.go:210] [224bda34673767b6] [Server-CQ.USB] join connections, localConn(l[127.0.0.1:50588] r[127.0.0.1:33002]) workConn(l[192.10.190.59:50585] r[1.1.1.1:5443]) 2024-07-25 19:16:23.819 [D] [proxy/proxy_wrapper.go:260] [224bda34673767b6] [Server-CQ.USB] start a new work connection, localAddr: 192.10.190.59:50585 remoteAddr: 1.1.1.1:5443 2024-07-25 19:16:23.820 [D] [proxy/proxy.go:210] [224bda34673767b6] [Server-CQ.USB] join connections, localConn(l[127.0.0.1:50589] r[127.0.0.1:33002]) workConn(l[192.10.190.59:50585] r[1.1.1.1:5443]) 2024-07-25 19:16:23.832 [D] [proxy/proxy_wrapper.go:260] [224bda34673767b6] [Server-CQ.USB] start a new work connection, localAddr: 192.10.190.59:50585 remoteAddr: 1.1.1.1:5443 2024-07-25 19:16:23.832 [D] [proxy/proxy.go:210] [224bda34673767b6] [Server-CQ.USB] join connections, localConn(l[127.0.0.1:50590] r[127.0.0.1:33002]) workConn(l[192.10.190.59:50585] r[1.1.1.1:5443]) 2024-07-25 19:16:23.839 [D] [proxy/proxy_wrapper.go:260] [224bda34673767b6] [Server-CQ.USB] start a new work connection, localAddr: 192.10.190.59:50585 remoteAddr: 1.1.1.1:5443 2024-07-25 19:16:23.839 [D] [proxy/proxy.go:210] [224bda34673767b6] [Server-CQ.USB] join connections, localConn(l[127.0.0.1:50591] r[127.0.0.1:33002]) workConn(l[192.10.190.59:50585] r[1.1.1.1:5443]) 2024-07-25 19:16:23.866 [D] [proxy/proxy_wrapper.go:260] [224bda34673767b6] [Server-CQ.USB] start a new work connection, localAddr: 192.10.190.59:50585 remoteAddr: 1.1.1.1:5443 2024-07-25 19:16:23.866 [D] [proxy/proxy.go:210] [224bda34673767b6] [Server-CQ.USB] join connections, localConn(l[127.0.0.1:50592] r[127.0.0.1:33002]) workConn(l[192.10.190.59:50585] r[1.1.1.1:5443]) 2024-07-25 19:16:23.870 [D] [proxy/proxy_wrapper.go:260] [224bda34673767b6] [Server-CQ.USB] start a new work connection, localAddr: 192.10.190.59:50585 remoteAddr: 1.1.1.1:5443 2024-07-25 19:16:23.870 [D] [proxy/proxy.go:210] [224bda34673767b6] [Server-CQ.USB] join connections, localConn(l[127.0.0.1:50593] r[127.0.0.1:33002]) workConn(l[192.10.190.59:50585] r[1.1.1.1:5443]) **2024-07-25 19:16:51.475 [D] [client/control.go:240] [224bda34673767b6] send heartbeat to server 2024-07-25 19:16:51.488 [D] [client/control.go:193] [224bda34673767b6] receive heartbeat from server 2024-07-25 19:17:10.599 [D] [proxy/proxy.go:222] [224bda34673767b6] [Server-CQ.USB] join connections closed** 2024-07-25 19:17:10.633 [D] [proxy/proxy_wrapper.go:260] [224bda34673767b6] [Server-CQ.USB] start a new work connection, localAddr: 192.10.190.59:50585 remoteAddr: 1.1.1.1:5443 2024-07-25 19:17:10.633 [D] [proxy/proxy.go:210] [224bda34673767b6] [Server-CQ.USB] join connections, localConn(l[127.0.0.1:50594] r[127.0.0.1:33002]) workConn(l[192.10.190.59:50585] r[1.1.1.1:5443])

Steps to reproduce

  1. ...

Affected area

Jenking-Zhang commented 2 months ago

相同配置,用0.57不会,暂时已回退版本。

fatedier commented 2 months ago

如果已经有相关 issue,不要重复提问。

Jenking-Zhang commented 2 months ago

如果已经有相关 issue,不要重复提问。

主要是参照了,还是没解决。还是会断连

fatedier commented 2 months ago

类似的问题太多了,每个人的环境都不一样。请尽量参考历史 issue 的各种方法测试验证,以及尽量优先自己调试排查,如果没有更多的信息,也可以在历史 issue 里 comment,不要重新创建。

否则这样的 issue 太多了,基本上是无效的,解决不了任何问题。我也不可能一对一教你怎么搜集信息,怎么改配置怎么测试。