Hey Karol, what happens if you save? Do you get a validation error? I had the same problem recently and it was because of the new "context" field, I sent a fix for it last month: https://github.com/openwisp/django-netjsonconfig/commit/59dbd8691b66ba7c947593b829583a57b7ba5313 Is your code up to date?
Federico On Mon, Mar 18, 2019 at 4:03 PM Karol Ołtarzewski <2004ka...@gmail.com> wrote: > Do I need to make some changes in browser openwrt UI after making OpenVPN > configuration for my router in openwisp-controller? The configuration seems > to be applied and I am not able to preview my configuration because I am > getting `django.core.exceptions.ValidationError: ['Enter valid JSON']` in > my console however I can download my configuration and see what is changed, > my openVPN configuration after downloading it: > ``` > config openvpn 'VPN' > option auth 'SHA1' > option auth_retry 'none' > option ca '/etc/certs/ca.pem' > option cert '/etc/certs/mycert-crt.pem' > option cipher 'BF-CBC' > option comp_lzo 'adaptive' > option dev 'VPN' > option dev_type 'tun' > option enabled '1' > option fast_io '0' > option float '0' > option fragment '0' > option key '/etc/certs/mycert-key.pem' > option mode 'p2p' > option mssfix '1450' > option mtu_disc 'no' > option mtu_test '0' > option mute '0' > option mute_replay_warnings '0' > option nobind '1' > option persist_key '0' > option persist_tun '0' > option port '1194' > option proto 'udp' > option pull '1' > list remote '192.168.8.1 1194' > option remote_random '0' > option reneg_sec '3600' > option resolv_retry 'infinite' > option script_security '1' > option tls_client '1' > option tls_timeout '2' > option tun_ipv6 '0' > option up_delay '0' > option verb '1' > ``` > > -- > You received this message because you are subscribed to the Google Groups > "OpenWISP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to openwisp+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.