hassio-addons icon indicating copy to clipboard operation
hassio-addons copied to clipboard

Syncthing: Use Host Network to prevent issues with local discovery

Open cdrfun opened this issue 5 years ago • 3 comments

Hi there, when using synthing all my LAN clients connect via relay or external IP address. I also got a recurring error in my log stating the syncthing instance connected to itself. This seemed quite odd, so I did a little research: The issue has already been discussed here: https://superuser.com/questions/1364353/issue-with-local-discovery-of-devices-on-dockerized-syncthing/1416192

I tested this solution at using the host network prevents those connection issues.

cdrfun avatar Oct 22 '19 20:10 cdrfun

@cdrfun could you set a pull request? I agree that the current version makes local discovery impossible.

Where did you set the host network option?

einheitsnamezahl123 avatar Jan 26 '20 13:01 einheitsnamezahl123

@einheitsnamezahl123 I've copied the container with portainer and changed the network as shown in the screenshot. I can't remember doing anything else. grafik

cdrfun avatar Feb 13 '20 12:02 cdrfun

I guess that the add-on would require host_network.

fabaff avatar Jun 12 '20 12:06 fabaff