Hi @ss-abramchuk,
I hope you are feeling better, mate.
When trying to connect the following steps have to be taken:
self.tunnelProviderManager?.loadFromPreferences and then
self.tunnelProviderManager?.saveToPreferences
if no errors then load the config again:
self.tunnelProviderManager?.loadFromPreferences
and only then connect:
self.tunnelProviderManager!.connection.startVPNTunnel()
This works fine from the app. But when using Siri shortcuts and trying to connect though Intent extension, it fails at saving the config:
Failed to save configuration: Error Domain=NEVPNErrorDomain Code=1 "configuration type is wrong" UserInfo={NSLocalizedDescription=configuration type is wrong}
Is there anyway to know why it thinks the config is wrong?
Many Thanks,
Houman
Hi @ss-abramchuk,
I hope you are feeling better, mate.
When trying to connect the following steps have to be taken:
if no errors then load the config again:
self.tunnelProviderManager?.loadFromPreferencesand only then connect:
self.tunnelProviderManager!.connection.startVPNTunnel()This works fine from the app. But when using Siri shortcuts and trying to connect though
Intent extension, it fails at saving the config:Is there anyway to know why it thinks the config is wrong?
Many Thanks,
Houman