Error sending commands

I’m not sure what you think that log message is showing, but it looks entirely normal to me.

I’m showing any information I can to identify a potential problem. I honestly don’t know what it’s showing, normal or abnormal, as i’ve never enabled this troubleshooting mode on the CMS.

All I can find for Page /display in the logs for the time where the player is registering is this

Display times out after populating a command, comes back when clearing command. I’m not sure where to go from here.

From what you’ve said thus far, it looks like adding those commands to your display profile is causing register to fail to return, due in an invalid character.

To diagnose exactly what/why the character is invalid, we will need auditing to be enabled on the Display in question (not on the CMS). Simply edit the display and on the advanced table put an auditing until date in which is ahead of now.

Once you’ve done that, recreate the error state you’ve been experiencing and look in the log. You can filter the log by your display using the filter.


EDIT: this could be due to the command itself, or a space/special character in your command code.

Please post a screenshot of your “Commands” page from the CMS.

When the register fails

When it succeeds

I can’t find anything clear for the register event but it doesn’t give me the invalid character error.

CMS > Displays > Display Settings > Commands when the players will actually register

CMS > Displays > Display Settings > Commands when the players will fail with invalid character

CMS > Displays > Commands always stays the same

I have been testing with only one command at a time.

“shutdown player” isn’t a valid code.

You need to use a single word, without whitespace. See in my example it’s just “shutdown”

If you leave a command undefined in the Display profile, then it isn’t sent to the Player. That’s why it’s only problematic when you set a value for it.

I suspect you’re running an CMS version older than 1.8.3, as the validation was adjusted to prevent that.

1 Like

That is interesting - validation has been added to the command page at some point, which prevents you from adding new commands with a reference that contains a space.

You would now get a message which says “Please enter a code between 1 and 50 characters containing only alpha characters and no spaces” if you tried

See:

1 Like

Thanks for your patience up until this point, both

It looks like I didn’t think about how important the code field is, it’s also a fact that i’m using CMS version 1.8.0. Looks like the fault is entirely with me for not running the latest version.

I have removed the space from the code field and this has solved all problems, and as I originally intended I can power off the machine using xmr. I will look to update the CMS in the near future.

2 Likes