rustdesk-api
rustdesk-api copied to clipboard
有个bug 尝试提交到官方的时候提交不了
网络情况: 电脑同时有ipv4和ipv6 ipv4可以访问公网 ipv6无法访问公网
启动RustDesk.exe 可以登录账号获取到地址簿 但是 提示 “未就绪,请检查网络链接”
日志:
[2025-09-27 21:41:38.329591 +08:00] INFO [libs\hbb_common\src\config.rs:1458] Preload peers done in 52.3µs, batch_count: 100, total: 0
[2025-09-27 21:41:38.330076 +08:00] INFO [src\server.rs:600] server not started: 系统找不到指定的文件。 (os error 2), no_server: false
[2025-09-27 21:41:38.331189 +08:00] INFO [src\server.rs:605] try start server
[2025-09-27 21:41:38.332937 +08:00] INFO [src\ipc.rs:339] Started ipc server at path: \\.\pipe\RustDesk\query
[2025-09-27 21:41:38.339976 +08:00] INFO [src\common.rs:586] Testing nat ...
[2025-09-27 21:41:38.351997 +08:00] DEBUG [src\common.rs:1898] Found public IPv6 address locally: [2408:820c:680f:eb1:9916:854c:ff1f:79b1]:0
[2025-09-27 21:41:38.418760 +08:00] INFO [src\server.rs:141] printer service initialized
[2025-09-27 21:41:38.419138 +08:00] INFO [src\rendezvous_mediator.rs:400] start rendezvous mediator of rs-ny.rustdesk.com
[2025-09-27 21:41:38.419348 +08:00] INFO [libs\scrap\src\common\codec.rs:1027] cpu num: 16, cpu usage: None, available memory: 18G, codec thread: 1
[2025-09-27 21:41:38.420358 +08:00] INFO [src\rendezvous_mediator.rs:158] start udp: rs-ny.rustdesk.com:21116
[2025-09-27 21:41:38.630804 +08:00] INFO [libs\scrap\src\common\codec.rs:1140] av1 time: key: 31.3431ms, non-key: 14.695577ms, consume: 208.9ms
[2025-09-27 21:41:38.767039 +08:00] DEBUG [libs\hbb_common\src\udp.rs:36] Receive buf size of udp 0.0.0.0:0: Ok(65536)
[2025-09-27 21:41:38.767428 +08:00] INFO [src\rendezvous_mediator.rs:682] register_pk of rs-ny due to key not confirmed
[2025-09-27 21:41:38.767690 +08:00] INFO [libs\hbb_common\src\config.rs:946] Generated new keypair for id:
[2025-09-27 21:41:39.001723 +08:00] DEBUG [src\common.rs:614] Got nat response from rs-ny.rustdesk.com:21116: port=8500
[2025-09-27 21:41:39.096234 +08:00] DEBUG [libs\hbb_common\src\config.rs:799] Update rendezvous_server in config to rs-ny.rustdesk.com:21116
[2025-09-27 21:41:39.096291 +08:00] DEBUG [libs\hbb_common\src\config.rs:800] {"rs-ny.rustdesk.com:21116": 328819}
[2025-09-27 21:41:39.097557 +08:00] DEBUG [src\rendezvous_mediator.rs:204] Latency of rs-ny.rustdesk.com:21116: 328.819ms
[2025-09-27 21:41:39.097598 +08:00] INFO [src\rendezvous_mediator.rs:664] UUID_MISMATCH received from rs-ny.rustdesk.com:21116
[2025-09-27 21:41:39.098821 +08:00] INFO [libs\hbb_common\src\config.rs:1047] id updated from 212477592 to 1565560604
[2025-09-27 21:41:40.312762 +08:00] DEBUG [src\common.rs:907] error sending request for url (https://api.rustdesk.com/version/latest)
Caused by:
0: client error (Connect)
1: 远程主机强迫关闭了一个现有的连接。 (os error 10054), librustdesk::common:src\common.rs:907:36
[2025-09-27 21:41:40.652833 +08:00] DEBUG [src\common.rs:614] Got nat response from rs-ny.rustdesk.com:21115: port=8500
[2025-09-27 21:41:40.654240 +08:00] INFO [src\common.rs:640] Tested nat type: ASYMMETRIC in 2.3141356s
[2025-09-27 21:41:41.007370 +08:00] INFO [libs\scrap\src\common\hwcodec.rs:523] set hwcodec config
[2025-09-27 21:41:41.007397 +08:00] DEBUG [libs\scrap\src\common\hwcodec.rs:524] HwCodecConfig { signature: 27021597767250870, ram_encode: [CodecInfo { name: "h264_nvenc", mc_name: None, format: H264, priority: 0, hwdevice: AV_HWDEVICE_TYPE_NONE }, CodecInfo { name: "hevc_nvenc", mc_name: None, format: H265, priority: 0, hwdevice: AV_HWDEVICE_TYPE_NONE }], ram_decode: [CodecInfo { name: "h264", mc_name: None, format: H264, priority: 0, hwdevice: AV_HWDEVICE_TYPE_D3D11VA }, CodecInfo { name: "hevc", mc_name: None, format: H265, priority: 0, hwdevice: AV_HWDEVICE_TYPE_D3D11VA }, CodecInfo { name: "h264", mc_name: None, format: H264, priority: 3, hwdevice: AV_HWDEVICE_TYPE_NONE }, CodecInfo { name: "hevc", mc_name: None, format: H265, priority: 3, hwdevice: AV_HWDEVICE_TYPE_NONE }], vram_encode: [FeatureContext { driver: FFMPEG, vendor: NV, luid: 48879, data_format: H264 }, FeatureContext { driver: FFMPEG, vendor: NV, luid: 103498, data_format: H264 }, FeatureContext { driver: FFMPEG, vendor: NV, luid: 95316, data_format: H264 }, FeatureContext { driver: FFMPEG, vendor: NV, luid: 48879, data_format: H265 }, FeatureContext { driver: FFMPEG, vendor: NV, luid: 103498, data_format: H265 }, FeatureContext { driver: FFMPEG, vendor: NV, luid: 95316, data_format: H265 }], vram_decode: [DecodeContext { device: None, driver: FFMPEG, vendor: NV, luid: 48879, data_format: H264 }, DecodeContext { device: None, driver: FFMPEG, vendor: NV, luid: 103498, data_format: H264 }, DecodeContext { device: None, driver: FFMPEG, vendor: NV, luid: 95316, data_format: H264 }, DecodeContext { device: None, driver: FFMPEG, vendor: NV, luid: 48879, data_format: H265 }, DecodeContext { device: None, driver: FFMPEG, vendor: NV, luid: 103498, data_format: H265 }, DecodeContext { device: None, driver: FFMPEG, vendor: NV, luid: 95316, data_format: H265 }] }
[2025-09-27 21:41:41.380619 +08:00] INFO [libs\scrap\src\common\hwcodec.rs:742] Check hwcodec config, exit with: exit code: 0
关闭电脑的ipv6后 就正常了
ipv6无法访问公网的原因可能是联通把我封了 一开始可以访问的,忽然访问不了了
我也无法获得RustDesk工作过IPv6。 当尝试连接到自己的设备经由ID,这块立即与信息-被阻止按对等。