IPC failed error during savePreference of FilterManager

Hi,


I have application on latest MacOS Catalina 10.15.5 beta where I have written simple application to catch the flow in NEFilterDataProvider.

After upgrading to latest beta version, i am not able to load Content Filter provider.

When I see the log i see following error


Failed to save configuration Filter Tunnel: Error Domain=NEConfigurationErrorDomain Code=11 "IPC failed" UserInfo={NSLocalizedDescription=IPC failed}


Can you please let me know in what scenario we get "IPC failed" error ?

same code was working with previous version, so please let me know if something new got added related to content filter extension. ?


Thanks for your help

Kumar

Replies

After upgrading to latest beta version, i am not able to load Content Filter provider.

Does your code continue to work on 10.15.4 GM?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Hi,


After doing some more testing found these things

1) Problem exist in my 10.15.4 enviornment also.

2) I have a VM snaphot where it works for me, but when I remove "Filter Tunnel" from "Networks" and restart my application it end up giving same error "IPC failed."

3) tested with removePrefs before savePref problem persisted.


In what scenario we get "IPC failed" error ?


Thanks for your help

Kumar

Hi, Few times, I am also facing with "IPC failed" error and few times I am facing with "permission denied" error with savePreferences. But My Content FilterDataProvider is working as expected. But why we got this error with savePreferences?

Thanks.