[
https://issues.apache.org/jira/browse/DISPATCH-826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ganesh Murthy resolved DISPATCH-826.
------------------------------------
Resolution: Fixed
The fix to https://issues.apache.org/jira/browse/PROTON-1586 fixed this issue.
> 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
> 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: [email protected]
For additional commands, e-mail: [email protected]