Closed gsanchietti closed 1 month ago
Steps to reproduce
Expected behavior
The UI should display the drawer and list all available IP addresses inside the "WAN IP address field".
Actual behavior
The UI fails on ns.ipsectunnel list-wans API call.
ns.ipsectunnel list-wans
Error is:
# /usr/libexec/rpcd/ns.ipsectunnel call list-wans Traceback (most recent call last): File "/usr/libexec/rpcd/ns.ipsectunnel", line 380, in <module> ret = {"wans": utils.get_all_wan_ips(EUci())} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/nethsec/utils/__init__.py", line 506, in get_all_wan_ips ret.append({"device": f'{interface.replace("@","")} ({device})', "ipaddr": ip}) ^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'replace'
Components
Version: 8-23.05.3-ns.0.0.5-rc2
See also
https://partner.nethesis.it/t/nethsecurity-8-ed-errore-durante-creazione-tunnel-ipsec/8629
Thanks to Sandro Gregori
Testing image version: 8-23.05.3-ns.0.0.5-rc2-81-gf04a739
Verified.
Steps to reproduce
Expected behavior
The UI should display the drawer and list all available IP addresses inside the "WAN IP address field".
Actual behavior
The UI fails on
ns.ipsectunnel list-wans
API call.Error is:
Components
Version: 8-23.05.3-ns.0.0.5-rc2
See also
https://partner.nethesis.it/t/nethsecurity-8-ed-errore-durante-creazione-tunnel-ipsec/8629
Thanks to Sandro Gregori