"Unable to resolve primary STUN servers via DNS" notice spam on Android

I’m getting these messages on Android. This is with Syncthing v2 beta9, however many STUN-related commits have been added to main recently, so I assume this is going to affect Syncthing v1 also.

Is there anything that can be done either to fix or to suppress these messages? They seem to be sent every 5 minutes or so, flooding the GUI.

Just to be clear, I’m seeing them only on Android. On the desktop, there seem to be no such issues.

Let’s say we’re making sure the fallback mechanism works :stuck_out_tongue:

Scratch that. I think this one is caused by the test record that still points to a special use IP address. Maybe Android is smart enough to block the resolution in this case.

We should kill that warning regardless

1 Like

Killing the warning is one thing. But I fear that we’re running into DNS problems on Android from the looks of it:

@tomasz86 could you try building the app binary without the netgo build tag?

I saw the same on my Mac the other day but forgot to investigate.