Brian Bouterse created PROTON-506:
-------------------------------------

             Summary: 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


I have need to create a queue with the following name (no quotes):

"cel...@dhcp129-138.rdu.redhat.com.celery.pidbox"

I try to subscribe using the string 
'amqp://localhost/cel...@dhcp129-138.rdu.redhat.com.celery.pidbox'

I receive the following error:

Unrecoverable error: MessengerException('[-2]: unable to connect to 
amqp://localhost/cel...@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.1.5#6160)

Reply via email to