You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Hadrian Zbarcea (JIRA)" <ji...@apache.org> on 2011/05/16 22:30:47 UTC

[jira] [Created] (CAMEL-3977) Timeouts in camel-dns

Timeouts in camel-dns
---------------------

                 Key: CAMEL-3977
                 URL: https://issues.apache.org/jira/browse/CAMEL-3977
             Project: Camel
          Issue Type: Bug
    Affects Versions: 2.7.0
         Environment: OSX 10.6.7, JDK6
            Reporter: Hadrian Zbarcea
            Assignee: Hadrian Zbarcea
             Fix For: 2.8.0


Tests for the DnsIpEndpoint and DnsLookupEndpoint consistently fail on my OS X box (but they don't on Linux or Win).

{code}
Caused by: java.net.UnknownHostException: unknown host
        at org.xbill.DNS.Address.lookupHostName(Address.java:239)
        at org.xbill.DNS.Address.getByName(Address.java:264)
{code}

The cause seems to be related to Lookup receiving a response of type == DELEGATION, which causes the exception above and may be related to the router's NAT. Using different NS server configuration didn't help.

For the DnsIpEndpoint, changing from org.xbill.DNS.Address.getByName() to java.net.InetAddress.getByName() solves the problem, I am looking for a solution for the Lookup endpoint too.



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-3977) Timeouts in camel-dns

Posted by "Claus Ibsen (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-3977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-3977:
-------------------------------

    Fix Version/s:     (was: 2.9.0)
                   2.10
    
> Timeouts in camel-dns
> ---------------------
>
>                 Key: CAMEL-3977
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3977
>             Project: Camel
>          Issue Type: Test
>    Affects Versions: 2.7.0
>         Environment: OSX 10.6.7, JDK6
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>            Priority: Minor
>             Fix For: 2.10
>
>
> Tests for the DnsIpEndpoint and DnsLookupEndpoint consistently fail on my OS X box (but they don't on Linux or Win).
> {code}
> Caused by: java.net.UnknownHostException: unknown host
>         at org.xbill.DNS.Address.lookupHostName(Address.java:239)
>         at org.xbill.DNS.Address.getByName(Address.java:264)
> {code}
> The cause seems to be related to Lookup receiving a response of type == DELEGATION, which causes the exception above and may be related to the router's NAT. Using different NS server configuration didn't help.
> For the DnsIpEndpoint, changing from org.xbill.DNS.Address.getByName() to java.net.InetAddress.getByName() solves the problem, I am looking for a solution for the Lookup endpoint too.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-3977) Timeouts in camel-dns

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-3977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hadrian Zbarcea updated CAMEL-3977:
-----------------------------------

    Fix Version/s:     (was: 2.8.0)
                   2.9.0

> Timeouts in camel-dns
> ---------------------
>
>                 Key: CAMEL-3977
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3977
>             Project: Camel
>          Issue Type: Test
>    Affects Versions: 2.7.0
>         Environment: OSX 10.6.7, JDK6
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>            Priority: Minor
>             Fix For: 2.9.0
>
>
> Tests for the DnsIpEndpoint and DnsLookupEndpoint consistently fail on my OS X box (but they don't on Linux or Win).
> {code}
> Caused by: java.net.UnknownHostException: unknown host
>         at org.xbill.DNS.Address.lookupHostName(Address.java:239)
>         at org.xbill.DNS.Address.getByName(Address.java:264)
> {code}
> The cause seems to be related to Lookup receiving a response of type == DELEGATION, which causes the exception above and may be related to the router's NAT. Using different NS server configuration didn't help.
> For the DnsIpEndpoint, changing from org.xbill.DNS.Address.getByName() to java.net.InetAddress.getByName() solves the problem, I am looking for a solution for the Lookup endpoint too.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-3977) Timeouts in camel-dns

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034288#comment-13034288 ] 

Hadrian Zbarcea commented on CAMEL-3977:
----------------------------------------

Forgot to mention that the other endpoints use the SimpleResolver (vs the ExtendedResolver) and that works fine.

> Timeouts in camel-dns
> ---------------------
>
>                 Key: CAMEL-3977
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3977
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>         Environment: OSX 10.6.7, JDK6
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.8.0
>
>
> Tests for the DnsIpEndpoint and DnsLookupEndpoint consistently fail on my OS X box (but they don't on Linux or Win).
> {code}
> Caused by: java.net.UnknownHostException: unknown host
>         at org.xbill.DNS.Address.lookupHostName(Address.java:239)
>         at org.xbill.DNS.Address.getByName(Address.java:264)
> {code}
> The cause seems to be related to Lookup receiving a response of type == DELEGATION, which causes the exception above and may be related to the router's NAT. Using different NS server configuration didn't help.
> For the DnsIpEndpoint, changing from org.xbill.DNS.Address.getByName() to java.net.InetAddress.getByName() solves the problem, I am looking for a solution for the Lookup endpoint too.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-3977) Timeouts in camel-dns

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-3977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034303#comment-13034303 ] 

Hadrian Zbarcea commented on CAMEL-3977:
----------------------------------------

Changes in r1103887 fix the problem. I had to disable a couple of tests, so need to get back and investigate a bit more. Running nslookup works fine, it would be good to see what wireshark has to say about the differences in packets. 

> Timeouts in camel-dns
> ---------------------
>
>                 Key: CAMEL-3977
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3977
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>         Environment: OSX 10.6.7, JDK6
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.8.0
>
>
> Tests for the DnsIpEndpoint and DnsLookupEndpoint consistently fail on my OS X box (but they don't on Linux or Win).
> {code}
> Caused by: java.net.UnknownHostException: unknown host
>         at org.xbill.DNS.Address.lookupHostName(Address.java:239)
>         at org.xbill.DNS.Address.getByName(Address.java:264)
> {code}
> The cause seems to be related to Lookup receiving a response of type == DELEGATION, which causes the exception above and may be related to the router's NAT. Using different NS server configuration didn't help.
> For the DnsIpEndpoint, changing from org.xbill.DNS.Address.getByName() to java.net.InetAddress.getByName() solves the problem, I am looking for a solution for the Lookup endpoint too.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-3977) Timeouts in camel-dns

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-3977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-3977:
-------------------------------

      Priority: Minor  (was: Major)
    Issue Type: Test  (was: Bug)

> Timeouts in camel-dns
> ---------------------
>
>                 Key: CAMEL-3977
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3977
>             Project: Camel
>          Issue Type: Test
>    Affects Versions: 2.7.0
>         Environment: OSX 10.6.7, JDK6
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> Tests for the DnsIpEndpoint and DnsLookupEndpoint consistently fail on my OS X box (but they don't on Linux or Win).
> {code}
> Caused by: java.net.UnknownHostException: unknown host
>         at org.xbill.DNS.Address.lookupHostName(Address.java:239)
>         at org.xbill.DNS.Address.getByName(Address.java:264)
> {code}
> The cause seems to be related to Lookup receiving a response of type == DELEGATION, which causes the exception above and may be related to the router's NAT. Using different NS server configuration didn't help.
> For the DnsIpEndpoint, changing from org.xbill.DNS.Address.getByName() to java.net.InetAddress.getByName() solves the problem, I am looking for a solution for the Lookup endpoint too.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira