qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-506) Queue names with '@' symbol cause incorrect hostname lookup
Date Tue, 11 Mar 2014 16:35:43 GMT

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

ASF subversion and git services commented on PROTON-506:
--------------------------------------------------------

Commit 1576413 from [~astitcher] in branch 'proton/trunk'
[ https://svn.apache.org/r1576413 ]

PROTON-506: Fix Java address URL parser to correctly identify the host component
if there is an '@' character in the path component.

> Queue names with '@' symbol cause incorrect hostname lookup
> -----------------------------------------------------------
>
>                 Key: PROTON-506
>                 URL: https://issues.apache.org/jira/browse/PROTON-506
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: python-binding
>    Affects Versions: 0.6
>            Reporter: Brian Bouterse
>            Assignee: Andrew Stitcher
>             Fix For: 0.7
>
>         Attachments: 0001-PROTON-506-Fix-address-URL-parser-to-correctly-ident.patch
>
>
> I have need to create a queue with the following name (no quotes):
> "celery@dhcp129-138.rdu.redhat.com.celery.pidbox"
> I try to subscribe using the string 'amqp://localhost/celery@dhcp129-138.rdu.redhat.com.celery.pidbox'
> I receive the following error:
> Unrecoverable error: MessengerException('[-2]: unable to connect to amqp://localhost/celery@dhcp129-138.rdu.redhat.com.celery.pidbox:
getaddrinfo(dhcp129-138.rdu.redhat.com.celery.pidbox, 5672): Name or service not known',)
> I expected the hostname to be 'localhost', but instead the hostname being used is 'dhcp129-138.rdu.redhat.com.celery.pidbox'
which is not an actual hostname.
> Better interpretation of the string would resolve this.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message