scionaltera/agony-engine

Connection to ActiveMQ closes unexpectedly

Closed this issue · 3 comments

This seems to happen a lot, both on the real game and locally, and it's pretty annoying. The client is good about reconnecting automatically but I'd like to actually get it fixed. I suspect it's actually a bug in ActiveMQ or SocksJS rather than something wrong with the MUD's code. There might be something I can fix through configuration in ActiveMQ, or something like that though.

I'm opening this issue to track any information leading to an answer.

I'm testing in prod!

Based on a suggestion in the documentation at https://github.com/JSteunou/webstomp-client where they recommend turning off the heartbeats when you use sockjs-client I am pushing a version of the client that does not do heartbeats. We'll see how well it works.

So far so good... fingers crossed!

I definitely think this is working better now, without the heartbeat. Who would have thought?