Comments (6)
Tested on iOS 10.0 and 10.2.1, using XCode 8.2.1
I ran a simple memory allocation test in the app extension, without linking to NEKit. I allocated >42MiB (an upper bound for the alleged VPN memory limit). The app extension terminates with the following error:
neagent(NetworkExtension)<Info>: Error while calling extension: Error Domain=NSCocoaErrorDomain Code=4097 "connection from pid 535" UserInfo={NSDebugDescription=connection from pid 535}
neagent(PlugInKit)<Notice>: connection to plug-in <private>(E01000D8-AE64-4014-95BD-6E85AA6A7AB7) lost
neagent(PlugInKit)<Notice>: connection to plug-in <private>(<private>) lost
neagent(Foundation)<Notice>: extension connection was interrupted
neagent(NetworkExtension)<Error>: Extension org.xxx.yyy.extension died unexpectedly
The termination error code and exhibited behavior are the same as when NEKit is imported.
from nekit.
I think any wrong configuration that prohibits the start of the extension would yield the same error. Maybe you forgot to link some frameworks in extension.
from nekit.
You are absolutely right, there were some missing dependencies.
I was thrown off by the lack of a crash report.
from nekit.
I see this error from time to time, 90% of the time tunnel is working just fine, and then it will just randomly stop working at some point
from nekit.
@albertolalama can you tell me what dependence you missing? I get the same problem!
from nekit.
I solved the problem by add link all framework to the extension. THX @zhuhaow so much
from nekit.
Related Issues (20)
- 使用NEKit能否完全使用tcp/udp的方式去代理呢? HOT 2
- 关于dns转发的疑问 HOT 15
- nekit vpn打开之后 微信,qq 这种基于socket做的通信类app都无法访问
- 请问支持V2ray vmess协议吗? HOT 3
- 我设置全局走代理,ios12正常,ios13偶尔不走代理
- 编译报错(Module 'NEKit' was created for incompatible target x86_64-apple-macos10.11:) HOT 2
- support SSR? HOT 1
- mayday mayday telegram连接的问题 HOT 2
- is there any plan to support AES256GCM?
- xcode11.2.1 telegram socks5代理连接失败 HOT 3
- Question HOT 2
- How to support aes-256-gcm? HOT 2
- xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH HOT 1
- 新手问一下怎么打包带CHACHA20POLY1305的项目 HOT 1
- 求助HTTPS代理怎么设置呢? HOT 29
- 你好,我试用NEkit 软件在后台经常遇到Crashed HOT 11
- 这个框架能链接V2ray吗
- Fails when `Building scheme "iOS Framework" in CocoaAsyncSocket.xcodeproj` HOT 5
- 升级到最新的NEKit ,iOS和MacOS上连接正常的SS都是先连接成功然后过几秒就断开 HOT 6
- 连接几次后,打开网络或者请求VPN就会断开,请问什么原因 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nekit.