Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Syncthing does not connect to relay

bmac6996

Newbie
Joined
Sep 11, 2014
Messages
18
Hi.

Installing syncthing via gui in 11.2 RC1. Test server with new/clean install. Comes up and syncing to local devices seem to work but it cannot connect to any outside relays. Did some reading and tried and verified the following:

- The iocage has internet. Can ping and nslookup out by IP or DNS name.
- Installed self-signed certificate in Freenas based on this error I'm getting and research:



- Manually forwarded ports and tried applying uPNP directly to iocage. Nothing.



Here is what the logs say:

2018-10-25 00:39:46 Relay listener (dynamic+https://relays.syncthing.net/endpoint) starting
2018-10-25 00:39:46 Relay listener (dynamic+https://relays.syncthing.net/endpoint) shutting down
2018-10-25 00:39:46 c.S.listenerSupervisor: Failed service 'dynamic+https://relays.syncthing.net/endpoint' (1.000000 failures of 2.000000), restarting: true, error: "{dynamic+https://relays.syncthing.net/endpoint dynamic+https://relays.syncthing.net/endpoint} returned unexpectedly", stacktrace: [unknown stack trace]
2018-10-25 00:39:46 Relay listener (dynamic+https://relays.syncthing.net/endpoint) starting
2018-10-25 00:39:47 Relay listener (dynamic+https://relays.syncthing.net/endpoint) shutting down
2018-10-25 00:39:47 c.S.listenerSupervisor: Failed service 'dynamic+https://relays.syncthing.net/endpoint' (1.991662 failures of 2.000000), restarting: true, error: "{dynamic+https://relays.syncthing.net/endpoint dynamic+https://relays.syncthing.net/endpoint} returned unexpectedly", stacktrace: [unknown stack trace]
2018-10-25 00:39:47 Relay listener (dynamic+https://relays.syncthing.net/endpoint) starting
2018-10-25 00:39:47 Relay listener (dynamic+https://relays.syncthing.net/endpoint) shutting down
2018-10-25 00:39:47 Entering the backoff state.
2018-10-25 00:39:47 c.S.listenerSupervisor: Failed service 'dynamic+https://relays.syncthing.net/endpoint' (2.973988 failures of 2.000000), restarting: false, error: "{dynamic+https://relays.syncthing.net/endpoint dynamic+https://relays.syncthing.net/endpoint} returned unexpectedly", stacktrace: [unknown stack trace]




Goes in a loop in the logs

Attempted this also on 11.1 BETA 5 and 6 and still no dice. I have a windows installation of Syncthing, unraid docker version, and a couple of android versions on the network and they can hit the outside relay.

Any ideas?
 

dlavigne

Storage Engineering
Joined
May 24, 2011
Messages
12,063
Please create a report at bugs.freenas.org and post the issue number here.
 

ronclark

Newbie
Joined
Dec 5, 2017
Messages
34
I have the same problem on both my Syncthing jails with Freenas 11.2, were you able to fix the problem?
 
Joined
Feb 24, 2019
Messages
2
I'm running in to the same problem and have been troubleshooting this for hours. Anyone has a solution?
 

ronclark

Newbie
Joined
Dec 5, 2017
Messages
34
I posted a bug report here is the number Bug #77115
 
Joined
Jun 16, 2017
Messages
3
That bug has now been migrated to the new JIRA on bugs.ixsystems.com with the bug ID NAS-100968. With the new JIRA bug platform, you can create an account or login with your existing one and vote for issues. Everyone who is having this issue should vote to get that issue off the "backlog" so maybe they will realize it needs to be fixed.
 

ronclark

Newbie
Joined
Dec 5, 2017
Messages
34
That bug has now been migrated to the new JIRA on bugs.ixsystems.com with the bug ID NAS-100968. With the new JIRA bug platform, you can create an account or login with your existing one and vote for issues. Everyone who is having this issue should vote to get that issue off the "backlog" so maybe they will realize it needs to be fixed.

Thanks for the heads up, Ill put in my vote
 

ronclark

Newbie
Joined
Dec 5, 2017
Messages
34
Top