ovpn-admin
ovpn-admin copied to clipboard
Prebuilt binary - timeformat problem
Hi, we have problem with time format in prebuild binary. The GUI don't show all connected clients - in opvn managment inteface they are connected. We had upgrade binary to current version, but problem stil exist.
Here some logs: Nov 30 10:54:47 openvpn ovpn-admin[10649]: 2021/11/30 10:54:47 parsing time "Sat Nov 27 20:21:32 2021" as "2006-01-02 15:04:05": cannot parse "Sat Nov 27 20:21:32 2021" as "2006" Nov 30 10:54:47 openvpn ovpn-admin[10649]: 2021/11/30 10:54:47 parsing time "Fri Nov 26 14:43:22 2021" as "2006-01-02 15:04:05": cannot parse "Fri Nov 26 14:43:22 2021" as "2006" Nov 30 10:54:47 openvpn ovpn-admin[10649]: 2021/11/30 10:54:47 parsing time "Fri Nov 26 14:43:22 2021" as "2006-01-02 15:04:05": cannot parse "Fri Nov 26 14:43:22 2021" as "2006" Nov 30 10:54:47 openvpn ovpn-admin[10649]: 2021/11/30 10:54:47 parsing time "Fri Nov 26 23:55:03 2021" as "2006-01-02 15:04:05": cannot parse "Fri Nov 26 23:55:03 2021" as "2006" Nov 30 10:54:47 openvpn ovpn-admin[10649]: 2021/11/30 10:54:47 parsing time "Mon Nov 29 20:38:10 2021" as "2006-01-02 15:04:05": cannot parse "Mon Nov 29 20:38:10 2021" as "2006" Nov 30 10:54:47 openvpn ovpn-admin[10649]: 2021/11/30 10:54:47 parsing time "Sun Nov 28 22:55:25 2021" as "2006-01-02 15:04:05": cannot parse "Sun Nov 28 22:55:25 2021" as "2006"
Maybe we need to allow customizing time layout
Hello,
I have the same problem. I get the same error message. My server :
Ubuntu 20.04 Time zone : Europe/Prague
@reneseifert @wojnas which locale do you use?
can you please provide output of locale
command?
Hey, root@openvpn:~# locale LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= root@openvpn:~# y^C root@openvpn:~# timedatectl Local time: Thu 2022-01-20 16:30:47 CET Universal time: Thu 2022-01-20 15:30:47 UTC RTC time: Thu 2022-01-20 15:30:48 Time zone: Europe/Warsaw (CET, +0100) System clock synchronized: yes NTP service: active RTC in local TZ: no
Hi,
locale
LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=
timedatectl
Local time: Thu 2022-01-20 18:29:49 CET
Universal time: Thu 2022-01-20 17:29:49 UTC
RTC time: Thu 2022-01-20 17:29:50
Time zone: Europe/Prague (CET, +0100)
System clock synchronized: yes
NTP service: n/a
RTC in local TZ: no
I got this issue, too. Is there any workaround? @pashcovich
@isdzulqor @reneseifert @wojnas are you using openvpn server version 2.4?
yes - OpenVPN Version: OpenVPN 2.4.7
I think we have already fixed this problem and the changes have been made to the master
branch, but we are still preparing a new release
@vitaliy-sn do you have any additional info about this problem?
I have OpenVPN 2.4.7 too.