[chrony-dev] Not working with Cloudflare NTP server |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx, time-services@xxxxxxxxxxxxxx
- Subject: [chrony-dev] Not working with Cloudflare NTP server
- From: Nuno Gonçalves <nunojpg@xxxxxxxxx>
- Date: Mon, 19 Aug 2019 19:31:27 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=XW8GXZDbTR/xctZ9Cb5/GBPMwoZZ+Nw9zRhJmPdYYN4=; b=ql9jvh4H2e3+/R52fAlYBS++ddAFM5VQP9XKU6rIeyeib+jS0IuQ+eT0e4q1lv52Rj rfmiVzJPokdG1sM8Um2sm8yoEkZ/sazg8ypuIp7AxUKw+mGdtX/FGR6UWgX3d6wCq5x1 10AIhMlmMb1J0lmuUG2XYKSSKkQeU3C+cfml6Ic1F25LLKKSQ7vAtWJrwECUpkVN1cCY bgwf9h2VQ8kC5eN3lOWkGzOL9YL+74ibBSTCv0uyYJVBWkhzS6Nw+DolC3FuNmBhxRfF JdEULTCwaVUa4yRkQO9p6bbi86NIxB4PUvEz1WgSlzw7ILJKQMBxJqFfgC0nF3dCVlem NOUA==
Hi,
I tried to used Cloudflare NTP server at time.cloudflare.com with Chrony.
First we can see it answers:
➜ ~ ntpdate -q time.cloudflare.com
server 162.159.200.123, stratum 3, offset -0.002150, delay 0.05771
server 162.159.200.1, stratum 3, offset -0.002098, delay 0.05699
19 Aug 19:27:57 ntpdate[21385]: adjust time server 162.159.200.1
offset -0.002098 sec
➜ ~ ntpdate -q 162.159.200.123
server 162.159.200.123, stratum 3, offset -0.001873, delay 0.05746
19 Aug 19:28:16 ntpdate[21395]: adjust time server 162.159.200.123
offset -0.001873 sec
To test with chrony I just used a single line on chrony.conf
peer time.cloudflare.com noselect
But chrony failes to talk to this server:
➜ ~ chronyc sources
210 Number of sources = 1
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
=? 162.159.200.123 0 7 0 - +0ns[ +0ns] +/- 0ns
With Chrony compiled with debug info I get:
2019-08-19T17:22:30Z ntp_core.c:1174:(transmit_timeout) Transmit
timeout for 162.159.200.123:123
2019-08-19T17:22:30Z socket.c:583:(log_message) Sent message to
162.159.200.123:123 fd=5 len=48
2019-08-19T17:22:30Z socket.c:583:(log_message) Received error message
to 162.159.200.123 fd=5 len=90 if=2 tss=K
2019-08-19T17:22:30Z ntp_io_linux.c:763:(NIO_Linux_ProcessMessage)
Extracted message for 162.159.200.123:123 fd=5 len=48
2019-08-19T17:22:30Z ntp_core.c:2231:(update_tx_timestamp) Updated TX
timestamp delay=0.000110529
I believe there is some incompability with Cloudflare implementation and Chrony.
Thanks,
Nuno
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.