Bug #5713
PsiphonHelper.isPortOpen noisy logs
Status: | New | Start date: | 08/27/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | n8fr8 | % Done: | 0% | |
Category: | - | |||
Target version: | - | |||
Component: |
Description
Would be nice to not spit out the stack trace.
08-27 10:38:14.226: W/System.err(32158): java.net.ConnectException: failed to connect to /127.0.0.1 (port 1089) after 100ms: isConnected failed: ECONNREFUSED (Connection refused)
08-27 10:38:14.226: W/System.err(32158): at libcore.io.IoBridge.isConnected(IoBridge.java:238)
08-27 10:38:14.226: W/System.err(32158): at libcore.io.IoBridge.connectErrno(IoBridge.java:171)
08-27 10:38:14.226: W/System.err(32158): at libcore.io.IoBridge.connect(IoBridge.java:122)
08-27 10:38:14.226: W/System.err(32158): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
08-27 10:38:14.226: W/System.err(32158): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:456)
08-27 10:38:14.226: W/System.err(32158): at java.net.Socket.connect(Socket.java:882)
08-27 10:38:14.226: W/System.err(32158): at info.guardianproject.netcipher.proxy.PsiphonHelper.isPortOpen(PsiphonHelper.java:140)
08-27 10:38:14.226: W/System.err(32158): at info.guardianproject.netcipher.proxy.PsiphonHelper$1.run(PsiphonHelper.java:62)
08-27 10:38:14.227: W/System.err(32158): Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused)
08-27 10:38:14.227: W/System.err(32158): at libcore.io.IoBridge.isConnected(IoBridge.java:223)
08-27 10:38:14.227: W/System.err(32158): ... 7 more