Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit online users on list? #94

Closed
aetbx opened this issue Dec 27, 2021 · 7 comments · Fixed by #132
Closed

Limit online users on list? #94

aetbx opened this issue Dec 27, 2021 · 7 comments · Fixed by #132
Assignees
Labels
bug Something isn't working
Milestone

Comments

@aetbx
Copy link

aetbx commented Dec 27, 2021

Hello, I have a problem with the number of online users, there are only 12 randomly displayed online. When I add another new one, the list changes, but it always shows that there is only 12 online (green color). In openvpn-status.log all users are connected. Any ideas?

@aetbx aetbx changed the title It is limit online users on list? Limit online users on list? Dec 27, 2021
@pashcovich
Copy link
Contributor

pashcovich commented Jan 14, 2022

i just checked in one of our cluster and can see 19 online users

@aetbx
Copy link
Author

aetbx commented Jan 17, 2022

According to the logs, clients who parse incorrectly (12 clients) in the GUI display correctly, while the rest are not in the logs and there is no information about the connection in the GUI (in openvpn-status.log they are connected)

Jan 17 12:52:08 openvpn ovpn-admin[29359]: 2022/01/17 12:52:08 parsing time "Thu Jan 13 09:35:14 2022" as "2006-01-02 15:04:05": cannot parse "Thu Jan 13 09:35:14 2022" as "2006" Jan 17 12:52:08 openvpn ovpn-admin[29359]: 2022/01/17 12:52:08 parsing time "Tue Jan 11 18:10:30 2022" as "2006-01-02 15:04:05": cannot parse "Tue Jan 11 18:10:30 2022" as "2006" Jan 17 12:52:08 openvpn ovpn-admin[29359]: 2022/01/17 12:52:08 parsing time "Fri Jan 14 16:58:33 2022" as "2006-01-02 15:04:05": cannot parse "Fri Jan 14 16:58:33 2022" as "2006" Jan 17 12:52:08 openvpn ovpn-admin[29359]: 2022/01/17 12:52:08 parsing time "Sun Jan 9 14:47:41 2022" as "2006-01-02 15:04:05": cannot parse "Sun Jan 9 14:47:41 2022" as "2006" Jan 17 12:52:08 openvpn ovpn-admin[29359]: 2022/01/17 12:52:08 parsing time "Mon Jan 17 09:25:01 2022" as "2006-01-02 15:04:05": cannot parse "Mon Jan 17 09:25:01 2022" as "2006" Jan 17 12:52:08 openvpn ovpn-admin[29359]: 2022/01/17 12:52:08 parsing time "Fri Jan 7 08:03:53 2022" as "2006-01-02 15:04:05": cannot parse "Fri Jan 7 08:03:53 2022" as "2006" Jan 17 12:52:08 openvpn ovpn-admin[29359]: 2022/01/17 12:52:08 parsing time "Thu Jan 13 15:31:05 2022" as "2006-01-02 15:04:05": cannot parse "Thu Jan 13 15:31:05 2022" as "2006" Jan 17 12:52:08 openvpn ovpn-admin[29359]: 2022/01/17 12:52:08 parsing time "Wed Dec 8 01:33:41 2021" as "2006-01-02 15:04:05": cannot parse "Wed Dec 8 01:33:41 2021" as "2006" Jan 17 12:52:08 openvpn ovpn-admin[29359]: 2022/01/17 12:52:08 parsing time "Fri Dec 17 10:24:36 2021" as "2006-01-02 15:04:05": cannot parse "Fri Dec 17 10:24:36 2021" as "2006" Jan 17 12:52:08 openvpn ovpn-admin[29359]: 2022/01/17 12:52:08 parsing time "Mon Jan 17 11:48:12 2022" as "2006-01-02 15:04:05": cannot parse "Mon Jan 17 11:48:12 2022" as "2006" Jan 17 12:52:08 openvpn ovpn-admin[29359]: 2022/01/17 12:52:08 parsing time "Thu Jan 13 13:32:05 2022" as "2006-01-02 15:04:05": cannot parse "Thu Jan 13 13:32:05 2022" as "2006" Jan 17 12:52:08 openvpn ovpn-admin[29359]: 2022/01/17 12:52:08 parsing time "Wed Jan 12 10:59:29 2022" as "2006-01-02 15:04:05": cannot parse "Wed Jan 12 10:59:29 2022" as "2006" Jan 17 12:52:08 openvpn ovpn-admin[29359]: 2022/01/17 12:52:08 openssl x509 -in /etc/openvpn/easyrsa/pki/ca.crt -noout -enddate | awk -F "=" {'print $2'}

@pashcovich
Copy link
Contributor

@aetbx which locale do you use?
can you please provide output of locale command?

@aetbx
Copy link
Author

aetbx commented Jan 20, 2022

@aetbx which locale do you use? can you please provide output of locale command?

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=

@pashcovich
Copy link
Contributor

@aetbx sorry for the late response
which version of the openvpn server are you using?

@aetbx
Copy link
Author

aetbx commented Mar 11, 2022

@aetbx sorry for the late response which version of the openvpn server are you using?

Im using 2.4.7-1+deb10u1. I compiled source with different time formatting but still only shows 12/13 users online. Ofc errors have disappeared, so that's not the problem.

@eatrisno
Copy link

i think this is related to #114

@pashcovich pashcovich added the bug Something isn't working label Apr 21, 2022
@pashcovich pashcovich self-assigned this May 24, 2022
@pashcovich pashcovich added this to the 2.0 milestone May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants