rustdesk / rustdesk-server

RustDesk Server Program
https://rustdesk.com/server
GNU Affero General Public License v3.0
6.49k stars 1.36k forks source link

[src/common.rs:170] signal hangup #306

Closed zjz894251se closed 8 months ago

zjz894251se commented 1 year ago

linux里面运行

nohup ./hbbr &
nohup ./hbbs &

开着命令行窗口没问题,关掉就退出了,然后输出 INFO [src/common.rs:170] signal hangup 这个不能用nohup守护运行吗?

xiaofei12306 commented 11 months ago

同样有这个问题

xiaofei12306 commented 11 months ago

After executing the command 'nohup ./hbbr > hbbr.log 2>&1 &', the program will encounter a 'signal hangup' after running for a certain period of time.

xiaofei12306 commented 11 months ago

nohup: 忽略输入 [2023-10-12 18:26:34.164931 +08:00] INFO [src/relay_server.rs:60] #blacklist(blacklist.txt): 0 [2023-10-12 18:26:34.164953 +08:00] INFO [src/relay_server.rs:75] #blocklist(blocklist.txt): 0 [2023-10-12 18:26:34.164956 +08:00] INFO [src/relay_server.rs:81] Listening on tcp :21117 [2023-10-12 18:26:34.164958 +08:00] INFO [src/relay_server.rs:83] Listening on websocket :21119 [2023-10-12 18:26:34.164965 +08:00] INFO [src/relay_server.rs:86] Start [2023-10-12 18:26:34.165009 +08:00] INFO [src/relay_server.rs:106] DOWNGRADE_THRESHOLD: 0.66 [2023-10-12 18:26:34.165019 +08:00] INFO [src/relay_server.rs:115] DOWNGRADE_START_CHECK: 1800s [2023-10-12 18:26:34.165022 +08:00] INFO [src/relay_server.rs:124] LIMIT_SPEED: 4Mb/s [2023-10-12 18:26:34.165025 +08:00] INFO [src/relay_server.rs:134] TOTAL_BANDWIDTH: 1024Mb/s [2023-10-12 18:26:34.165028 +08:00] INFO [src/relay_server.rs:148] SINGLE_BANDWIDTH: 16Mb/s

[2023-10-12 18:28:23.368123 +08:00] INFO [src/relay_server.rs:436] Relayrequest 6de03f10-0619-4090-8c22-441157a399fd from [::ffff:14.150.143.48]:13173 got paired [2023-10-12 18:28:23.368155 +08:00] INFO [src/relay_server.rs:442] Both are raw [2023-10-12 18:44:47.493881 +08:00] INFO [src/relay_server.rs:446] Relay of [::ffff:14.150.143.48]:13173 closed: Operation timed out (os error 110) [2023-10-13 02:16:00.521879 +08:00] INFO [src/common.rs:170] signal hangup

yeswecan commented 11 months ago

Any progress on this? Would be curious if you managed to fix this @xiaofei12306 @zjz894251se ? Thanks!

iamckun commented 1 week ago

use old client by 1.1.8, i use new verson and old version has Identical log,old successful connection