You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.
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
The text was updated successfully, but these errors were encountered:
Hello, FYI I was trying to implement Siri Shortcuts/Intents integration for a VPN iOS app and got the same error. It looks like it’s an Apple bug https://developer.apple.com/forums/thread/96020 😕. That’s super annoying because it means we just can’t update configurations at the moment.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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?.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:Is there anyway to know why it thinks the config is wrong?
Many Thanks,
Houman
The text was updated successfully, but these errors were encountered: