I get the following every time I go to the VPN Dashboard:
“Unknown error occurred. Please check the network environment or reboot the device.“
I do not notice any issue. And the VPN (WG client) seems to be working well. I see the following in the nginx log which seems related:
2022/10/05 21:00:46 [error] 4455#0: *555 lua entry thread aborted: runtime error: /usr/lib/oui-httpd/rpc/vpn-policy:77: bad argument #2 to 'tonumber' (integer expected, got string)
stack traceback:
coroutine 0:
[C]: in function 'tonumber'
/usr/lib/oui-httpd/rpc/vpn-policy:77: in function </usr/lib/oui-httpd/rpc/vpn-policy:70>
(tail call): ?
/usr/share/gl-ngx/oui-rpc.lua:143: in function '?'
/usr/share/gl-ngx/oui-rpc.lua:195: in function </usr/share/gl-ngx/oui-rpc.lua:1>, client: 192.168.88.115, server: , request: "POST /rpc HTTP/1.1", host: "192.168.88.1", referrer: "http://192.168.88.1/"
This is an upgrade from the previous 4.0.0 keeping settings.