CMS Version
Version 2.3.8 - Windows Docker
Issue
I’ve been using DataSets to get a very basic JSON file from our Papercut server
All running fine displaying the amount of pages printed in the last 4 hours.
Until we replaced our expiring wildcard cert on our print server at the beginning of the year,
Its a godaddy wildcard and Xibo was showing " curl: (60) SSL certificate problem: unable to get local issuer certificate" error when using the “Test Data URL” button
I fixed that by adding the cacert.pem file to shared\cms\ca-certs
and running the following as it still gave the curl error from just adding the pem file to the folder
docker exec -it xibo_cms-web_1 bash
update-ca-certificates
exit
docker restart xibo_cms-web_1
I can now get my JSON through the Test Data URL
But when running the scheduled task I receive
"The error is: Unable to get Data for PagesPrinted because the response was not valid JSON. "
I’ve run the JSON through some validators and they have returned positive
Through firefox and edge chome the JSON looks like this
{
“recentPagesCount” : 2746,
“comment” : “The number of pages printed in the last 240 minutes.”
}
the Test DATA URL button returns this:
{
“entries”: [
{
“recentPagesCount”: 2749,
“comment”: “The number of pages printed in the last 240 minutes.”
}
],
“number”: 1,
“processed”: [
[
{
“recentPagesCount”: 2749,
“comment”: “The number of pages printed in the last 240 minutes.”
}
]
],
“messages”: [
“Processing 1 results into 5 potential columns”,
"Processing Result with Data Root ",
“DataRoot is an object”,
“Processing as a Single Row”,
“Consolidating entries”,
“There are 1 entries in total”
]
}
Other than the certificate the server software is unchanged, Xibo is also unchanged from when it was working Dec last year
Any ideas of what I have missed?
Cheers