GL-AXT1800 (Slate AX): Wireguard client connect error (REKEY TIMEOUT)

Hi GLiNet community

I am encountering issues with my brand new Slate AX when trying to connect to a Wireguard server.

Namely, I am getting following repeating errors when trying to connect:
Tue Jun 21 03:03:15 2022 kern.info kernel: [x] wireguard: wireguard-hotplug IFNAME=wgclient ACTION=REKEY-TIMEOUT
Tue Jun 21 03:03:15 2022 user.notice wireguard-debug: USER=root ifname=wgclient ACTION=REKEY-TIMEOUT SHLVL=2 HOME=/

and following as the device comes up:
Tue Jun 21 03:03:04 2022 daemon.notice netifd: Interface ‘wgclient’ is setting up now
Tue Jun 21 03:03:05 2022 daemon.notice netifd: wgclient (x): RTNETLINK answers: No buffer space available

The wireguard config itself is fine - I happen to own both a Flint and a Beryl, both of which I tested same config on Im using for the Slate AX.

Please do kindly look into this soon, as for me this is main use case for this device.

Thanks a lot
Ray

PS: Googling the error msg leads me to your Chinese dev(?) forum

Please check the time and timezone settings. Are they the same at both wireguard endpoints?

Hi Lupus, thanks for the quick followup! Appreciate it.

Hm, actually, the timezones were indeed different.

However the same error still persists, even after putting the Slate AX also into the right timezone/also on UTC. (also rebooted the router twice, removed and re-added the configs, etc. to make sure…)

Thanks a lot
Michael

Edit: Think this may be affecting more devices/users.
@hajjouj just now posted same issue on Flint after upgrade to 4.0.0 release 2
I am on 4.0.0 release 3, compiled 2022-06-03 18:19:56(UTC+08:00)

Please provide firmware version and build information.

Is it your own server you’re trying to connect to? If so, try PersistentKeepalive = 25
I’m not sure why that worked with my config but it did. I cannot connect to any PIA WireGuard servers at all whereas I am able to connect all 3 of my other GL-iNet routers to PIA wireguard via the app. Something is definitely up.

I am on 4.0.0 release 3, compiled 2022-06-03 18:19:56(UTC+08:00)

@RevelRob This unfortunately didn’t work for me either, although I run my own server

Today I just tried one wireguard config and it has this error. But it turns out it is the config’s problem. Maybe it is used in other devices or something.

I’m using the Agristan script to setup the server and client configs for wireguard (as probably do many, given popularity coming from OpenVPN)

This particular server is already being used with 2 other glinet devices (Beryl and Flint, both on a 3.x firmware) and its working fine. I generate new configs for every new device also.

Just to make sure its not an issue with this particular config in the SlateAX, I transferred over the wg config from my Beryl to Slate - where it didn’t work. Switched it back onto the Beryl, works again. (I’m c&p the manual config as to avoid fat fingering)

So unsure if its a problem with the same config being on two devices.