rquickshare icon indicating copy to clipboard operation
rquickshare copied to clipboard

mdns sendimg on closed channel

Open jjsarton opened this issue 1 year ago • 3 comments

Launch release version 1.10.2 on 2 Linux system (both fedora 40 XFCE).

  • On system A select a file.
  • Cancel action
  • select a new file

The (possibly) displayed system B will no more be shown.

On the terminal I get:

2024-08-09T12:43:37Z  INFO rquickshare::cmds::discovery: stop_discovery
2024-08-09T12:43:37Z  INFO rqs_lib::hdl::blea: BleAdvertiser: tracker cancelled, returning
2024-08-09T12:43:37Z  INFO rqs_lib::hdl::mdns_discovery: MDnsDiscovery: tracker cancelled, breaking
2024-08-09T12:43:37Z ERROR mdns_sd::service_daemon: Failed to send SearchStarted(_FC9F5ED42C8A._tcp.local.)(repeating:true): sending on a closed channel
2024-08-09T12:43:42Z  INFO rquickshare::cmds::discovery: start_discovery
2024-08-09T12:43:42Z  INFO rqs_lib::hdl::mdns_discovery: MDnsDiscovery: service starting
2024-08-09T12:43:42Z  INFO rqs_lib::hdl::blea: BleAdvertiser: advertising on Bluetooth adapter hci0 with address 54:6C:EB:BE:A0:22
2024-08-09T12:47:48Z ERROR mdns_sd::service_daemon: Failed to send SearchStarted(_FC9F5ED42C8A._tcp.local.)(repeating:true): sending on a closed channel
2024-08-09T12:47:57Z ERROR mdns_sd::service_daemon: Failed to send event: sending on a closed channel
2024-08-09T12:47:57Z ERROR mdns_sd::service_daemon: Failed to send event: sending on a closed channel
2024-08-09T12:47:57Z ERROR mdns_sd::service_daemon: Failed to send event: sending on a closed channel
...

jjsarton avatar Aug 09 '24 12:08 jjsarton

I'm aware of this log, but it never caused an issue. It pretty much seems like this is an issue in the mdns_sd crate but without real impact on the usability.

Martichou avatar Aug 10 '24 12:08 Martichou

RQuickShare-receiver.log RQuickShare-sender.log

Apparently the closed channel is on the receiving system. Toggling the visibility state on the client create a new client and the sending see the receiving system again.

jjsarton avatar Aug 11 '24 08:08 jjsarton

I'm not sure to follow, is there a real issue other than the logs?

Martichou avatar Aug 13 '24 18:08 Martichou