2020-12-29 20:54:42 sent 515 bytes to 192.168.0.255:21027
2020-12-29 20:54:42 write udp [::]:43262->[ff12::8384]:21027: sendmsg: network is unreachable on write to [ff12::8384]:21027 bond0
2020-12-29 20:54:42 sent 515 bytes to [ff12::8384]:21027 on wlan0
2020-12-29 20:54:42 write udp [::]:43262->[ff12::8384]:21027: sendmsg: network is unreachable on write to [ff12::8384]:21027 wlan1
2020-12-29 20:54:42 write udp [::]:43262->[ff12::8384]:21027: sendmsg: network is unreachable on write to [ff12::8384]:21027 p2p0
2020-12-29 20:54:42 recv 515 bytes from [fe80::b479:c9ff:fe98:1b28%wlan0]:43262
2020-12-29 20:54:58 recv 452 bytes from 192.168.0.102:35263
2020-12-29 20:54:58 recv 452 bytes from [fe80::c069:fd7f:5856:50e9%wlan0]:44536
I have suddenly this problem too after updating my OnePlus 7t Pro yesterday to Android 11.
Does anyone know how to fix this?
Local discovery was 2/2 before. Now it does not work anymore.
I used to use only fixed IP-addresses for Syncthing in my network but i recently switch to only local discovery.
For a log from me i have to find out how to get the log. The Syncthing Fork app does not show a log for Syncthing itself, only the Android log. Do i need to enable debug logs? Or detailed logs in the Syncthing App settings?
There’s logs in the first post. I don’t see any indication that yours should be any different. In the fork’s issue there’s a link to a golang issue with other projects observing something similar when targeting sdk30 (x/mobile: Calling net.InterfaceAddrs() fails on Android SDK 30 · Issue #40569 · golang/go · GitHub). So basically one more thing that currently wont work when targeting that. It worked for @kluppy - maybe they are using syncthing-android, which still targets sdk 29?
I doubt that Google will change its course here. “Use the Android APIs or get wrecked” seems to be the tone over the last few Android releases.
I fear that the UI-only approach of the app won’t work anymore at a certain point in the future. That means it needs to use Android APIs directly via gomobile or via the wrapper(e.g REST calls).