When I'm trying to close the tunnel at my MacOS VPN app, I can see the error
Error Domain=NETunnelProviderErrorDomain Code=3 "The request to set/clear the tunnel network settings failed." UserInfo={NSLocalizedDescription=The request to set/clear the tunnel network settings failed.
Why does it happening? And how can I prevent it?
Edit:
In case I got stopTunnelWithReason, do I still need to try and close the tunnel? or is it already done by the system?