Won't connect to custom relay server. #2592

Closed
opened 2026-02-21 00:26:03 -05:00 by deekerman · 1 comment
Owner

Originally created by @itzTheMeow on GitHub (Mar 29, 2024).

Bug Description

RustDesk will not connect to my private relay server.
I have the log output:

[2024-03-29 21:55:48.365040 -04:00] INFO [src/core_main.rs:162] main start args:[]
[2024-03-29 21:55:48.366353 -04:00] INFO [src/server.rs:362] DISPLAY=Ok(":0")
[2024-03-29 21:55:48.366410 -04:00] INFO [src/server.rs:363] XAUTHORITY=Ok("/run/user/1000/gdm/Xauthority")
[2024-03-29 21:55:48.366484 -04:00] INFO [src/server.rs:409] server not started (will try to start): Connection refused (os error 111)
[2024-03-29 21:55:48.366799 -04:00] INFO [src/server.rs:362] DISPLAY=Ok(":0")
[2024-03-29 21:55:48.366846 -04:00] INFO [src/server.rs:363] XAUTHORITY=Ok("/run/user/1000/gdm/Xauthority")
[2024-03-29 21:55:48.401307 -04:00] INFO [src/ipc.rs:283] Started ipc server at path: /tmp/RustDesk/ipc
[2024-03-29 21:55:48.402543 -04:00] DEBUG [libs/hbb_common/src/config.rs:475] Configuration path: /home/meow/.config/rustdesk/RustDesk.toml
[2024-03-29 21:55:48.402761 -04:00] DEBUG [src/server.rs:471] #tries of ipc service connection: 3
[2024-03-29 21:55:48.422616 -04:00] INFO [src/rendezvous_mediator.rs:116] start rendezvous mediator of itsmeow.cat:21116
[2024-03-29 21:55:48.422922 -04:00] INFO [src/lan.rs:30] lan discovery listener started
[2024-03-29 21:55:48.423212 -04:00] INFO [src/common.rs:560] Testing nat ...
[2024-03-29 21:55:48.664383 -04:00] DEBUG [libs/hbb_common/src/config.rs:475] Configuration path: /home/meow/.config/rustdesk/RustDesk_local.toml
[2024-03-29 21:55:48.676312 -04:00] INFO [src/ipc.rs:283] Started ipc_pa server at path: /tmp/RustDesk/ipc_pa
[2024-03-29 21:55:48.722515 -04:00] DEBUG [libs/hbb_common/src/config.rs:475] Configuration path: /home/meow/.config/rustdesk/RustDesk_default.toml
[2024-03-29 21:55:49.425186 -04:00] DEBUG [libs/hbb_common/src/udp.rs:35] Receive buf size of udp [::]:0: Ok(212992)
[2024-03-29 21:55:49.426456 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25
[2024-03-29 21:55:49.653898 -04:00] DEBUG [src/common.rs:597] Got nat response from itsmeow.cat:21116: port=40957
[2024-03-29 21:55:49.857383 -04:00] DEBUG [src/common.rs:597] Got nat response from itsmeow.cat:21115: port=40957
[2024-03-29 21:55:49.857492 -04:00] INFO [src/common.rs:623] Tested nat type: ASYMMETRIC in 1.43401906s
[2024-03-29 21:55:49.962585 -04:00] DEBUG [/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustls-0.21.2/src/client/hs.rs:73] No cached session for DnsName("github.com")
[2024-03-29 21:55:49.962924 -04:00] DEBUG [/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustls-0.21.2/src/client/hs.rs:132] Not resuming any session
[2024-03-29 21:55:50.033012 -04:00] DEBUG [/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustls-0.21.2/src/client/hs.rs:615] Using ciphersuite TLS13_AES_128_GCM_SHA256
[2024-03-29 21:55:50.033102 -04:00] DEBUG [/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustls-0.21.2/src/client/tls13.rs:142] Not resuming
[2024-03-29 21:55:50.033294 -04:00] DEBUG [/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustls-0.21.2/src/client/tls13.rs:381] TLS1.3 encrypted extensions: [ServerNameAck, Protocols([ProtocolName(6832)])]
[2024-03-29 21:55:50.033336 -04:00] DEBUG [/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustls-0.21.2/src/client/hs.rs:472] ALPN protocol is Some(b"h2")
[2024-03-29 21:55:50.191862 -04:00] DEBUG [/root/.cargo/git/checkouts/reqwest-84a0398ffb35f677/4cc8345/src/async_impl/client.rs:2231] redirecting 'https://github.com/rustdesk/rustdesk/releases/latest' to 'https://github.com/rustdesk/rustdesk/releases/tag/1.2.3-1'
[2024-03-29 21:55:51.426710 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25
[2024-03-29 21:55:53.426332 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25
[2024-03-29 21:55:54.426388 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25
[2024-03-29 21:55:55.426532 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25
[2024-03-29 21:55:57.426771 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25
[2024-03-29 21:55:58.367875 -04:00] DEBUG [libs/scrap/src/common/hwcodec.rs:383] Os { code: 3, kind: Uncategorized, message: "No such process" }, scrap::common::hwcodec:libs/scrap/src/common/hwcodec.rs:383:21
[2024-03-29 21:55:58.398224 -04:00] ERROR [libs/scrap/src/common/hwcodec.rs:397] Check hwcodec config, error attempting to wait: No child processes (os error 10)
[2024-03-29 21:55:59.426022 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25
[2024-03-29 21:56:00.426768 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25
[2024-03-29 21:56:02.426804 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25
[2024-03-29 21:56:04.426890 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25
[2024-03-29 21:56:06.426467 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25

It appears to be this "no child process" error.

I've restarted my computer and have restarted the rustdesk service multiple times.
I am running Ubuntu 22.04.4 LTS on 6.5.0-26-generic kernel.

How to Reproduce

Insert private relay into settings (below), watch the client try to connect and then say it's not ready.
image

Expected Behavior

It should connect to the server. If i remove the private server from settings it connects to the public one fine.

Operating system(s) on local side and remote side

iOS => Linux

RustDesk Version(s) on local side and remote side

1.2.3 => 1.2.3

Screenshots

Settings:
image

Additional Context

Attempting to connect from the iOS device says the partner is offline.
All the proper ports are open on the server. And the server used to work properly, only having this issue now.
No logs are produced on the server.
Server is at the latest version as of today.

Originally created by @itzTheMeow on GitHub (Mar 29, 2024). ### Bug Description RustDesk will not connect to my private relay server. I have the log output: ``` [2024-03-29 21:55:48.365040 -04:00] INFO [src/core_main.rs:162] main start args:[] [2024-03-29 21:55:48.366353 -04:00] INFO [src/server.rs:362] DISPLAY=Ok(":0") [2024-03-29 21:55:48.366410 -04:00] INFO [src/server.rs:363] XAUTHORITY=Ok("/run/user/1000/gdm/Xauthority") [2024-03-29 21:55:48.366484 -04:00] INFO [src/server.rs:409] server not started (will try to start): Connection refused (os error 111) [2024-03-29 21:55:48.366799 -04:00] INFO [src/server.rs:362] DISPLAY=Ok(":0") [2024-03-29 21:55:48.366846 -04:00] INFO [src/server.rs:363] XAUTHORITY=Ok("/run/user/1000/gdm/Xauthority") [2024-03-29 21:55:48.401307 -04:00] INFO [src/ipc.rs:283] Started ipc server at path: /tmp/RustDesk/ipc [2024-03-29 21:55:48.402543 -04:00] DEBUG [libs/hbb_common/src/config.rs:475] Configuration path: /home/meow/.config/rustdesk/RustDesk.toml [2024-03-29 21:55:48.402761 -04:00] DEBUG [src/server.rs:471] #tries of ipc service connection: 3 [2024-03-29 21:55:48.422616 -04:00] INFO [src/rendezvous_mediator.rs:116] start rendezvous mediator of itsmeow.cat:21116 [2024-03-29 21:55:48.422922 -04:00] INFO [src/lan.rs:30] lan discovery listener started [2024-03-29 21:55:48.423212 -04:00] INFO [src/common.rs:560] Testing nat ... [2024-03-29 21:55:48.664383 -04:00] DEBUG [libs/hbb_common/src/config.rs:475] Configuration path: /home/meow/.config/rustdesk/RustDesk_local.toml [2024-03-29 21:55:48.676312 -04:00] INFO [src/ipc.rs:283] Started ipc_pa server at path: /tmp/RustDesk/ipc_pa [2024-03-29 21:55:48.722515 -04:00] DEBUG [libs/hbb_common/src/config.rs:475] Configuration path: /home/meow/.config/rustdesk/RustDesk_default.toml [2024-03-29 21:55:49.425186 -04:00] DEBUG [libs/hbb_common/src/udp.rs:35] Receive buf size of udp [::]:0: Ok(212992) [2024-03-29 21:55:49.426456 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25 [2024-03-29 21:55:49.653898 -04:00] DEBUG [src/common.rs:597] Got nat response from itsmeow.cat:21116: port=40957 [2024-03-29 21:55:49.857383 -04:00] DEBUG [src/common.rs:597] Got nat response from itsmeow.cat:21115: port=40957 [2024-03-29 21:55:49.857492 -04:00] INFO [src/common.rs:623] Tested nat type: ASYMMETRIC in 1.43401906s [2024-03-29 21:55:49.962585 -04:00] DEBUG [/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustls-0.21.2/src/client/hs.rs:73] No cached session for DnsName("github.com") [2024-03-29 21:55:49.962924 -04:00] DEBUG [/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustls-0.21.2/src/client/hs.rs:132] Not resuming any session [2024-03-29 21:55:50.033012 -04:00] DEBUG [/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustls-0.21.2/src/client/hs.rs:615] Using ciphersuite TLS13_AES_128_GCM_SHA256 [2024-03-29 21:55:50.033102 -04:00] DEBUG [/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustls-0.21.2/src/client/tls13.rs:142] Not resuming [2024-03-29 21:55:50.033294 -04:00] DEBUG [/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustls-0.21.2/src/client/tls13.rs:381] TLS1.3 encrypted extensions: [ServerNameAck, Protocols([ProtocolName(6832)])] [2024-03-29 21:55:50.033336 -04:00] DEBUG [/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustls-0.21.2/src/client/hs.rs:472] ALPN protocol is Some(b"h2") [2024-03-29 21:55:50.191862 -04:00] DEBUG [/root/.cargo/git/checkouts/reqwest-84a0398ffb35f677/4cc8345/src/async_impl/client.rs:2231] redirecting 'https://github.com/rustdesk/rustdesk/releases/latest' to 'https://github.com/rustdesk/rustdesk/releases/tag/1.2.3-1' [2024-03-29 21:55:51.426710 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25 [2024-03-29 21:55:53.426332 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25 [2024-03-29 21:55:54.426388 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25 [2024-03-29 21:55:55.426532 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25 [2024-03-29 21:55:57.426771 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25 [2024-03-29 21:55:58.367875 -04:00] DEBUG [libs/scrap/src/common/hwcodec.rs:383] Os { code: 3, kind: Uncategorized, message: "No such process" }, scrap::common::hwcodec:libs/scrap/src/common/hwcodec.rs:383:21 [2024-03-29 21:55:58.398224 -04:00] ERROR [libs/scrap/src/common/hwcodec.rs:397] Check hwcodec config, error attempting to wait: No child processes (os error 10) [2024-03-29 21:55:59.426022 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25 [2024-03-29 21:56:00.426768 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25 [2024-03-29 21:56:02.426804 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25 [2024-03-29 21:56:04.426890 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25 [2024-03-29 21:56:06.426467 -04:00] DEBUG [src/rendezvous_mediator.rs:260] Operation not permitted (os error 1), librustdesk::rendezvous_mediator:src/rendezvous_mediator.rs:260:25 ``` It appears to be this "no child process" error. I've restarted my computer and have restarted the rustdesk service multiple times. I am running Ubuntu 22.04.4 LTS on 6.5.0-26-generic kernel. ### How to Reproduce Insert private relay into settings (below), watch the client try to connect and then say it's not ready. ![image](https://github.com/rustdesk/rustdesk/assets/50887230/13e93cd3-921c-44aa-a17a-c7ab784dec05) ### Expected Behavior It should connect to the server. If i remove the private server from settings it connects to the public one fine. ### Operating system(s) on local side and remote side iOS => Linux ### RustDesk Version(s) on local side and remote side 1.2.3 => 1.2.3 ### Screenshots Settings: ![image](https://github.com/rustdesk/rustdesk/assets/50887230/284a2a96-025e-45eb-a8f7-4f3b6ad9af86) ### Additional Context Attempting to connect from the iOS device says the partner is offline. All the proper ports are open on the server. And the server used to work properly, only having this issue now. No logs are produced on the server. Server is at the latest version as of today.
deekerman 2026-02-21 00:26:03 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@rustdesk commented on GitHub (Mar 29, 2024):

#763

@rustdesk commented on GitHub (Mar 29, 2024): #763
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rustdesk-rustdesk#2592
No description provided.