Menu

Why does my device on Android N randomly reboot when using Knox VPN?

Article ID: 115012110827 | Last Review: September 1, 2017 | Revision 1

Samsung Android devices on N OS

[Issue]
When using a proxy server with Knox VPN, the device can reboot randomly. You may see the following entries in the device log.

04-26 09:28:41.254  1261  3316 E KnoxVpnProxyServer: Error occured while accepting the packets from the local proxy port for the profile <xyz>
04-26 09:28:41.254  1261  3316 E KnoxVpnProxyServer: java.net.SocketException: Too many open files
04-26 09:28:41.254  1261  3316 E KnoxVpnProxyServer:    at java.net.PlainSocketImpl.socketAccept(Native Method)
04-26 09:28:41.254  1261  3316 E KnoxVpnProxyServer:    at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:389)
04-26 09:28:41.254  1261  3316 E KnoxVpnProxyServer:    at java.net.ServerSocket.implAccept(ServerSocket.java:531)
04-26 09:28:41.254  1261  3316 E KnoxVpnProxyServer:    at java.net.ServerSocket.accept(ServerSocket.java:499)
04-26 09:28:41.254  1261  3316 E KnoxVpnProxyServer:    at com.android.server.enterprise.vpn.knoxvpn.KnoxVpnProxyServer.run(KnoxVpnProxyServer.java:310)

[Cause]
The issue was caused by a memory leak which kept the socket open, resulting in increasing socket connections.

[Resolution]
Issue is fixed in device software updates released in June 2017 or later. Update your device.
Share it: