question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[chromecast] "null payload in message" and "Error while reading" warnings

See original GitHub issue

I’m still getting exceptions at the chromecast binding. Shouldn’t this been resolved with the the new api-v2-0.10.3.jar library?

2018-07-30 04:06:03.757 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while reading
java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(SocketInputStream.java:210) [?:?]
        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:423) [188:org.openhab.binding.chromecast:2.4.0.201807281702]
        at su.litvak.chromecast.api.v2.Channel.access$200(Channel.java:51) [188:org.openhab.binding.chromecast:2.4.0.201807281702]
        at su.litvak.chromecast.api.v2.Channel$ReadThread.run(Channel.java:137) [188:org.openhab.binding.chromecast:2.4.0.201807281702]
2018-07-30 04:06:03.763 [WARN ] [su.litvak.chromecast.api.v2.Channel ] -  <--  null payload in message
2018-07-30 04:32:45.677 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while reading
java.net.SocketException: No route to host (Read failed)
        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:423) [188:org.openhab.binding.chromecast:2.4.0.201807281702]
        at su.litvak.chromecast.api.v2.Channel.access$200(Channel.java:51) [188:org.openhab.binding.chromecast:2.4.0.201807281702]
        at su.litvak.chromecast.api.v2.Channel$ReadThread.run(Channel.java:137) [188:org.openhab.binding.chromecast:2.4.0.201807281702]
2018-07-30 04:32:45.683 [WARN ] [su.litvak.chromecast.api.v2.Channel ] -  <--  null payload in message
2018-07-30 06:22:04.397 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while reading
java.net.SocketException: No route to host (Read failed)
        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:423) [188:org.openhab.binding.chromecast:2.4.0.201807281702]
        at su.litvak.chromecast.api.v2.Channel.access$200(Channel.java:51) [188:org.openhab.binding.chromecast:2.4.0.201807281702]
        at su.litvak.chromecast.api.v2.Channel$ReadThread.run(Channel.java:137) [188:org.openhab.binding.chromecast:2.4.0.201807281702]
2018-07-30 06:22:04.406 [WARN ] [su.litvak.chromecast.api.v2.Channel ] -  <--  null payload in message      

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
vitalidzecommented, Dec 16, 2018

@cweitkamp it’s done. Yet, I cannot tell when it will be released.

1reaction
vitalidzecommented, Feb 17, 2019

@tnemrap FYI, I have just released the 0.10.5 version of the library that contains changes in logging of exceptions. The release is going to be available in maven central soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chromecast Binding Log Errors - #17 by wborn
2.3.0 I have looked at several topics regarding log spamming by the Chromecast binding. Either it doesn't seem to be what I'm seeing...
Read more >
Troubleshoot an issue - Chromecast Help - Google Support
Setup: I'm having trouble setting up Chromecast Cast: I'm having an issue casting apps ... Error Message: An error message appears when using...
Read more >
Newest 'chromecast' Questions - Page 2 - Stack Overflow
I'm working on a web sender application and when the device selection menu is opened by calling cast.framework.CastContext.getInstance().requestSession(), the ...
Read more >
Upgrading InstantSearch.js - Algolia
You can also change the event payloads, or remove them altogether. ... It no longer gets applied on the first page, which was...
Read more >
Learn to Hack an Android Device Over the Internet Remotely
Basically, we'll be creating an Android payload using the Metasploit Framework. ... or whatsapp messages with the command dump_whatsapp.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found