OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: benyamin on March 22, 2023, 10:49:50 PM

Title: [SOLVED] OpenVPN dashboard widget shows no client info on 23.1.4
Post by: benyamin on March 22, 2023, 10:49:50 PM
Hi everyone,

Is it just me, or does anyone else have an empty OpenVPN dashboard widget?

Maybe a regression due to: openvpn: add ovpn_status.py script and configd action to fetch connected clients...?
Title: Re: OpenVPN dashboard widget shows no info on 23.1.4
Post by: benyamin on March 22, 2023, 11:04:33 PM
Maybe one of the commits here: https://github.com/opnsense/core/issues/6382 (https://github.com/opnsense/core/issues/6382)...?
Title: Re: OpenVPN dashboard widget shows no info on 23.1.4
Post by: alex303 on March 22, 2023, 11:18:53 PM
Just upgraded to 23.1.4_1 and im facing same issue. Openvpn widget is showing nothing. Removing and adding widget didnt help. Starting and stopping openvpn service didnt help. Rebooting the appliance didnt help either. However, VPN tunel is up and running.
Title: Re: OpenVPN dashboard widget shows no info on 23.1.4
Post by: Fright on March 23, 2023, 01:45:50 PM
Hi

client connections or client instances?
Title: Re: OpenVPN dashboard widget shows no info on 23.1.4
Post by: benyamin on March 23, 2023, 02:41:42 PM
If I understand your query correctly, Connections. iirc, the widget used to display the name, gateway and i/f addresses (stacked) plus a red / green bidirectional arrow status indicator.

I've also noticed that if you click through to Connection Status, the client Names appear to have a colon appended. iirc, that wasn't there beforehand, but I could certainly be mistaken.

If I'd hazard a guess, I'd say there's a regression in the work to migrate to MVC (whether issue 6382 (https://github.com/opnsense/core/issues/6382), issue 6376 (https://github.com/opnsense/core/issues/6376) or elsewhere, i couldn't say), perhaps related to the deletion of src/www/status_openvpn,php, but I'm just guessing.
Title: Re: OpenVPN dashboard widget shows no info on 23.1.4
Post by: alex303 on March 23, 2023, 02:52:50 PM
Im talking about Openvpn widget on main webui page.

This is how it used to be before updating to 23.1.4_1

(https://i.imgur.com/r1f106u.png)

This is how it looks after i updated to 23.1.4_1

(https://i.imgur.com/cAeok6c.png)

This is the screenshot of VPN / OpenVPN / Connection Status

(https://i.imgur.com/0vCFl1r.png)



Title: Re: OpenVPN dashboard widget shows no info on 23.1.4
Post by: Fright on March 23, 2023, 03:22:25 PM
yep, looks like a typo
can you test
opnsense-patch -a kulikov-a cf96c24
please?
Title: Re: OpenVPN dashboard widget shows no info on 23.1.4
Post by: alex303 on March 23, 2023, 03:57:22 PM
Quote from: Fright on March 23, 2023, 03:22:25 PM
yep, looks like a typo
can you test
opnsense-patch -a kulikov-a cf96c24
please?

Yup. That fixed it. Thank you sir.
Title: Re: OpenVPN dashboard widget shows no info on 23.1.4
Post by: benyamin on March 24, 2023, 01:29:50 AM
Thanks Fright..!  :D

I used: opnsense-patch 13d77cc ...following the merge.

It looks like a couple more commits are needed for the server status to be fixed, but this was for clients. I'll update the title + [SOLVED].