XMR Support Error


#1

Have CMS configured and been working great but when sending a command to android player, I receive an error.

/displaygroup/7/action/command Player action refused by XMR (connected but XMR returned false).

Can receive screenshots without any issues - get that when sending ‘reboot’ command.


#2

Can you confirm the Reboot Command you are using?

Many Thanks.


#3

Didnt see XMR running as service. Setup config.json as instructed. Logged into SSH, and get this message

Bus error

[signagenet@altar39 lubbock.wiredsignage.net]$ cd vendor/bin
[signagenet@altar39 bin]$ php xmr.phar
Bus error
[signagenet@altar39 bin]$ php xmr.phar
Bus error
[signagenet@altar39 bin]$

this is config.json
{
“listenOn”: “tcp://localhost:50001”,
“pubOn”: [“tcp://lubbock.wiredsignage.net:9505”],
“debug”: false
}


#4

Your config.json is not configured correctly. I would take another look at the pubON element, as this should be set to the interface or IP of your public XMR address.

I have included a link to the XMR setup Guide below:

https://xibo.org.uk/docs/setup/xmr-push-messaging

Many Thanks.


#5

Have changed to IP address. Still get same error…

[signagenet@altar39 lubbock.wiredsignage.net]$ cd vendor/bin

[signagenet@altar39 bin]$ php xmr.phar

Bus error

[signagenet@altar39 bin]$ php xmr.phar

Bus error

[signagenet@altar39 bin]$

Updated …

{ “listenOn”: "tcp://localhost:50001 ", “pubOn”: ["tcp://198.23.61.146:9505 "], “debug”: false }

Have confirmed 9505 is not blocked.


#6

I have ip set as public ip address within cms and on the server. Any way to verify or anything ?
Thanks


#7

Changed to main IP of server and still get same error.
Any advise or other things I can try ?
Thans


#8

XMR within the displays shows connected, but when running a command that is when it says failure. Screenshots work with no issues.

Did a scan on server and no other programs running on port 9505.

current logs

165230 baedc93 2018-12-19 12:11 PLAYER POST ERROR Fuzzy Taco Broadway XmrMessageReceiver java.io.IOException: socketpair failed: EMFILE (Too many open files)
165229 baedc93 2018-12-19 12:11 PLAYER POST ERROR Fuzzy Taco Broadway onEventBackgroundThread - HeartBeatEvent XMR unresponsive, issue reconfigure.
165226 460ea43 2018-12-19 12:10 PLAYER POST ERROR 50th Caboose Bar XmrMessageReceiver java.io.IOException: socketpair failed: EMFILE (Too many open files)
165225 460ea43 2018-12-19 12:10 PLAYER POST ERROR 50th Caboose Bar onEventBackgroundThread - HeartBeatEvent XMR unresponsive, issue reconfigure.
165224 db36a81 2018-12-19 12:10 PLAYER POST ERROR Whitewood Lanes XmrMessageReceiver java.io.IOException: socketpair failed: EMFILE (Too many open files)
165223 db36a81 2018-12-19 12:10 PLAYER POST ERROR Whitewood Lanes onEventBackgroundThread - HeartBeatEvent XMR unresponsive, issue reconfigure.
165222 9c84296 2018-12-19 12:10 PLAYER POST ERROR Racer Frankford XmrMessageReceiver java.io.IOException: socketpair failed: EMFILE (Too many open files)
165221 9c84296 2018-12-19 12:10 PLAYER POST ERROR Racer Frankford onEventBackgroundThread - HeartBeatEvent XMR unresponsive, issue reconfigure.
165220 d6aed0f 2018-12-19 12:09 PLAYER POST ERROR Fuzzy Taco Slide onEventBackgroundThread - HeartBeatEvent XMR unresponsive, issue reconfigure.
165219 04c922a 2018-12-19 12:08 PLAYER POST ERROR Paint Dr Frankford onEventBackgroundThread - HeartBeatEvent XMR unresponsive, issue reconfigure.

#9

My apologies for the delay responding to your messages. The last screenshot you have posted appears to show that XMR need to be reconfigured. Can you reconfigure XMR for those Displays please? You will find the XMR reconfigure option in the Edit Display settings in the Displays option on your CMS. Edit the Displays mentioned in the Error logs, click the Advanced tab, tick the Reconfigure XMR box and Save.

Can you also confirm that you have followed all of the instructions when setting up XMR, including installing Zeromq?

Below is a link to the XMR manual, in case there are any steps you have missed:

https://xibo.org.uk/docs/setup/xmr-push-messaging

Many Thanks


#10

I can reconfigure XMR continulously. Always get that error, all the time.

Have double checked on XMR installation and php extensions and all is correct. keep getting error
[signagenet@altar39 …]$ cd vendor/bin

[signagenet@altar39 bin]$ /usr/local/bin/php xmr.phar

Bus error

[signagenet@altar39 bin]$

Server is Running CloudLinux.


#11

Switching system to a private server onsite. Ubuntu 16.04 running docker. Have gotten the system setup and tested, now moving live CMS to it.

Hows the best way to do SSL, and with multiple docker instances ?
Each has their own www address.
Thanks