geeksville / arduleader

An android ground controller (and other things) for Mavlink/Arduplane
Other
143 stars 92 forks source link

libcore.io.ErrnoException: isConnected failed: EACCES (Permission denied) #187

Open geeksville opened 9 years ago

geeksville commented 9 years ago
java.lang.SecurityException: failed to connect to www.swpc.noaa.gov/2610:20:8000:8c01::24 (port 80) after 90000ms: isConnected failed: EACCES (Permission denied)
at libcore.io.IoBridge.isConnected(IoBridge.java:252)
at libcore.io.IoBridge.connectErrno(IoBridge.java:178)
at libcore.io.IoBridge.connect(IoBridge.java:112)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)
at java.net.Socket.connect(Socket.java:857)
at libcore.net.http.HttpConnection.<init>(HttpConnection.java:76)
at libcore.net.http.HttpConnection.<init>(HttpConnection.java:50)
at libcore.net.http.HttpConnection$Address.connect(HttpConnection.java:340)
at libcore.net.http.HttpConnectionPool.get(HttpConnectionPool.java:87)
at libcore.net.http.HttpConnection.connect(HttpConnection.java:128)
at libcore.net.http.HttpEngine.openSocketConnection(HttpEngine.java:316)
at libcore.net.http.HttpEngine.connect(HttpEngine.java:311)
at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:290)
at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:240)
at libcore.net.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:292)
at libcore.net.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:185)
at java.net.URL.openStream(URL.java:462)
at com.geeksville.sunspot.SunspotClient$.getCurrentLevel(SunspotClient.scala:37)
at com.geeksville.andropilot.gui.SunspotDetectorTask.inBackground(SunspotDetectorTask.scala:18)
at com.ridemission.scandroid.AsyncVoidTask.doInBackground(AsyncVoidTask.java:16)
at com.ridemission.scandroid.AsyncVoidTask.doInBackground(AsyncVoidTask.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)
Caused by: libcore.io.ErrnoException: isConnected failed: EACCES (Permission denied)
at libcore.io.IoBridge.isConnected(IoBridge.java:234)
... 28 more
java.lang.SecurityException: failed to connect to www.swpc.noaa.gov/2610:20:8000:8c01::24 (port 80) after 90000ms: isConnected failed: EACCES (Permission denied)
at libcore.io.IoBridge.isConnected(IoBridge.java:252)
at libcore.io.IoBridge.connectErrno(IoBridge.java:178)
at libcore.io.IoBridge.connect(IoBridge.java:112)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)
at java.net.Socket.connect(Socket.java:857)
at libcore.net.http.HttpConnection.<init>(HttpConnection.java:76)
at libcore.net.http.HttpConnection.<init>(HttpConnection.java:50)
at libcore.net.http.HttpConnection$Address.connect(HttpConnection.java:340)
at libcore.net.http.HttpConnectionPool.get(HttpConnectionPool.java:87)
at libcore.net.http.HttpConnection.connect(HttpConnection.java:128)
at libcore.net.http.HttpEngine.openSocketConnection(HttpEngine.java:316)
at libcore.net.http.HttpEngine.connect(HttpEngine.java:311)
at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:290)
at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:240)
at libcore.net.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:292)
at libcore.net.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:185)
at java.net.URL.openStream(URL.java:462)
at com.geeksville.sunspot.SunspotClient$.getCurrentLevel(SunspotClient.scala:37)
at com.geeksville.andropilot.gui.SunspotDetectorTask.inBackground(SunspotDetectorTask.scala:18)
at com.ridemission.scandroid.AsyncVoidTask.doInBackground(AsyncVoidTask.java:16)
at com.ridemission.scandroid.AsyncVoidTask.doInBackground(AsyncVoidTask.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)
Caused by: libcore.io.ErrnoException: isConnected failed: EACCES (Permission denied)
at libcore.io.IoBridge.isConnected(IoBridge.java:234)
... 28 more