Snapctl apparmor="DENIED" for inet in configure hook

How to solve the following AppArmor errors with snapctl?

Mar 15 09:17:40 C032031826-00077 audit[26801]: AVC apparmor=“DENIED” operation=“create” profile=“snap.rigado-wirepas.hook.configure” pid=26801 comm=“snapctl” family=“inet” sock_type=“stream” protocol=6 requested_mask=“create” denied_mask=“create”
Mar 15 09:17:40 C032031826-00077 audit[26801]: AVC apparmor=“DENIED” operation=“create” profile=“snap.rigado-wirepas.hook.configure” pid=26801 comm=“snapctl” family=“inet6” sock_type=“stream” protocol=6 requested_mask=“create” denied_mask=“create”
Mar 15 09:17:40 C032031826-00077 audit[26801]: AVC apparmor=“DENIED” operation=“create” profile=“snap.rigado-wirepas.hook.configure” pid=26801 comm=“snapctl” family=“inet6” sock_type=“stream” protocol=6 requested_mask=“create” denied_mask=“create”
Mar 15 09:17:40 C032031826-00077 audit[26808]: AVC apparmor=“DENIED” operation=“create” profile=“snap.rigado-wirepas.hook.configure” pid=26808 comm=“snapctl” family=“inet” sock_type=“stream” protocol=6 requested_mask=“create” denied_mask=“create”
Mar 15 09:17:40 C032031826-00077 audit[26808]: AVC apparmor=“DENIED” operation=“create” profile=“snap.rigado-wirepas.hook.configure” pid=26808 comm=“snapctl” family=“inet6” sock_type=“stream” protocol=6 requested_mask=“create” denied_mask=“create”
Mar 15 09:17:40 C032031826-00077 audit[26808]: AVC apparmor=“DENIED” operation=“create” profile=“snap.rigado-wirepas.hook.configure” pid=26808 comm=“snapctl” family=“inet6” sock_type=“stream” protocol=6 requested_mask=“create” denied_mask=“create”

Have you connected the snap to the network interface? The hooks should inherit the confinement assertion settings IIRC.

do you have an IPv6 network connection set up on your network interface ? else you can ignore these …