scionaltera / agony-engine

A modern, web based, procedurally generated MUD.
https://agonyengine.com
MIT License
17 stars 5 forks source link

Connection to ActiveMQ closes unexpectedly #95

Closed scionaltera closed 6 years ago

scionaltera commented 6 years ago

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.

scionaltera commented 6 years ago

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.

scionaltera commented 6 years ago

So far so good... fingers crossed!

scionaltera commented 6 years ago

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