ClosedChannelException - Not blocking YouTube ads

Discussion in 'Discussion (Beta Versions)' started by Gowtham, Jan 29, 2017.

Tags:
  1. Gowtham

    Gowtham Beta Tester

    Joined:
    Jan 22, 2017
    Messages:
    22
    I got the above exception as a result of which I am able to see ads in YouTube
     
  2. Gowtham

    Gowtham Beta Tester

    Joined:
    Jan 22, 2017
    Messages:
    22
    java.nio.channels.ClosedChannelException: null
    at java.nio.SocketChannelImpl.checkOpenConnected(SocketChannelImpl.java:418) ~[na:0.0]
    at java.nio.SocketChannelImpl.write(SocketChannelImpl.java:357) ~[na:0.0]
    at com.adguard.commons.b.r.write(Unknown Source) ~[na:0.0]
    at com.adguard.commons.b.r.write(Unknown Source) ~[na:0.0]
    at org.apache.commons.io.output.ProxyOutputStream.write(Unknown Source) ~[na:0.0]
    at org.bouncycastle.crypto.tls.RecordStream.writeRecord(Unknown Source) ~[na:0.0]
    at org.bouncycastle.crypto.tls.TlsProtocol.safeWriteRecord(Unknown Source) ~[na:0.0]
    at org.bouncycastle.crypto.tls.TlsProtocol.raiseAlert(Unknown Source) ~[na:0.0]
    at org.bouncycastle.crypto.tls.TlsProtocol.failWithError(Unknown Source) ~[na:0.0]
    at org.bouncycastle.crypto.tls.TlsProtocol.safeWriteRecord(Unknown Source) ~[na:0.0]
    at org.bouncycastle.crypto.tls.TlsProtocol.writeData(Unknown Source) ~[na:0.0]
    at org.bouncycastle.crypto.tls.TlsOutputStream.write(Unknown Source) ~[na:0.0]
    at java.io_OutputStream.write(OutputStream.java:82) ~[na:0.0]
    at org.apache.commons.io.IOUtils.write(Unknown Source) ~[na:0.0]
    at com.adguard.filter.b.c.b(Unknown Source) ~[na:0.0]
    at com.adguard.filter.proxy.a.a(Unknown Source) ~[na:0.0]
    at com.adguard.filter.proxy.a.a(Unknown Source) ~[na:0.0]
    at com.adguard.filter.proxy.a.a(Unknown Source) ~[na:0.0]
    at com.adguard.android.filtering.filter.i.a(Unknown Source) ~[na:0.0]
    at com.adguard.filter.proxy.a.a(Unknown Source) ~[na:0.0]
    at com.adguard.android.filtering.filter.i.a(Unknown Source) ~[na:0.0]
    at com.adguard.filter.proxy.n.a(Unknown Source) ~[na:0.0]
    at com.adguard.filter.proxy.n$2.run(Unknown Source) ~[na:0.0]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) ~[na:0.0]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) ~[na:0.0]
    at java.lang.Thread.run(Thread.java:818) ~[na:0.0]
    14:35:17.744 [pool-2-thread-3471] ERROR com.adguard.filter.proxy.a - TCP id=115381 Error while processing connection. Connection info: com.jio.media.jiobeats /172.16.209.1:55292 /49.40.11.36:443 1015
     
  3. Gowtham

    Gowtham Beta Tester

    Joined:
    Jan 22, 2017
    Messages:
    22
    The error seems to say Unknown source. Probably the source doesn't exist which may have occurred due to some connection problem. Are you handling that exception?
     
  4. Boo Berry

    Boo Berry Moderator + Beta Tester Moderator

    Joined:
    May 30, 2012
    Messages:
    4,066
  5. Gowtham

    Gowtham Beta Tester

    Joined:
    Jan 22, 2017
    Messages:
    22
  6. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    13,143
    Which version of Youtube do you use?

    What are your device and Android OS versions?
     
  7. Emanuel

    Emanuel Beta Tester

    Joined:
    Nov 17, 2016
    Messages:
    6
    you tube android show ads latest version is 12.07.56
     
  8. vasily_bagirov

    vasily_bagirov Administrator Staff Member Administrator

    Joined:
    Jul 1, 2014
    Messages:
    6,905
    And what about your device and Android OS versions?
     
  9. Emanuel

    Emanuel Beta Tester

    Joined:
    Nov 17, 2016
    Messages:
    6
    my phone is a lg stylus 2 Sprint version android os is 7.0
     
  10. vasily_bagirov

    vasily_bagirov Administrator Staff Member Administrator

    Joined:
    Jul 1, 2014
    Messages:
    6,905