RPC Callee dropping frequently

14 views
Skip to first unread message

Gopalakrishna Palem

unread,
Jan 31, 2016, 9:19:30 AM1/31/16
to Crossbar
On Azure Crossbar VM, running a local Nodejs RPC callee (with forever). But the callee is disappearing frequently (and unpredictably), leading to ""wamp.error.no_such_procedure"" error.

Connection is not getting closed (at least, the `on close` callback is not getting called and script is running in background)

Not sure how to troubleshoot or what to be done. Is there anyway, the callee can re-register in case of getting dropped?


Tobias Oberstein

unread,
Jan 31, 2016, 10:37:10 AM1/31/16
to cross...@googlegroups.com
Hi,

AutobahnJS on Node should automatically reconnect when the connection is
dropped for whatever reasons.

However, I'd recommend setting

http://crossbar.io/docs/WebSocket-Options/#production-settings

=> in particular the "auto_ping_*" settings.

Cheers,
/Tobias
> --
> You received this message because you are subscribed to the Google
> Groups "Crossbar" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to crossbario+...@googlegroups.com
> <mailto:crossbario+...@googlegroups.com>.
> To post to this group, send email to cross...@googlegroups.com
> <mailto:cross...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/crossbario/fc2ddd0d-0b6f-45ed-b968-89c6ccef42b2%40googlegroups.com
> <https://groups.google.com/d/msgid/crossbario/fc2ddd0d-0b6f-45ed-b968-89c6ccef42b2%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages