Chromecast Binding Errors?

I’m new to the Chromecast binding and I’m seeing error messages in the Karaf window as well as the OH log.

Can anyone suggest what might be going on??

KARAF WINDOW

java.lang.InterruptedException
        at java.lang.Object.wait(Native Method)
        at su.litvak.chromecast.api.v2.Channel$ResultProcessor.get(Channel.java:239)
        at su.litvak.chromecast.api.v2.Channel.send(Channel.java:367)
        at su.litvak.chromecast.api.v2.Channel.sendStandard(Channel.java:336)
        at su.litvak.chromecast.api.v2.Channel.getStatus(Channel.java:451)
        at su.litvak.chromecast.api.v2.ChromeCast.getStatus(ChromeCast.java:179)
        at org.openhab.binding.chromecast.internal.ChromecastCommander.handleRefresh(ChromecastComma
nder.java:87)
        at org.openhab.binding.chromecast.handler.ChromecastHandler$Coordinator$1.run(ChromecastHand
ler.java:231)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Scheduled
ThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadP
oolExecutor.java:294)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

OH.LOG

2018-07-23 21:07:05.704 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while reading
java.net.SocketException: Socket closed
	at java.net.SocketInputStream.socketRead0(Native Method) ~[?:?]
	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) [?:?]
	at java.net.SocketInputStream.read(SocketInputStream.java:171) [?:?]
	at java.net.SocketInputStream.read(SocketInputStream.java:141) [?:?]
	at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) [?:?]
	at sun.security.ssl.InputRecord.read(InputRecord.java:503) [?:?]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983) [?:?]
	at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940) [?:?]
	at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) [?:?]
	at sun.security.ssl.AppInputStream.read(AppInputStream.java:71) [?:?]
	at su.litvak.chromecast.api.v2.Channel.read(Channel.java:411) [265:org.openhab.binding.chromecast:2.3.0.201805271653]
	at su.litvak.chromecast.api.v2.Channel.access$200(Channel.java:50) [265:org.openhab.binding.chromecast:2.3.0.201805271653]
	at su.litvak.chromecast.api.v2.Channel$ReadThread.run(Channel.java:132) [265:org.openhab.binding.chromecast:2.3.0.201805271653]
2018-07-23 21:07:05.705 [WARN ] [su.litvak.chromecast.api.v2.Channel ] -  <--  null payload in message 
2018-07-23 21:07:05.706 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while closing channel
java.net.SocketException: Socket closed
	at java.net.SocketInputStream.socketRead0(Native Method) ~[?:?]
	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) [?:?]
	at java.net.SocketInputStream.read(SocketInputStream.java:171) [?:?]
	at java.net.SocketInputStream.read(SocketInputStream.java:141) [?:?]
	at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) [?:?]
	at sun.security.ssl.InputRecord.read(InputRecord.java:503) [?:?]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983) [?:?]
	at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940) [?:?]
	at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) [?:?]
	at sun.security.ssl.AppInputStream.read(AppInputStream.java:71) [?:?]
	at su.litvak.chromecast.api.v2.Channel.read(Channel.java:411) [265:org.openhab.binding.chromecast:2.3.0.201805271653]
	at su.litvak.chromecast.api.v2.Channel.access$200(Channel.java:50) [265:org.openhab.binding.chromecast:2.3.0.201805271653]
	at su.litvak.chromecast.api.v2.Channel$ReadThread.run(Channel.java:132) [265:org.openhab.binding.chromecast:2.3.0.201805271653]

Many thanks,

Squid

Bump.

Any suggestions??

I’m still seeing this error…any thoughts???

The Chromecast binding throws errors at me all of the time, but I didn’t worry about it since it didn’t seem to impact operation. Yesterday, I tried installing the latest snapshot binding. Now the error is shorter.

2019-05-07 19:30:14.922 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while reading, caused by su.litvak.chromecast.api.v2.ChromeCastException: Remote socket closed
2019-05-07 19:30:14.930 [WARN ] [su.litvak.chromecast.api.v2.Channel ] -  <--  null payload in message 

I’ve seen a few ideas as to why this happens, but nothing seems definitive.

@Kai have you been notified about the above error. I see the same quite a few times?

No need to notify me in person about every bug. Did anyone enter an issue in Github for it?

We do not need an issue for it. It is already known and cannot be solved by us:

Sorry, but since noone responded, I feared noone noticed.

I didn´t… I have yet to understand this Github at all and how to file issues… Even finding the binding on Github is a problem.

Entering issues isn’t hard, have a try here: https://github.com/openhab/openhab2-addons/issues/new?template=bug_report.md

My problem is not regarding how to, but where to find the place to file an issue…
I already got an github account.

The link @Kai provided above is where you post the bug report. The template provides all of the instructions as to what information is required…fill it out and hit the submit button.

2 Likes

Ahh okay, I see… I thought there were special “areas” at github for each binding/script etc…