Player: XMR Status disconnected, CMS: "XMR connection failed. ZMQ: Protocol not supported" (solved)

Hello,

I recently migrated our old (manually installed on linux) Xibo-CMS from 1.7.9 to Docker version 1.8, then 2.0 and finally to the latest 2.1.2. Although I am new to docker, with the help of the updgrade guide, the process went smoothly so far. I noticed, that the first “docker up” command (1.7.9 pre-docker to 1.8 docker) took about a whole day to complete the database import, probably because our database was fairly big.
Since I wanted a standard docker-based XIBO-CMS installation, I did not use any custom ports or special settings, except for some increased memory allocation:

As far as I can tell, the upgrade worked very well since every display and dataset was imported correctly. Also the campaigns, layouts and changes to displays work as intended, as well as most of the important things I could test, except for one thing:

Our windows players cant connect to the XMR service (but still seem to work fine otherwise):

In the CMS-Log, I get the following corresponding errors:

It seems, the XMR-container is not working properly or isnt reachable, but the XMR docker-container seems to run normally:

I also opened the ufw firewall ports like in the setup guide described:
ufw_status

and changed the public XMR-Adresses on the CMS settings page:
public_xmr_address

I wasnt too sure about the private XMR port, so I tried different ports but finally changed it to 50001 (What is the right way to configure XMR on CMS and Player? - #24 by aloverapp)

I can ping the XMR-container from inside the XIBO-CMS container, so they can communicate:

The CMS also says, that all the test succeded and ZMQ should work properly:

I looked through the guides, docs and a lot of forum posts (where most people forget the setting of the public XMR-address and port) but I wasnt able to find the error in my setup.

I also created a new display/player to test, but i get the same errors. I would appreciate any tips, help or pointers in the right direction. I am sure, I just made a mistake somewhere or forgot some settings.

Best regards and thanks,
Jan Krammer

Edit: I should mention that I also tried the “reconfigure XMR Player” in the display-settings menu, with the same result. The IP I set on the CMS on the public XMR-address is the same as our host.

1 Like

Hi Janonym :slight_smile: Welcome to Xibo coomunity Forum!

It’s likely that you have the wrong settings for the XMR private address, can you please check that you have exactly the following tcp://cms-xmr:50001
In our guide you should see that recommendation after where it says "Assuming the correct password is entered, you’ll be presented with a MySQL command prompt. Run the following commands:"

Hi Nell!
Thanks for you answer! Because of you I noticed 2 possible errors in my system:

  1. double colons on the xmr-addresses instead of just a single one. I dont know why it was there in the first place, maybe it was taken over by copying the old settings when I migrated. I fixed that.

  2. the mysql commands you mentioned in the guide may not have been executed properly on my machine, so I redid them (successfully).

I am not getting any messages in the cms errorlogs anymore, so it definately seemed to help!
Also, the new display I created to test the xmr-connection now connects properly (“Connected to tcp://XXXX:9505. Waiting for messages.”).
The older displayer took some time longer but are now connected to the XMR-server as well!

Thank you again!