OpenHab server throwing DNS error messages from unrelated Android tablet

845 views
Skip to first unread message

Joe Barneson

unread,
Jul 4, 2014, 9:48:24 AM7/4/14
to ope...@googlegroups.com
I have an odd Java issue that just cropped up and I'm wondering if anyone else has ran into it. Below are the errors that are repeatedly spewed out in my console every 10 minutes. A quick google search found this bug report discussing UDP port scanning, but it's old (2011). I ensured I had the most updated version of Java installed.

In the errors below, the client being referenced is a Nexus 7 tablet running latest android. It does not currently have OpenHab installed on it -- I don't think it ever did. I have a lot of tablets and phones in my house (10+) and this is the only device referenced by OpenHab in this way... any help or pointers would be appreciated, although I'm probably going to enjoy some outside time and holiday fireworks later, so I may not be responsive today. 



08:06:02.617 ERROR j.j.i.DNSIncoming$MessageInputStream[:138] - bad domain name: possible circular name detected. Bad offset: 0xffffffff at 0x31
08:06:02.618 ERROR j.j.i.constants.DNSRecordType[:303] - Could not find record type for index: -1
08:06:02.619 ERROR javax.jmdns.impl.DNSIncoming[:286] - Could not find record type. domain: _googlecas?.
dns[query,192.168.1.176:5353, length=51, id=0x0, questions=1
questions:
        [Pointer@1834040 type: TYPE_PTR index 12, class: CLASS_IN index 1, name: _googlecast._tcp.local.]]
        question:      [Pointer@1834040 type: TYPE_PTR index 12, class: CLASS_IN index 1, name: _googlecast._tcp.local.]
   0: 0000000000010001 000000000b5f676f 6f676c6563617374 045f746370056c6f     ........ ....._go oglecast ._tcp.lo
  20: 63616c00000c0001 0b5f676f6f676c65 636173                                cal..... ._google cas

08:06:02.627 WARN  j.j.i.constants.DNSRecordClass[:129] - Could not find record class for index: -1
08:06:02.629 ERROR javax.jmdns.impl.DNSIncoming[:291] - Could not find record class. domain: _googlecas?. type: TYPE_IGNORE index 0
dns[query,192.168.1.176:5353, length=51, id=0x0, questions=1
questions:
        [Pointer@1834040 type: TYPE_PTR index 12, class: CLASS_IN index 1, name: _googlecast._tcp.local.]]
        question:      [Pointer@1834040 type: TYPE_PTR index 12, class: CLASS_IN index 1, name: _googlecast._tcp.local.]
   0: 0000000000010001 000000000b5f676f 6f676c6563617374 045f746370056c6f     ........ ....._go oglecast ._tcp.lo
  20: 63616c00000c0001 0b5f676f6f676c65 636173                                cal..... ._google cas

08:06:04.552 ERROR j.j.i.DNSIncoming$MessageInputStream[:149] - Extended label are not currently supported.
08:06:04.554 ERROR j.j.i.DNSIncoming$MessageInputStream[:149] - Extended label are not currently supported.

Paul Hampson

unread,
Jul 4, 2014, 10:40:31 AM7/4/14
to ope...@googlegroups.com
Total hunch/speculation - but maybe it has something to do with the openhab service discovery (cannot paste a link from my phone it seems).

The host name googlecast sounds like something is searching for a Chromecast device maybe? Do you have one? If not are you using an app that supports chromecasting? I guess the chrome cast uses some sort of service discovery like openhab has and it is upsetting the openhab library somehow.

Hope that helps.
Paul

Kai Kreuzer

unread,
Jul 4, 2014, 10:45:07 AM7/4/14
to ope...@googlegroups.com
The same was reported in the KNX user forum: http://knx-user-forum.de/openhab/36016-_googlecast-_tcp-local.html

It seems that the jmDNS library for the Bonjour support in openHAB has problems, if there is a Cromecast in the same network.
Feel free to enter an issue about that.

Regards,
Kai
> --
> You received this message because you are subscribed to the Google Groups "openhab" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
> To post to this group, send email to ope...@googlegroups.com.
> Visit this group at http://groups.google.com/group/openhab.
> For more options, visit https://groups.google.com/d/optout.

Joe Barneson

unread,
Jul 4, 2014, 10:50:34 AM7/4/14
to ope...@googlegroups.com
Yeh - I have two chromecasts.... interesting that it's just our one tablet that's causing that error by scanning. Our phones / tablets that we normally use to chromecast aren't searching apparently. 


Joe Barneson
Director of Product & Engineering
SOLOMO Technology
222 West Washington Ave, 
Suite 705
Madison, WI 53703
United States
SOLOMO.  Learn more at www.slmtechnology.com 


You received this message because you are subscribed to a topic in the Google Groups "openhab" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openhab/IvlHgrAMiFo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openhab+u...@googlegroups.com.

Christoph Wempe

unread,
Jul 4, 2014, 7:30:32 PM7/4/14
to ope...@googlegroups.com
I already created an issue for this a few days ago.

https://github.com/openhab/openhab/issues/1203

I think it does no harm, but every error should be solved, eventually.
Message has been deleted

Joe Barneson

unread,
Jul 6, 2014, 11:51:49 AM7/6/14
to ope...@googlegroups.com
Thanks Christoph - agreed, it doesn't appear to be causing any problems... I'm in exploratory mode with new hardware though, so it's making diagnostics a bit harder. If I used log persistence, does anyone have a good streaming log application they use? 

(sorry, reposting removing my email signature)

Joe Barneson

unread,
Jul 12, 2014, 8:56:53 PM7/12/14
to ope...@googlegroups.com
Quick update - I found this was a specific app I had on a few of my androids throughout the house. The app is called Tinycam Pro. Starting up and killing that app on various clients spurred the log messages in OH. 

I'd love to give that developer some feedback, does anyone have constructive feedback I could post for him? He just recently added chromecast support, so I wonder if it was introduced then.

Last - any suggestions how I could suppress this packages errors in OH for the console? Now that I know the source, it's easy to turn off the app, but would be nice to have more granular control over the console and log outputs. Thanks

Christoph Wempe

unread,
Jul 20, 2014, 5:04:51 PM7/20/14
to ope...@googlegroups.com
It looks like you guys are on your way to solve this issue.

But is there a workaround to disable these messages in the log until this is solved in v1.6 or whatever?

joe...@gmail.com

unread,
Jul 25, 2014, 9:49:39 PM7/25/14
to ope...@googlegroups.com
I had the same problem using chromecast.

Worked around this by simply disabling the exceptions in the log (until it's fixed). Go to your configuration directory and add a couple of loggers in your logback.xml file.

ie.
        <logger name="javax.jmdns.impl.DNSIncoming" level="OFF" />
        <logger name="javax.jmdns.impl.constants.DNSRecordType" level="OFF" />
        <logger name="javax.jmdns.impl.constants.DNSRecordClass" level="OFF" />


Regards,
Joe

Christoph Wempe

unread,
Jul 26, 2014, 5:50:34 AM7/26/14
to ope...@googlegroups.com, joe...@gmail.com
Thanks

Joe Barneson

unread,
Jul 26, 2014, 7:09:30 AM7/26/14
to ope...@googlegroups.com, joe...@gmail.com
That's exactly what I was hoping to use. Thanks for pointing it out.

a...@albriggs.com

unread,
Sep 25, 2014, 3:34:41 AM9/25/14
to ope...@googlegroups.com, joe...@gmail.com
Great - the update to the latest apple TV is also causing this to happen - grey solution!
Reply all
Reply to author
Forward
0 new messages