¿Usando git Repo https://github.com/tylerjroach/eventsource-android y no está funcionando?

Estoy usando este android git REPO https://github.com/tylerjroach/eventsource-android Implementé el método

public void onConnects() { Thread eventThread = new Thread(new Runnable() { @Override public void run() { try { eventSource = new EventSource(URI.create(myApiUrl), new SSEHandler(), true); eventSource.connect(); } catch(Exception e) { e.printStackTrace(); } } }); eventThread.start(); } 

Pero tuve que cambiar eventsource.connect (); de privado a público para permitir que esto funcione. Luego, puse mi URL de Api y los parameters y falló. ¿¿Que esta pasando aqui??

Aquí está My Stack Trace

02-18 02: 16: 37.315 18398-18411 / com.athena.myapplication W / System.err: org.jboss.netty.channel.ChannelException: no se pudo abrir un socket. 02-18 02: 16: 37.315 18398-18411 / com.athena.myapplication W / System.err: at org.jboss.netty.channel.socket.nio.NioClientSocketChannel.newSocket (NioClientSocketChannel.java:49) 02-18 02 : 16: 37.315 18398-18411 / com.athena.myapplication W / System.err: at org.jboss.netty.channel.socket.nio.NioClientSocketChannel. (NioClientSocketChannel.java:83) 02-18 02: 16: 37.315 18398 -18411 / com.athena.myapplication W / System.err: at org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory.newChannel (NioClientSocketChannelFactory.java:167) 02-18 02: 16: 37.315 18398-18411 / com .athena.myapplication W / System.err: at org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory.newChannel (NioClientSocketChannelFactory.java:86) 02-18 02: 16: 37.315 18398-18411 / com.athena.myapplication W / System.err: en org.jboss.netty.bootstrap.ClientBootstrap.connect (ClientBootstrap.java:218) 02-18 02: 16: 37.315 18398-18411 / com.athena.myapplication W / System.err: en org .jboss.netty.bootstrap.ClientBootstrap.connect (ClientBootstra p.java:188) 02-18 02: 16: 37.315 18398-18411 / com.athena.myapplication W / System.err: at org.jboss.netty.bootstrap.ClientBootstrap.connect (ClientBootstrap.java:159) 02- 18 02: 16: 37.315 18398-18411 / com.athena.myapplication W / System.err: at tylerjroach.com.eventsource_android.EventSource.connect (EventSource.java:149) 02-18 02: 16: 37.315 18398-18411 / com.athena.myapplication W / System.err: at com.athena.myapplication.MainActivity $ 2.run (MainActivity.java:63) 02-18 02: 16: 37.315 18398-18411 / com.athena.myapplication W / System. err: en java.lang.Thread.run (Thread.java:841) 02-18 02: 16: 37.315 18398-18411 / com.athena.myapplication W / System.err: Causado por: java.net.SocketException: socket error: EACCES (Permiso denegado) 02-18 02: 16: 37.315 18398-18411 / com.athena.myapplication W / System.err: en libcore.io.IoBridge.socket (IoBridge.java:576) 02-18 02: 16: 37.315 18398-18411 / com.athena.myapplication W / System.err: at java.nio.SocketChannelImpl. (SocketChannelImpl.java:102) 02-18 02: 16: 37.315 18398-18411 / com.athena .myapplication W / System.err: en java.nio.SocketChannelImpl. (SocketChannelImpl.java:93) 02-18 02: 16: 37.315 18398-18411 / com.athena.myapplication W / System.err: en java.nio. SelectorProviderImpl.openSocketChannel (SelectorProviderImpl.java:49) 02-18 02: 16: 37.315 18398-18411 / com.athena.myapplication W / System.err: en java.nio.channels.SocketChannel.open (SocketChannel.java:81) 02-18 02: 16: 37.315 18398-18411 / com.athena.myapplication W / System.err: at org.jboss.netty.channel.socket.nio.NioClientSocketChannel.newSocket (NioClientSocketChannel.java:47) 02-18 02 : 16: 37.315 18398-18411 / com.athena.myapplication W / System.err: … 9 más 02-18 02: 16: 37.315 18398-18411 / com.athena.myapplication W / System.err: Causado por: libcore.io.ErrnoException: socket failed: EACCES (Permiso denegado) 02-18 02: 16: 37.325 18398-18411 / com.athena.myapplication W / System.err: at libcore.io.Posix.socket (Método nativo) 02 -18 02: 16: 37.325 18398-18411 / com.athena.myapplication W / System.err: at libcore.io.BlockGuardOs.socket (BlockGuar dOs.java:181) 02-18 02: 16: 37.325 18398-18411 / com.athena.myapplication W / System.err: en libcore.io.IoBridge.socket (IoBridge.java:561) 02-18 02:16 : 37.325 18398-18411 / com.athena.myapplication W / System.err: … 14 más