Could not connect to XMDS. Ubuntu 12.04

Asked by nicothiflo

Hi everybody, i use ubuntu 12.04 with the new CMS 1.7 and the 1.6 rc2 client.
When i use the ./run.sh ; I've got some error, i can execute the player but no connection with the CMS server.

Output
########################################################################################
root@ZBOX:/opt/xibo/pyclient/client/python# ./run.sh
Xibo Client v1.6.0-rc2
Reading default configuration
Reading user configuration
LOG: 1422352911.19 2 info XiboLogScreen logger started at level 3
LOG: 1422352911.19 2 info Not setting socket timeout
Log Level is: 3
Logging will be handled by: XiboLogFile
Switching to new logger
[16143:16150:8728375022:ERROR:process_singleton_linux.cc(264)] Failed to create /opt/xibo/pyclient/client/python/.berkelium/SingletonLock: File exists
Failed to open VDPAU backend libvdpau_i965.so: cannot open shared object file: No such file or directory
[15-01-27 11:01:51.661][WARN][.....NONE] : Linux VBlank setup failed: OpenGL Extension not supported.
[15-01-27 11:01:51.661][WARN][.....NONE] : Using framerate of 59.8874 instead of VBRate of 1
########################################################################################

Log LVL 3
########################################################################################
LOG: 2015-01-27 11:01:51 (.check:3420) 2 info Connecting to XMDS at URL: http://127.0.0.1/xibo/xmds.php Attempt Number: 1
LOG: 2015-01-27 11:01:51 (.check:3434) 0 error Could not connect to XMDS.
LOG: 2015-01-27 11:01:51 (.check:3420) 2 info Connecting to XMDS at URL: http://127.0.0.1/xibo/xmds.php Attempt Number: 2
LOG: 2015-01-27 11:01:51 (.check:3434) 0 error Could not connect to XMDS.
LOG: 2015-01-27 11:01:51 (.check:3420) 2 info Connecting to XMDS at URL: http://127.0.0.1/xibo/xmds.php Attempt Number: 3
LOG: 2015-01-27 11:01:51 (.check:3434) 0 error Could not connect to XMDS.
LOG: 2015-01-27 11:01:51 (.MediaInventory:3835) 0 error XMDS could not be initialised
LOG: 2015-01-27 11:01:51 (.enqueue:4584) 3 info Enqueue: setOpacity ('infoLogGreen', 0)
LOG: 2015-01-27 11:01:51 (.enqueue:4590) 3 info Queue length is now 82
LOG: 2015-01-27 11:01:51 (.enqueue:4584) 3 info Enqueue: setOpacity ('infoLogGrey', 1)
LOG: 2015-01-27 11:01:51 (.enqueue:4590) 3 info Queue length is now 83
LOG: 2015-01-27 11:01:51 (.enqueue:4584) 3 info Enqueue: setOpacity ('infoLogAmber', 0)
LOG: 2015-01-27 11:01:51 (.enqueue:4590) 3 info Queue length is now 84
LOG: 2015-01-27 11:01:51 (.enqueue:4584) 3 info Enqueue: setOpacity ('infoLogRed', 0)
LOG: 2015-01-27 11:01:51 (.enqueue:4590) 3 info Queue length is now 85
LOG: 2015-01-27 11:01:51 (.updateMediaInventory:1370) 1 error Unable to send mediaInventory to the server via XMDS.
LOG: 2015-01-27 11:01:51 (.cleanOldMedia:1395) 1 info CLEANUP: Beginning cleanup of media directory
LOG: 2015-01-27 11:01:51 (.cleanOldMedia:1457) 1 info CLEANUP: Finished cleanup of media directory
LOG: 2015-01-27 11:01:51 (.run:1268) 3 audit XiboDownloadManager: Sleeping 900 seconds
LOG: 2015-01-27 11:01:51 (.enqueue:4584) 3 info Enqueue: timer (900000, <bound method XiboDownloadManager.collect of <XiboDownloadManager(Thread-6, started -1281361088)>>)
LOG: 2015-01-27 11:01:51 (.enqueue:4590) 3 info Queue length is now 86
LOG: 2015-01-27 11:01:53 (.enqueue:4584) 3 info Enqueue: setOpacity ('info', 1)
LOG: 2015-01-27 11:01:53 (.enqueue:4590) 3 info Queue length is now 1
LOG: 2015-01-27 11:01:56 (.keyDown:4567) 2 info Blocking waiting for Scheduler
LOG: 2015-01-27 11:01:56 (.keyDown:4573) 2 info Blocking waiting for DownloadManager
########################################################################################

