Openvpn4UCS Errors


#1

After upgrading to v.1.1.1 of OpenVPN4UCS. When trying to view active users I get the following error:

DataTables warning: table id=test2 - Ajax error. For more information about this error, please see datatables.net/tn/7

Not finding much about this, but pretty much makes the view active users option useless.

Any suggestions or workarounds?


#2

Hello,

thank you for finding a bug in Openvpn4UCS. We fixed this for upcoming versions.

If you don’t want to wait you can edit /usr/lib/openvpn-int/display_users/service.py. Please remove the first appearance of

key = me[0][1]['univentionOpenvpnLicense'][0]

in the function called ‘connected_users()’ and execute the following command:

/etc/init.d/display_users restart

Regards

Fedor Scholz


#3

I’ll go test this in Dev. I’ll let you know the results.


#4

It appears this error is back, however the line that was requested to be removed does not exist.

key = me[0][1][‘univentionOpenvpnLicense’][0] does not exist under connected_users()’

How ever it does exist under def license_stats().


#5

Hello,

I would like to have some more information. Did removing the line fix the problem temporarily? Did you make an update of openvpn4ucs afterwards? Which version do you use now? Also, you could check again whether the display_users daemon is running or just execute

/etc/init.d/display_users restart

again.

Regards

Fedor Scholz