qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Ross (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (DISPATCH-826) Specifying an invalid host on the connector crashes the router
Date Thu, 14 Sep 2017 19:01:00 GMT

     [ https://issues.apache.org/jira/browse/DISPATCH-826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ted Ross reassigned DISPATCH-826:
---------------------------------

    Assignee: Alan Conway

> Specifying an invalid host on the connector crashes the router
> --------------------------------------------------------------
>
>                 Key: DISPATCH-826
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-826
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Container
>    Affects Versions: 1.0.0
>            Reporter: Ganesh Murthy
>            Assignee: Alan Conway
>            Priority: Critical
>             Fix For: 1.0.0
>
>
> Grab the latest code from dispatch/proton and compile
> Use the following config file to start the router (note that the host specified in the
connector - some-host - is invalid) 
> {noformat}
> router {
>     mode: interior
>     id: Router.B
> }
> connector {
>    host: some-host
>    port: amqp
>    role: normal
> }
>  
> listener {
>     host: 0.0.0.0
>     port: 5677
>     authenticatePeer: no
>     saslMechanisms: ANONYMOUS
> }
> {noformat}
> The router crashes trying to make a connection to some-host. The following is the router
output
> {noformat}
> 2017-09-12 16:49:11.564882 -0400 ROUTER_CORE (info) In-process subscription L/qdrouter
> 2017-09-12 16:49:11.564886 -0400 ROUTER_CORE (info) In-process subscription L/qdrouter.ma
> 2017-09-12 16:49:11.564891 -0400 ROUTER_CORE (info) In-process subscription T/qdrouter
> 2017-09-12 16:49:11.564894 -0400 ROUTER_CORE (info) In-process subscription T/qdrouter.ma
> 2017-09-12 16:49:11.564897 -0400 ROUTER (info) Router Engine Instantiated: id=Router.B
instance=1505249351 max_routers=128
> 2017-09-12 16:49:11.564900 -0400 ROUTER_CORE (info) In-process subscription L/qdhello
> 2017-09-12 16:49:11.572411 -0400 AGENT (info) Activating management agent on $_management_internal
> 2017-09-12 16:49:11.572441 -0400 ROUTER_CORE (info) In-process subscription L/$_management_internal
> 2017-09-12 16:49:11.572803 -0400 CONN_MGR (info) Configured Listener: 0.0.0.0:5677 proto=any,
role=normal
> 2017-09-12 16:49:11.573453 -0400 CONN_MGR (info) Configured Connector: some-host:amqp
proto=any, role=normal
> 2017-09-12 16:49:11.575571 -0400 POLICY (info) Policy configured maxConnections: 65535,
policyDir: '', access rules enabled: 'false'
> 2017-09-12 16:49:11.576401 -0400 POLICY (info) Policy fallback defaultVhost is defined:
'$default'
> 2017-09-12 16:49:11.576420 -0400 SERVER (notice) Operational, 4 Threads Running (process
ID 20053)
> 2017-09-12 16:49:11.576550 -0400 SERVER (notice) Listening on 0.0.0.0:5677
> [0x7f098400bc70]:  -> AMQP
> [0x7f098400bc70]:0 -> @open(16) [container-id=""]
> [0x7f098400bc70]:0 -> @close(24) [error=@error(29) [condition=:"proton:io", description="No
address associated with hostname - connect to  some-host:5672"]]
> epoll proactor failure in /home/gmurthy/opensource/qpid-proton/proton-c/src/proactor/epoll.c:630:
"arming polled file descriptor": No such file or directory
> Aborted (core dumped)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message