Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Unable to connect limits monitor to replay server #948
Using the cosmos demo configuration (version 4.3.0 on Debian 9) I am unable to connect the limits monitor to the replay server. I have tested with just the replay window open, after loading a log file for replay, and after starting active replay.
The limits monitor reports "error connecting to command and telemetry server" in the status bar. I have tried resetting and toggling replay mode with no effect.
I tested this from a cosmos 4.3.0 install on both Debian 9 and ubuntu 14.04.
Here I would expect that the limits monitor would succeed in switching to replay mode and connecting to the replay server.
I then started the normal command and telemetry server, which caused the limits monitor to start showing limits correctly and stop showing the connection error.
I then again selected the "toggle replay mode" menu option in the limits monitor which now did show the green replay mode green status indicator.
I then loaded the current log file in the replay server and started it with a 10ms delay, and observed that limits monitor seemed to process and display at least parts of the limits correctly
I then exited the normal command and telemetry server, and observed that the limits monitor was still able to stay connected to the replay server.
So it somehow seems that the limits monitor cannot connect to the replay server without first being connected to the command and telemetry server?
@ienorand Thank you for this report. I was unable to initially reproduce because there is a race condition between selecting Replay Mode and having it run. I guess I got lucky (unlucky?) the first few times I tried it. I also noticed that the log tab doesn't clear when going between modes which I also fixed. I opened the pull request but this will obviously be in a future release. If you want to get this change now you can create a lib/cosmos/tools/limits_monitor/limits_monitor.rb file in the base of your COSMOS configuration directory and copy in the file from the pull request. To prove you're using the new file you can add something like