Unclear warning issued repeatingly

2,525 views
Skip to first unread message

Martin Klimke

unread,
Sep 18, 2014, 1:12:02 AM9/18/14
to ope...@googlegroups.com
Hi,

Since a couple of days I am receiving the warning below.
Any idea?

regards Martin

07:07:00.298 WARN  javax.jmdns.impl.DNSIncoming[:415]- There was an OPT answer. Not currently handled. Option code: 65002 data: E9F8748F09237678
07:07:11.538 WARN  javax.jmdns.impl.DNSIncoming[:415]- There was an OPT answer. Not currently handled. Option code: 65002 data: E9F8748F09237678
07:07:11.788 WARN  javax.jmdns.impl.DNSIncoming[:415]- There was an OPT answer. Not currently handled. Option code: 65002 data: E9F8748F09237678
07:07:12.229 WARN  javax.jmdns.impl.DNSIncoming[:415]- There was an OPT answer. Not currently handled. Option code: 65002 data: E9F8748F09237678

Kai Kreuzer

unread,
Sep 18, 2014, 3:13:30 AM9/18/14
to ope...@googlegroups.com
Any idea what kind of new device you might have in your network since a couple of days…?

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.

Ben Jones

unread,
Sep 18, 2014, 4:44:14 AM9/18/14
to ope...@googlegroups.com
I have just noticed this as well - nothing changed in my config for the last week, but only started seeing these today. Very odd.

Kai Kreuzer

unread,
Sep 18, 2014, 4:48:26 AM9/18/14
to ope...@googlegroups.com
Maybe related to a software update of some devices on the network? E.g. iOS8?

Am 18 Sep 2014 um 10:44 schrieb Ben Jones <ben.j...@gmail.com>:

I have just noticed this as well - nothing changed in my config for the last week, but only started seeing these today. Very odd.

Ben Jones

unread,
Sep 18, 2014, 4:52:04 AM9/18/14
to ope...@googlegroups.com
You are probably quite right - I started updating my iPad at about 6pm and these messages started 7.36pm. There are also a load of;

2014-09-18 20:14:43.424 WARN  org.eclipse.jetty.io.nio[:630]- javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?

which have superceeded the original OPT message. Very odd.

Ben Jones

unread,
Sep 18, 2014, 5:41:40 AM9/18/14
to ope...@googlegroups.com
Yep - seems to be caused by the iOS app (running on my iPad2 with iOS8) when connecting via SSL on my local network. This wasn't happening previously on iOS7. If I switch to non-SSL connection there is no issues. Habdroid on my Android has no issues when connecting via SSL.

Martin Klimke

unread,
Sep 18, 2014, 9:58:46 PM9/18/14
to ope...@googlegroups.com

The last thing I added was the Fritzbox binding and therefore I had to switch on the telnet support on the Fritzbox.
I will try to disable telnet and see whether this message will stay.

Ben Jones

unread,
Sep 18, 2014, 10:20:21 PM9/18/14
to ope...@googlegroups.com
So no iOS8 update for you Martin?

Ard van der Leeuw

unread,
Sep 19, 2014, 1:35:40 AM9/19/14
to ope...@googlegroups.com
The way I read this, is that there is additional data being received from a DNS query, a so-called OPT-RR record. Apparently this OPT record is not being handled in the current version of jmdns. 

I did a quick search and it seems there IS a version of jmdns available that DOES handle the OPT record, so maybe it's just a matter of including a newer version of this library? 

BTW, when you look at the jmdns information on sourceforge (http://jmdns.sourceforge.net/), this does indicate compatibility with the Apple Bonjour protocol, so that may be the relationship between the introduction of iOS8 and these messages. 

Ard

Kai Kreuzer

unread,
Sep 19, 2014, 1:51:49 AM9/19/14
to ope...@googlegroups.com
Ard,

Yes, mDNS and Bonjour are the same, that’s why usually Apple devices send around mDNS messages and that’s why I assumed it could be related to the iOS8 rollout.

Where did you see that there is a version that supports OPT? Afaik, we are on the latest sources and we are actually hosting jmDNS ourselves by now (https://github.com/openhab/jmdns).

Best regards,
Kai


Ard van der Leeuw

unread,
Sep 19, 2014, 1:57:43 AM9/19/14
to ope...@googlegroups.com
Ahhh, I'm sorry. My bad...


That showed that the OPT answer is handled, but I didn't look far enough to see that the specific return value inside the OPT answer is NOT handled.

Ard

Martin Klimke

unread,
Sep 19, 2014, 1:19:32 PM9/19/14
to ope...@googlegroups.com
The error message were related to the Fritzbox binding.
I have remove the binding and also disable the telnet access. Since then those error message were gone.

Bytheway: I have have an iPhone running I OS 8 but this seems not to be the cause.

David

unread,
Sep 20, 2014, 7:20:47 AM9/20/14
to ope...@googlegroups.com
Same messages appeared in my log, directly after the iOS8 upgrade.
I would say they are related.

-David

Op vrijdag 19 september 2014 19:19:32 UTC+2 schreef Martin Klimke:

d.va...@gmail.com

unread,
Sep 29, 2014, 4:08:27 PM9/29/14
to ope...@googlegroups.com
Same behavior after iOS upgrade to 8.
(OH 1.6.0-SNAPSHOT)
OPT_error.JPG

Kai Kreuzer

unread,
Sep 29, 2014, 5:42:32 PM9/29/14
to ope...@googlegroups.com
I have just committed a workaround, so that this message should not appear in 1.6.0-SNAPSHOT anymore:

Also note that the issue is tracked as https://github.com/openhab/jupnp/issues/9 - so whoever is fluent in mDNS and knows what to do, feel free to create a PR!

Best 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.
<OPT_error.JPG>

Reply all
Reply to author
Forward
0 new messages