You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/03/10 22:16:46 UTC
[jira] [Commented] (PROTON-506) Queue names with '@' symbol cause
incorrect hostname lookup
[ https://issues.apache.org/jira/browse/PROTON-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13926230#comment-13926230 ]
ASF subversion and git services commented on PROTON-506:
--------------------------------------------------------
Commit 1576090 from [~astitcher] in branch 'proton/trunk'
[ https://svn.apache.org/r1576090 ]
PROTON-506: Added unit tests for C url parser
> 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)