Time sync rejected issue when using sensecap gateway with basic station on things network or AWS network

Hello all,
I am trying to connect my sensecap gateway with AWS network using basic station. But i get the error - “time sync rejected”. I tried to look for solutions but couldn’t find any online. I tried using things network as well but even that one had issues when using basic station. The error messages are as follows -

Tue Jul 30 11:38:09 2024 daemon.info station[4640]: [SYN:WARN] Repeated excessive clock drifts between MCU/SX130X#0 (57 retries): -119.8ppm (threshold 100.0ppm)
Tue Jul 30 11:38:11 2024 daemon.info station[4640]: [SYN:INFO] Time sync qualities: min=131 q90=175 max=239 (previous q90=2780)
Tue Jul 30 11:38:12 2024 daemon.info station[4640]: [SYN:INFO] MCU/SX130X drift stats: min: -117.5ppm  q50: -125.3ppm  q80: -130.6ppm  max: -133.6ppm - threshold q90: -132.6ppm
Tue Jul 30 11:38:12 2024 daemon.info station[4640]: [SYN:INFO] Mean MCU drift vs SX130X#0: -125.1ppm
Tue Jul 30 11:38:12 2024 daemon.info station[4640]: [SYN:WARN] Repeated excessive clock drifts between MCU/SX130X#0 (60 retries): -117.5ppm (threshold 100.0ppm)
Tue Jul 30 11:38:15 2024 daemon.info station[4640]: [SYN:WARN] Repeated excessive clock drifts between MCU/SX130X#0 (63 retries): -115.6ppm (threshold 100.0ppm)
Tue Jul 30 11:38:18 2024 daemon.info station[4640]: [SYN:VERB] Time sync rejected: quality=183 threshold=175
Tue Jul 30 11:38:21 2024 daemon.info station[4640]: [SYN:WARN] Repeated excessive clock drifts between MCU/SX130X#0 (66 retries): -112.6ppm (threshold 100.0ppm)
Tue Jul 30 11:38:24 2024 daemon.info station[4640]: [SYN:WARN] Repeated excessive clock drifts between MCU/SX130X#0 (69 retries): -111.1ppm (threshold 100.0ppm)
Tue Jul 30 11:38:27 2024 daemon.info station[4640]: [SYN:WARN] Repeated excessive clock drifts between MCU/SX130X#0 (72 retries): -109.5ppm (threshold 100.0ppm)
Tue Jul 30 11:38:30 2024 daemon.info station[4640]: [SYN:WARN] Repeated excessive clock drifts between MCU/SX130X#0 (75 retries): -108.0ppm (threshold 100.0ppm)
Tue Jul 30 11:38:32 2024 daemon.info station[4640]: [SYN:VERB] Time sync rejected: quality=181 threshold=175
Tue Jul 30 11:38:35 2024 daemon.info station[4640]: [SYN:WARN] Repeated excessive clock drifts between MCU/SX130X#0 (78 retries): -105.6ppm (threshold 100.0ppm)
Tue Jul 30 11:38:36 2024 daemon.info station[4640]: [SYN:VERB] Time sync rejected: quality=189 threshold=175
Tue Jul 30 11:38:37 2024 daemon.info station[4640]: [S2E:VERB] RX 921.6MHz DR5 SF7/BW125 snr=15.0 rssi=-30 xtime=0x7500000561A6E9 - jreq MHdr=00 JoinEUI=e7bb:279b:8dee:3e52 DevEUI=2cf7:f1c0:5460:307 DevNonce=39145 MIC=-1659182163
Tue Jul 30 11:38:39 2024 daemon.info station[4640]: [SYN:INFO] MCU/SX130X drift stats: min: -103.9ppm  q50: -110.5ppm  q80: -114.9ppm  max: -116.9ppm - threshold q90: -116.4ppm
Tue Jul 30 11:38:39 2024 daemon.info station[4640]: [SYN:INFO] Mean MCU drift vs SX130X#0: -110.4ppm
Tue Jul 30 11:38:40 2024 daemon.info station[4640]: [SYN:WARN] Repeated excessive clock drifts between MCU/SX130X#0 (81 retries): -103.4ppm (threshold 100.0ppm)
Tue Jul 30 11:38:41 2024 daemon.info station[4640]: [S2E:VERB] RX 921.4MHz DR2 SF10/BW125 snr=-10.0 rssi=-118 xtime=0x75000005A51DA6 - jreq MHdr=00 JoinEUI=24e1:24c0:2a:1 DevEUI=24e1:2460:1d13:4290 DevNonce=47980 MIC=2129450076
Tue Jul 30 11:38:44 2024 daemon.info station[4640]: [SYN:WARN] Repeated excessive clock drifts between MCU/SX130X#0 (84 retries): -102.1ppm (threshold 100.0ppm)
Tue Jul 30 11:38:46 2024 daemon.info station[4640]: [SYN:INFO] Time sync qualities: min=143 q90=181 max=189 (previous q90=175)
Tue Jul 30 11:38:46 2024 daemon.info station[4640]: {"state":1,"temperature":0,"rx_sum":4,"report_time":1722309708,"tx_sum":0}
Tue Jul 30 11:38:46 2024 daemon.info station[4640]: [SYS:INFO] lora info statistics: rx:5 (+4), tx:0 (+0)
Tue Jul 30 11:38:46 2024 daemon.info station[4640]: [SYS:INFO] ubus: ubus -S call sensecap lora '{"rx_sum":4,"tx_sum":0,"report_time":1722309708, "state":1}'
Tue Jul 30 11:38:47 2024 daemon.info station[4640]: [SYN:WARN] Repeated excessive clock drifts between MCU/SX130X#0 (87 retries): -100.8ppm (threshold 100.0ppm)
Tue Jul 30 11:38:52 2024 daemon.info station[4640]: [S2E:VERB] RX 921.6MHz DR5 SF7/BW125 snr=15.5 rssi=-28 xtime=0x75000006431EFA - jreq MHdr=00 JoinEUI=e7bb:279b:8dee:3e52 DevEUI=2cf7:f1c0:5460:307 DevNonce=39146 MIC=790138883
Tue Jul 30 11:38:53 2024 daemon.info station[4640]: [RAL:DEBU] [CRC FAIL] 921.600MHz -10.25/-115.5 SF7/BW125 (mod=16/dr=7/bw=4) xtick=065dcc23 (106810403) 41 bytes: 40BF39B606823EDB8800552C39966EE6995FB8370E6DB921EB1802F9319C1C3D2B41201D21ACF3F29B
Tue Jul 30 11:38:54 2024 daemon.info station[4640]: [SYN:VERB] Time sync rejected: quality=186 threshold=181
Tue Jul 30 11:39:00 2024 daemon.info station[4640]: [SYN:VERB] Time sync rejected: quality=187 threshold=181

Can anyone help me with this? and does anyone know why this is happening? Thank you for your time.

You can try to increase the allowed drift threshold if your hardware and firmware support such an adjustment. Here is a basic outline of how you might adjust this setting (consult your device’s documentation for exact steps):

  1. Access the configuration file (station.conf) on your gateway.
  2. Look for a parameter related to time sync drift or thresholds.
  3. Increase the threshold value slightly and test to see if synchronization succeeds.

I am having exactly the same issue (basic station to The Things cloud). Did you find a solution? Have you found any functional issues caused by the time sync rejections?