Skip to content
This repository has been archived by the owner on Sep 25, 2020. It is now read-only.

Cannot send to destroyed tchannel #54

Open
Raynos opened this issue Mar 11, 2015 · 1 comment
Open

Cannot send to destroyed tchannel #54

Raynos opened this issue Mar 11, 2015 · 1 comment

Comments

@Raynos
Copy link
Contributor

Raynos commented Mar 11, 2015

Error: cannot send() to destroyed tchannel
    at TChannel.send [as request] (/home/raynos/uber/autobahn/node_modules/tchannel/index.js:286:15)
    at TChannel.send (/home/raynos/uber/autobahn/node_modules/tchannel/index.js:278:20)
    at new PingSender (/home/raynos/uber/autobahn/node_modules/ringpop/lib/swim.js:84:23)
    at RingPop.sendPing (/home/raynos/uber/autobahn/node_modules/ringpop/index.js:695:12)
    at RingPop.protocolPingReq (/home/raynos/uber/autobahn/node_modules/ringpop/index.js:457:10)
    at RingPopTChannel.protocolPingReq (/home/raynos/uber/autobahn/node_modules/ringpop/lib/tchannel.js:183:18)
    at runHandler (/home/raynos/uber/autobahn/node_modules/tchannel/index.js:764:14)
    at process._tickDomainCallback (node.js:459:13)

It looks like if we closed ringpop whilst a ping is mid flight it does not check whether its destroyed in the protocolPingReq method of ringpop.

@jwolski
Copy link
Contributor

jwolski commented Mar 11, 2015

ack. thank you for your submission ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants