Posts

Post not yet marked as solved
7 Replies
402 Views
Version: MacOS 12.1 When I was using NETransparentProxyProvider, I overrive handleNewFlow, handleNewUDPFlow , and return true for some process, and then call - (void)openWithLocalEndpoint:(NWHostEndpoint *)localEndpoint completionHandler:(void (^)(NSError *error))completionHandler; at the beginning, work fine, buy sometime, when I visited qiye.163.com website, I often got an error when I do code below: - (void)writeData:(NSData *)data withCompletionHandler:(void (^)(NSError *error))completionHandler; Error Domain=NEAppProxyFlowErrorDomain Code=1 "The operation could not be completed because the flow is not connected" UserInfo={NSLocalizedDescription=The operation could not be completed because the flow is not connected , and the whole computer could not access the Internet , handleNewFlow and handleNewUDPFlow both are no longer called, unless I turn off the VPN. Turn off VPN and then Internet can be access
Posted
by qifengle.
Last updated
.
Post not yet marked as solved
1 Replies
194 Views
When I use NEAppProxyProvider system extension, I call OSSystemExtensionRequest.activationRequest and submitRequest, it can do success in macos 11.6, but failed in macos10.15.7 (got: Error Domain=OSSystemExtensionErrorDomain Code=9 "(null)") Why? Here is my plist <dict> <key>NEMachServiceName</key> <string>$(TeamIdentifierPrefix)</string> <key>NEProviderClasses</key> <dict> <key>com.apple.networkextension.app-proxy</key> <string>$(PRODUCT_MODULE_NAME).AppProxyProvider</string> </dict> </dict>
Posted
by qifengle.
Last updated
.