You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (JIRA)" <ji...@apache.org> on 2015/10/07 18:45:26 UTC

[jira] [Comment Edited] (DISPATCH-156) [dispatch-tools] qdstat fails to connect to localhost via IPv4

    [ https://issues.apache.org/jira/browse/DISPATCH-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14947174#comment-14947174 ] 

Ganesh Murthy edited comment on DISPATCH-156 at 10/7/15 4:44 PM:
-----------------------------------------------------------------

Hi Pavel,
    I am working with the latest dispatch code from master. I changed the listener in qdrouterd.conf to use the ipv4 loopback address like this - 
{code:title=qdrouterd.conf|borderStyle=solid}
listener {
    addr: 127.0.0.1
    port: amqp
    authenticatePeer: no
}
{code}
After restarting the router, I was able to run the following commands successfully -  
qdstat -b localhost:5672 -c
qdstat -b 127.0.0.1:5672 -c
qdstat -b 0.0.0.0:5672 -c

Can you please list steps on how  I can reproduce problem as you see it. Thanks.


was (Author: ganeshmurthy):
Hi Pavel,
    I am working with the latest dispatch code from master. I changed the listener in qdrouterd.conf to use the ipv4 loopback address like this - 

listener {
    addr: 127.0.0.1
    port: amqp
    authenticatePeer: no
}

After restarting the router, I was able to run the following commands successfully -  
qdstat -b localhost:5672 -c
qdstat -b 127.0.0.1:5672 -c
qdstat -b 0.0.0.0:5672 -c

Can you please list steps on how  I can reproduce problem as you see it. Thanks.

> [dispatch-tools] qdstat fails to connect to localhost via IPv4
> --------------------------------------------------------------
>
>                 Key: DISPATCH-156
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-156
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Management Agent
>    Affects Versions: 0.4
>            Reporter: Pavel Moravec
>            Assignee: Ganesh Murthy
>            Priority: Minor
>             Fix For: 0.6
>
>
> Calling "qdstat -b localhost:5672 -c" tries to communicate to the dispatch router via IPv6 only. If that fails, no attempt on IPv4 is done.
> Just for reference, /etc/hosts has:
> 127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
> ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org