strelaysrv, IPv6 and "too many colons"

Hello,

I had been running strelaysrv on a Debian server with dual-stack Internet connectivity for about a month without any problems, until today, when I discovered this in my logs (dates and times shown are in UTC +3:00):

strelaysrv[577]: 2016/09/02 00:08:32 pool.go:35: Failed to join https://relays.syncthing.net/endpoint due to an internal server error: too many colons in address 2a02:587:9406:101::1:44476
strelaysrv[577]: 2016/09/02 01:08:32 pool.go:35: Failed to join https://relays.syncthing.net/endpoint due to an internal server error: too many colons in address 2a02:587:9406:101::1:44478

These are the first two occurrences of the message, which has repeated itself hourly since then. As expected, my relay does not appear on relays.syncthing.net.

Strelaysrv is at v0.14.4, the most recent one available from Debian’s repository. TCP ports 22067 and 22070 are reachable over IPv4 and IPv6. A local instance of BIND9 is used for name resolution.

relays.syncthing.net resolves as follows from here:

relays.syncthing.NET is an alias for web.syncthing.net.
web.syncthing.NET has address 46.101.130.230
web.syncthing.NET has IPv6 address 2a03:b0c0:3:d0::18d6:8001

What command line are you starting relaysrv with? Also v6 relays aren’t that useful to be honest.

This may be my fault. The relay pool server had an A record only until a day or so ago. That might have been for a good reason. I’ll restore.

@AudriusButkevicius

/usr/bin/strelaysrv -keys=/var/lib/syncthing-relaysrv -provided-by='GS'

I didn’t actually know if IPv6 is used in relaying. I did however have the ports open, just in case. One (admittedly uncommon) scenario where I believe dual-stacked relays would be useful is that of IPv4-only nodes trying to communicate with IPv6-only ones.

@calmh Yes, that fixed it. I’m up and relaying again.

Thanks for your help!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.