Remote procedure call stuck if provider looses connection to router

#1

Hello,
I’ve ran into the following problem, which I do not know how to resolve, and was hoping to get some advice here. I am running a crossbar.io router and have 2 components connected to it. Component 1 registers a remote procedure, and component 2 calls it. Component 1 runs on a remote server and IP connection to it is flaky sometimes. So if connection to component 1 is lost (due to route ping timeout usually), and component 2 happens to be in the middle of the remote procedure call, the call never returns, and component 2 remains stuck in the call indefinitely. Since the remote procedure timeouts are not supported at the moment by the crossbar router, I do not see a way out of this predicament. I would appreciate any advice.

Thanks,

Rosa

0 Likes