Also, when i use 'i' on player, i can't see IP adress or others informations.
Help me please ...
Thank (Sorry for my language)

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Harrington
Solved:
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

The Linux client is not compatible with 1.7 series. Please see the
discontinuation notice on the website

Revision history for this message
nicothiflo (nicothiflo) said :
#2

I can't use, the 1.7 CMS version with 1.6 rc2 player ?
Last week i've tried with 1.6 CMS. Same problem ...

Revision history for this message
Alex Harrington (alexharrington) said :
#3

Correct. You can't use 1.6 client with 1.7 CMS

Revision history for this message
nicothiflo (nicothiflo) said :
#4
Revision history for this message
nicothiflo (nicothiflo) said :
#5

From the log :

LOG: 2015-01-27 13:55:05 (.MediaInventory:3831) 0 error <class 'httplib.InvalidURL'>
LOG: 2015-01-27 13:55:05 (.updateMediaInventory:1370) 1 error Unable to send mediaInventory to the server via XMDS.

Revision history for this message
Alex Harrington (alexharrington) said :
#6

What have you put in site.cfg?

Judging by that error your server address is wrong, you have an invalid
HTTPS certificate, the time on your server or client is wrong, or the
server key is wrong

Alex

Revision history for this message
nicothiflo (nicothiflo) said :
#7

site.cfg
####################
# Xibo Site Configuration File
# Copy this to site.cfg in the same folder as XiboClient.py

[Main]
# Change to the URL of your Xibo server
xmdsUrl=http://192.168.15.80/xibo

# Change to a random string. Used to generate your client key.
# Must be unique for all your clients
xmdsClientID=test2

# The server key for your Xibo server
xmdsKey=test

# How frequently to poll the Xibo server for updates (in seconds)
xmdsUpdateInterval=900

# Require a valid connection to the server for the client to start
# If the server is unavailable or the client is unlicensed, sit
# at the splash screen.
requireXmds=false

# Width of the Xibo Client window to use (or screen width if fullscreen)
width=960

# Height of the Xibo Client window to use (or screen width if fullscreen)
height=540

# Run fullscreen? Can be true or false. Case sensitive.
fullscreen=false

[Logging]
logWriter=XiboLogFile
logLevel=3

[Stats]
collect=false
queueSize=10

#############

My connection is good now i think.
LOG: 2015-01-27 14:07:29 (.check:3432) 2 info Connected to XMDS via WSDL at http://192.168.15.80/xibo/xmds.php?wsdl

Somes errors on log
LOG: 2015-01-27 14:07:29 (.RequiredFiles:3471) 0 error 'NoneType' object has no attribute 'RequiredFiles'
LOG: 2015-01-27 14:07:29 (.run:1015) 0 warning XMDS RequiredFiles threw an exception

Revision history for this message
Alex Harrington (alexharrington) said :
#8

Looks like the CMS isn't returning valid data.

If you've installed 1.7 CMS then the database isn't compatible with 1.6 CMS
- so I assume you deleted it and started again?

Alex

Revision history for this message
nicothiflo (nicothiflo) said :
#9

Yes, the 1.7 CMS is on localhost (now delete).
for the 1.6 CMS i've use an other host. (192.168.15.80)

LOG: 2015-01-27 14:22:33 (.MediaInventory:3831) 0 error <class 'httplib.InvalidURL'>
LOG: 2015-01-27 14:22:33 (.updateMediaInventory:1370) 1 error Unable to send mediaInventory to the server via XMDS.
-
LOG: 2015-01-27 14:22:33 (.RequiredFiles:3471) 0 error 'NoneType' object has no attribute 'RequiredFiles'
LOG: 2015-01-27 14:22:33 (.run:1015) 0 warning XMDS RequiredFiles threw an exception

Revision history for this message
Best Alex Harrington (alexharrington) said :
#10

I'm sorry I don't know then, and as I said before support for the Linux
client has been discontinued

Revision history for this message
nicothiflo (nicothiflo) said :
#11

Thank you :)

Bye <3

Revision history for this message
nicothiflo (nicothiflo) said :
#12

Thanks Alex Harrington, that solved my question.

Revision history for this message
nicothiflo (nicothiflo) said :
#13

Edit : For the registration (green dot) it's good.
the problem is the proxy on ubuntu !

But Requires Files schedule and log are red.

Revision history for this message
Alex Harrington (alexharrington) said :
#14

Then likely you've not licensed the client in the CMS

Revision history for this message
nicothiflo (nicothiflo) said :
#15

Yep :) IT WORK <3

Thank you !