NEVPNConnectionErrorDomainPlugin code 7 on URLFilter sample code

Hello,

I have been playing around the the SimpleURLFilter sample code. I keep getting this error upon installed the filter profile on the device:

mapError unexpected error domain NEVPNConnectionErrorDomainPlugin code 7

which then causes this error:

Received filter status change: <FilterStatus: 'stopped' errorMessage: 'The operation couldn’t be completed. (NetworkExtension.NEURLFilterManager.Error error 14.)'>

I can't find much info about code 7.

Here is the configuration I am trying to run:

<Configuration: pirServerURL: 'http://MyComputer.local:8080' pirAuthenticationToken: 'AAAA' pirPrivacyPassIssuerURL: 'http://MyComputer.local:8080' enabled: 'true' shouldFailClosed: 'true' controlProviderBundleIdentifier: 'krpaul.SimpleURLFilter.SimpleURLFilterExtension' prefilterFetchInterval: '2700.0'>
Answered by DTS Engineer in 860838022

What platform are you testing this on?

I've submitted a bug report: FB20479096

OK. But it has no sysdiagnose log, which is gonna limit its ability to get traction. I recommend that you grab a sysdiagnose log immediately after reproducing the problem and then attach it to your bug. See our Bug Reporting > Profiles and Logs for more on sysdiagnose logs.

Oh, and while you’re there, have a read of the VPN (Network Extension) for the platform you’re targeting and enable the extra diagnostics.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I see that another developer has also run into this issue: https://developer.apple.com/forums/thread/791352?answerId=847563022#847563022

The suggested fix of quitting the Settings app before configuring the app did not work for me. I've submitted a bug report: FB20479096

What platform are you testing this on?

I've submitted a bug report: FB20479096

OK. But it has no sysdiagnose log, which is gonna limit its ability to get traction. I recommend that you grab a sysdiagnose log immediately after reproducing the problem and then attach it to your bug. See our Bug Reporting > Profiles and Logs for more on sysdiagnose logs.

Oh, and while you’re there, have a read of the VPN (Network Extension) for the platform you’re targeting and enable the extra diagnostics.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

NEVPNConnectionErrorDomainPlugin code 7 on URLFilter sample code
 
 
Q