syncthing / syncthing/syncthing
Trigger dial when local discovery information is updated
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 88.8k
- Forks
- 5.5k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 5
Description
Hi,
when synthing receives local announcement and the remote device is not connected it should dial immediately to speed-up syncthing. Otherwise, I have to wait random time (up to minute) before it connects and starts synchronization.
I consider this is as a bug, as this is a bit annoying to wait, while syncthing already has all information at hands.
Here are the logs:
The short one:
[4QDTF] 2023/03/12 19:11:02.881478 broadcast.go:134: DEBUG: recv 122 bytes from 192.168.100.42:34864
...
[4QDTF] 2023/03/12 19:11:56.103261 service.go:1113: DEBUG: dialing WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH tcp://192.168.100.42:36609/ success: 192.168.100.42:22000-192.168.100.42:36609/tcp-client/TLS1.3-TLS_AES_128_GCM_SHA256
[4QDTF] 2023/03/12 19:11:56.103299 service.go:1130: DEBUG: connected to WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH 9 using 192.168.100.42:22000-192.168.100.42:36609/tcp-client/TLS1.3-TLS_AES_128_GCM_SHA256 10
The full one:
[4QDTF] 2023/03/12 19:11:00.821657 broadcast.go:78: DEBUG: addresses: [192.168.100.255]
[4QDTF] 2023/03/12 19:11:00.821972 broadcast.go:101: DEBUG: sent 105 bytes to 192.168.100.255:21027
[4QDTF] 2023/03/12 19:11:00.822367 multicast.go:84: DEBUG: sent 105 bytes to [ff12::8384]:21027 on wlp0s20f3
[4QDTF] 2023/03/12 19:11:00.822500 multicast.go:80: DEBUG: write udp [::]:46893->[ff12::8384]:21027: sendmsg: network is unreachable on write to [ff12::8384]:21027 tun0
[4QDTF] 2023/03/12 19:11:00.822685 multicast.go:155: DEBUG: recv 105 bytes from [fe80::a8e:90ff:feda:29d3%wlp0s20f3]:46893
[4QDTF] 2023/03/12 19:11:00.822840 local.go:203: DEBUG: discover: Received local announcement from [fe80::a8e:90ff:feda:29d3%wlp0s20f3]:46893 for 4QDTFOA-2W77JRM-ZD5VSOJ-SRMFOGN-WKYOI4H-F4PHPEN-Y25PWB7-3QQKMAX
[4QDTF] 2023/03/12 19:11:02.881478 broadcast.go:134: DEBUG: recv 122 bytes from 192.168.100.42:34864
[4QDTF] 2023/03/12 19:11:02.881674 local.go:203: DEBUG: discover: Received local announcement from 192.168.100.42:34864 for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:02.881738 local.go:232: DEBUG: discover: Registering addresses for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:02.881859 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:02.881905 local.go:271: DEBUG: discover: Accepted address tcp://86.57.193.9:36609/ verbatim
[4QDTF] 2023/03/12 19:11:02.881944 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:05.882323 broadcast.go:134: DEBUG: recv 122 bytes from 192.168.100.42:34864
[4QDTF] 2023/03/12 19:11:05.882452 local.go:203: DEBUG: discover: Received local announcement from 192.168.100.42:34864 for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:05.882619 local.go:232: DEBUG: discover: Registering addresses for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:05.882664 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:05.882685 local.go:271: DEBUG: discover: Accepted address tcp://86.57.193.9:36609/ verbatim
[4QDTF] 2023/03/12 19:11:05.882700 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:08.883525 broadcast.go:134: DEBUG: recv 122 bytes from 192.168.100.42:34864
[4QDTF] 2023/03/12 19:11:08.883723 local.go:203: DEBUG: discover: Received local announcement from 192.168.100.42:34864 for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:08.883847 local.go:232: DEBUG: discover: Registering addresses for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:08.883929 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:08.883980 local.go:271: DEBUG: discover: Accepted address tcp://86.57.193.9:36609/ verbatim
[4QDTF] 2023/03/12 19:11:08.884020 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:11.884535 broadcast.go:134: DEBUG: recv 122 bytes from 192.168.100.42:34864
[4QDTF] 2023/03/12 19:11:11.884731 local.go:203: DEBUG: discover: Received local announcement from 192.168.100.42:34864 for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:11.884856 local.go:232: DEBUG: discover: Registering addresses for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:11.884935 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:11.884971 local.go:271: DEBUG: discover: Accepted address tcp://86.57.193.9:36609/ verbatim
[4QDTF] 2023/03/12 19:11:11.884996 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:14.885528 broadcast.go:134: DEBUG: recv 122 bytes from 192.168.100.42:34864
[4QDTF] 2023/03/12 19:11:14.885720 local.go:203: DEBUG: discover: Received local announcement from 192.168.100.42:34864 for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:14.885853 local.go:232: DEBUG: discover: Registering addresses for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:14.885937 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:14.885985 local.go:271: DEBUG: discover: Accepted address tcp://86.57.193.9:36609/ verbatim
[4QDTF] 2023/03/12 19:11:14.886019 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:17.886302 broadcast.go:134: DEBUG: recv 122 bytes from 192.168.100.42:34864
[4QDTF] 2023/03/12 19:11:17.886406 local.go:203: DEBUG: discover: Received local announcement from 192.168.100.42:34864 for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:17.886440 local.go:232: DEBUG: discover: Registering addresses for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:17.886471 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:17.886482 local.go:271: DEBUG: discover: Accepted address tcp://86.57.193.9:36609/ verbatim
[4QDTF] 2023/03/12 19:11:17.886494 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:20.886996 broadcast.go:134: DEBUG: recv 122 bytes from 192.168.100.42:34864
[4QDTF] 2023/03/12 19:11:20.887208 local.go:203: DEBUG: discover: Received local announcement from 192.168.100.42:34864 for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:20.887277 local.go:232: DEBUG: discover: Registering addresses for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:20.887354 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:20.887400 local.go:271: DEBUG: discover: Accepted address tcp://86.57.193.9:36609/ verbatim
[4QDTF] 2023/03/12 19:11:20.887437 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:23.888029 broadcast.go:134: DEBUG: recv 122 bytes from 192.168.100.42:34864
[4QDTF] 2023/03/12 19:11:23.888295 local.go:203: DEBUG: discover: Received local announcement from 192.168.100.42:34864 for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:23.888360 local.go:232: DEBUG: discover: Registering addresses for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:23.888432 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:23.888472 local.go:271: DEBUG: discover: Accepted address tcp://86.57.193.9:36609/ verbatim
[4QDTF] 2023/03/12 19:11:23.888508 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:26.888949 broadcast.go:134: DEBUG: recv 122 bytes from 192.168.100.42:34864
[4QDTF] 2023/03/12 19:11:26.889098 local.go:203: DEBUG: discover: Received local announcement from 192.168.100.42:34864 for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:26.889141 local.go:232: DEBUG: discover: Registering addresses for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:26.889184 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:26.889213 local.go:271: DEBUG: discover: Accepted address tcp://86.57.193.9:36609/ verbatim
[4QDTF] 2023/03/12 19:11:26.889235 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:29.889884 broadcast.go:134: DEBUG: recv 122 bytes from 192.168.100.42:34864
[4QDTF] 2023/03/12 19:11:29.889988 local.go:203: DEBUG: discover: Received local announcement from 192.168.100.42:34864 for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:29.890020 local.go:232: DEBUG: discover: Registering addresses for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:29.890057 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:29.890079 local.go:271: DEBUG: discover: Accepted address tcp://86.57.193.9:36609/ verbatim
[4QDTF] 2023/03/12 19:11:29.890097 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:30.821233 broadcast.go:78: DEBUG: addresses: [192.168.100.255]
[4QDTF] 2023/03/12 19:11:30.821457 broadcast.go:101: DEBUG: sent 105 bytes to 192.168.100.255:21027
[4QDTF] 2023/03/12 19:11:30.821823 multicast.go:84: DEBUG: sent 105 bytes to [ff12::8384]:21027 on wlp0s20f3
[4QDTF] 2023/03/12 19:11:30.821956 multicast.go:80: DEBUG: write udp [::]:46893->[ff12::8384]:21027: sendmsg: network is unreachable on write to [ff12::8384]:21027 tun0
[4QDTF] 2023/03/12 19:11:30.821999 multicast.go:155: DEBUG: recv 105 bytes from [fe80::a8e:90ff:feda:29d3%wlp0s20f3]:46893
[4QDTF] 2023/03/12 19:11:30.822160 local.go:203: DEBUG: discover: Received local announcement from [fe80::a8e:90ff:feda:29d3%wlp0s20f3]:46893 for 4QDTFOA-2W77JRM-ZD5VSOJ-SRMFOGN-WKYOI4H-F4PHPEN-Y25PWB7-3QQKMAX
[4QDTF] 2023/03/12 19:11:32.890731 broadcast.go:134: DEBUG: recv 122 bytes from 192.168.100.42:34864
[4QDTF] 2023/03/12 19:11:32.890947 local.go:203: DEBUG: discover: Received local announcement from 192.168.100.42:34864 for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:32.891001 local.go:232: DEBUG: discover: Registering addresses for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:32.891063 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:32.891100 local.go:271: DEBUG: discover: Accepted address tcp://86.57.193.9:36609/ verbatim
[4QDTF] 2023/03/12 19:11:32.891129 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:35.891251 broadcast.go:134: DEBUG: recv 122 bytes from 192.168.100.42:34864
[4QDTF] 2023/03/12 19:11:35.891336 local.go:203: DEBUG: discover: Received local announcement from 192.168.100.42:34864 for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:35.891356 local.go:232: DEBUG: discover: Registering addresses for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:35.891381 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:35.891390 local.go:271: DEBUG: discover: Accepted address tcp://86.57.193.9:36609/ verbatim
[4QDTF] 2023/03/12 19:11:35.891399 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:38.891959 broadcast.go:134: DEBUG: recv 122 bytes from 192.168.100.42:34864
[4QDTF] 2023/03/12 19:11:38.892087 local.go:203: DEBUG: discover: Received local announcement from 192.168.100.42:34864 for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:38.892129 local.go:232: DEBUG: discover: Registering addresses for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:38.892183 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:38.892211 local.go:271: DEBUG: discover: Accepted address tcp://86.57.193.9:36609/ verbatim
[4QDTF] 2023/03/12 19:11:38.892232 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:41.892807 broadcast.go:134: DEBUG: recv 122 bytes from 192.168.100.42:34864
[4QDTF] 2023/03/12 19:11:41.892932 local.go:203: DEBUG: discover: Received local announcement from 192.168.100.42:34864 for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:41.892974 local.go:232: DEBUG: discover: Registering addresses for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:41.893026 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:41.893052 local.go:271: DEBUG: discover: Accepted address tcp://86.57.193.9:36609/ verbatim
[4QDTF] 2023/03/12 19:11:41.893070 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:44.893822 broadcast.go:134: DEBUG: recv 122 bytes from 192.168.100.42:34864
[4QDTF] 2023/03/12 19:11:44.893972 local.go:203: DEBUG: discover: Received local announcement from 192.168.100.42:34864 for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:44.894022 local.go:232: DEBUG: discover: Registering addresses for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:44.894074 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:44.894103 local.go:271: DEBUG: discover: Accepted address tcp://86.57.193.9:36609/ verbatim
[4QDTF] 2023/03/12 19:11:44.894124 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:47.894169 broadcast.go:134: DEBUG: recv 122 bytes from 192.168.100.42:34864
[4QDTF] 2023/03/12 19:11:47.894230 local.go:203: DEBUG: discover: Received local announcement from 192.168.100.42:34864 for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:47.894249 local.go:232: DEBUG: discover: Registering addresses for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:47.894270 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:47.894281 local.go:271: DEBUG: discover: Accepted address tcp://86.57.193.9:36609/ verbatim
[4QDTF] 2023/03/12 19:11:47.894291 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:50.894941 broadcast.go:134: DEBUG: recv 122 bytes from 192.168.100.42:34864
[4QDTF] 2023/03/12 19:11:50.895065 local.go:203: DEBUG: discover: Received local announcement from 192.168.100.42:34864 for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:50.895100 local.go:232: DEBUG: discover: Registering addresses for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:50.895145 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:50.895173 local.go:271: DEBUG: discover: Accepted address tcp://86.57.193.9:36609/ verbatim
[4QDTF] 2023/03/12 19:11:50.895209 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:53.895909 broadcast.go:134: DEBUG: recv 122 bytes from 192.168.100.42:34864
[4QDTF] 2023/03/12 19:11:53.896053 local.go:203: DEBUG: discover: Received local announcement from 192.168.100.42:34864 for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:53.896095 local.go:232: DEBUG: discover: Registering addresses for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:53.896142 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:53.896167 local.go:271: DEBUG: discover: Accepted address tcp://86.57.193.9:36609/ verbatim
[4QDTF] 2023/03/12 19:11:53.896185 local.go:271: DEBUG: discover: Accepted address tcp://192.168.100.42:36609/ verbatim
[4QDTF] 2023/03/12 19:11:56.091928 service.go:444: DEBUG: Connection loop
[4QDTF] 2023/03/12 19:11:56.092126 manager.go:139: DEBUG: lookup for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH at IPv4 local
[4QDTF] 2023/03/12 19:11:56.092155 manager.go:140: DEBUG: addresses: [tcp://192.168.100.42:36609/ tcp://86.57.193.9:36609/ tcp://192.168.100.42:36609/]
[4QDTF] 2023/03/12 19:11:56.092174 manager.go:139: DEBUG: lookup for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH at IPv6 local
[4QDTF] 2023/03/12 19:11:56.092184 manager.go:140: DEBUG: addresses: []
[4QDTF] 2023/03/12 19:11:56.092202 manager.go:164: DEBUG: lookup results for WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH
[4QDTF] 2023/03/12 19:11:56.092315 manager.go:165: DEBUG: addresses: [tcp://192.168.100.42:36609/ tcp://86.57.193.9:36609/]
[4QDTF] 2023/03/12 19:11:56.092335 service.go:615: DEBUG: Resolved device WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH addresses: [tcp://192.168.100.42:36609/ tcp://86.57.193.9:36609/]
[4QDTF] 2023/03/12 19:11:56.092993 structs.go:244: DEBUG: dialing WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH tcp://192.168.100.42:36609/ prio 9
[4QDTF] 2023/03/12 19:11:56.093444 public.go:158: DEBUG: Dialing reuse result tcp 192.168.100.42:36609: &{{0xc0014bf800}} <nil>
[4QDTF] 2023/03/12 19:11:56.103261 service.go:1113: DEBUG: dialing WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH tcp://192.168.100.42:36609/ success: 192.168.100.42:22000-192.168.100.42:36609/tcp-client/TLS1.3-TLS_AES_128_GCM_SHA256
[4QDTF] 2023/03/12 19:11:56.103299 service.go:1130: DEBUG: connected to WICHSMT-QDEQWEA-7ZPOJLT-HHBYCTL-4Q4NWOJ-PSDC7FW-DW7IYEZ-HSBJDQH 9 using 192.168.100.42:22000-192.168.100.42:36609/tcp-client/TLS1.3-TLS_AES_128_GCM_SHA256 10
version: v1.23.2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing local discovery handling in local.go and the connection attempt path in service.go, using the provided broadcast.go and local.go log entries as the observed sequence. Determine how an updated local announcement reaches dialing, then verify that an unavailable device is dialed promptly after its address is registered. Done means the discovered remote connects without waiting for the existing retry interval.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- distributed-systems, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100