Simulating RequiredFiles request?

Asked by Bartek

Hello,

I'm looking for some simple method for emulating client call on server.

From time to time since updating to rc1 some clients skips downloading some of files required to render layout without reason.

For example today one of client don't even try to download 169.mpeg file required to display layout correctly.
This file is mentioned in schedule.xml.

I've already deleted all xlfs, cachemanager.xml, checked blacklist table in sql. In debug log there is info that 0 files are needed to get. Later client tries to display file that not exist:

Aug 17 16:35:34 10.168.101.102 XiboClient[1936]: Comparing current MD5 [f587f2b56cb1a9f4320bf14a7ab7be27] with given MD5 [f58
Aug 17 16:35:34 10.168.101.102 XiboClient[1936]: HardwareKey: [IN]
Aug 17 16:35:34 10.168.101.102 XiboClient[1936]: HardwareKey: [OUT]
Aug 17 16:35:34 10.168.101.102 XiboClient[1936]: There are 0 files to get
Aug 17 16:35:34 10.168.101.102 XiboClient[1936]: File Collector Complete - getting Schedule.
Aug 17 16:35:34 10.168.101.102 XiboClient[1936]: Info: <message>About to Write the Cache Manager</message><method>CacheManage
Aug 17 16:35:35 10.168.101.102 XiboClient[1936]: Schedule Retrival Complete.
Aug 17 16:36:35 10.168.101.102 XiboClient[1936]: Media - SignalElapsedEvent: Media Complete
Aug 17 16:36:35 10.168.101.102 XiboClient[1936]: Region - DurationElapsedEvent: Media Elapsed: C:\Documents and Settings\Defa
Aug 17 16:36:35 10.168.101.102 XiboClient[1936]: Region - SetNextMediaNode: New media detected video
Aug 17 16:36:35 10.168.101.102 XiboClient[1936]: Region - SetNextMediaNode: Trying to dispose of the current media
Aug 17 16:36:36 10.168.101.102 XiboClient[1936]: Audit: Recording a Stat Record. Current Count = 7
Aug 17 16:36:36 10.168.101.102 XiboClient[1936]: Region - EvalOptions: Creating new media: video, 212
Aug 17 16:36:36 10.168.101.102 XiboClient[1936]: Region - Eval Options: Showing new media
Aug 17 16:36:42 10.168.101.102 XiboClient[1936]: Media - SignalElapsedEvent: Media Complete
Aug 17 16:36:42 10.168.101.102 XiboClient[1936]: Region - DurationElapsedEvent: Media Elapsed: C:\Documents and Settings\Defa
Aug 17 16:36:42 10.168.101.102 XiboClient[1936]: Region - SetNextMediaNode: No Valid media nodes to display
Aug 17 16:36:42 10.168.101.102 XiboClient[1936]: Region - EvalOptions: Creating new media: video, 169
Aug 17 16:36:42 10.168.101.102 XiboClient[1936]: Region - Eval Options: Showing new media
Aug 17 16:40:32 10.168.101.102 XiboClient[1936]: Collection Timer Ticked, Firing RequiredFilesAsync
Aug 17 16:40:34 10.168.101.102 XiboClient[1936]: Schedule - RequiredFilesCompleted: RequiredFilesAsync complete.

From that moment display in stopped, no events connected to display. in log there is only xmds stuff every collection interval tick.
It's still 1.0.7 client version, i'm not sure if it is somehow related to #613209, as there is normal program flow on client, without any layout change during client work, client simply ignores 169.mpeg totally in download part :)

So i want to check RequiredFiles if there is 169 listed, or maybe its some problem with client...

Question information

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

Soapui is your best bet. You can copy the client license and server key from the web interface.

Alex

This email carries a disclaimer, a copy of which may be read at http://learning.longhill.org.uk/disclaimer

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

http://www.soapui.org/

The free version is fine. Alternatively the Linux client dumps required files requests straight out to disk as rf.xml in the client library folder.

Alex

Revision history for this message
Bartek (czajka) said :
#3

Nice tool, thanks!

So i was right, something is broken in server:

There is RequiredFiles responense:

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:xmds" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
   <SOAP-ENV:Body>
      <ns1:RequiredFilesResponse>
         <RequiredFilesXml xsi:type="xsd:string"><![CDATA[<?xml version="1.0"?>
<files>
  <file type="layout" path="215" id="215" size="13030" md5="fd8a8ab50655beee5bacc6c3367a697b"/>
  <file type="media" path="209.mpeg" id="209" size="11858762" md5="93dd5b0a025ae0a171e52d2040132a3b"/>
  <file type="media" path="476.mpg" id="476" size="46558933" md5="9ac57f5150c96534ca49c85070285d82"/>
  <file type="media" path="477.mpg" id="477" size="15243847" md5="703e9dd1785555e0caab4e82b505fea7"/>
  <file type="media" path="501.mpg" id="501" size="5864117" md5="055aa5d131d7870c1d6af42c7a9c94ba"/>
  <file type="media" path="492.mpg" id="492" size="5554952" md5="80c738a5e7d45bc948426d79a8228739"/>
  <file type="media" path="210.mpeg" id="210" size="11840277" md5="9623f2cc4d3b0036ab6b95ee868f0449"/>
  <file type="media" path="485.mpg" id="485" size="150050105" md5="57f5065079ffab27795fa495ebb0c688"/>
  <file type="media" path="212.mpeg" id="212" size="3775641" md5="025e445fe65f487161ebd456bec9dbee"/>
  <file type="media" path="207.mpeg" id="207" size="11865028" md5="57fdb4fc243d7858d199efae2599b5a7"/>
  <file type="media" path="319.mpg" id="319" size="110567048" md5="5ae7a5a53b8fb95f78ad522fa02810f8"/>
  <file type="media" path="321.mpg" id="321" size="75828754" md5="35b0497d9c567a1fe06feb8ff94a1129"/>
  <file type="media" path="198.mpeg" id="198" size="11932170" md5="340076ab0521ec2ad3ddc2165f746bca"/>
  <file type="media" path="245.mpeg" id="245" size="254696167" md5="193c8ef01f8b930120222073ec83ca0b"/>
  <file type="media" path="322.mpg" id="322" size="88458973" md5="561543c9b0be22234501b829771e73fc"/>
  <file type="media" path="444.mpg" id="444" size="124590411" md5="a78efdc914f5c6fff7e20ccf9f31224e"/>
  <file type="media" path="291.mpg" id="291" size="91864765" md5="08a482129f7293fc72409e66768ac028"/>
  <file type="media" path="85.mpeg" id="85" size="58017681" md5="478a2e3ace85c2d6e2cf84523ed7bb4b"/>
  <file type="media" path="302.mpg" id="302" size="124222725" md5="b24530d903fdffdce13dcacb7134e102"/>
  <file type="media" path="194.mpeg" id="194" size="16682170" md5="ca4e8b6d2ca9e88e4377795a0191743a"/>
  <file type="media" path="446.mpg" id="446" size="18494730" md5="7a3e618df3769b573f533058fefd1d44"/>
  <file type="media" path="323.mpg" id="323" size="264722635" md5="beebd2b34b6d12c9431dea46ca2090e9"/>
  <file type="media" path="318.mpg" id="318" size="94159803" md5="fcbecd0f80a52c6d1f3bcf787f718131"/>
  <file type="media" path="292.mpg" id="292" size="96127404" md5="82af5849bc10b1b53dff10e691ecbcea"/>
  <file type="media" path="434.mpg" id="434" size="109760023" md5="5f3870889a5d146e0ccaceab9cb6cb69"/>
  <file type="media" path="278.mpeg" id="278" size="232611101" md5="5399acedacc59cffaae7137ef2923fdf"/>
  <file type="media" path="412.mpg" id="412" size="5938816" md5="9607659c1733cd79ff8dd7bd0ed89a0e"/>
  <file type="media" path="478.mpg" id="478" size="15897868" md5="9e8c587f3a9c7f5eb9cf5c483be5c626"/>
  <file type="media" path="308.mpg" id="308" size="105221332" md5="498a8d954ea7c232e04eee2d3688a8c8"/>
  <file type="media" path="143.mpeg" id="143" size="98814715" md5="74c816a7d2bc29daadd47fdf39ebe006"/>
  <file type="media" path="347.mpg" id="347" size="83049843" md5="7e9e1b5cbf474f44e2dbbeef9238fa23"/>
  <file type="media" path="440.mpg" id="440" size="7280830" md5="e8354c9b793af2ffd5f5cbc62c28a6b2"/>
  <file type="media" path="305.mpg" id="305" size="259175744" md5="521a6b6f7dc9f3df09c6425055f3e618"/>
  <file type="media" path="289.mpg" id="289" size="30989788" md5="098c32776f2255a25326ae7762395667"/>
  <file type="media" path="320.mpg" id="320" size="81428105" md5="f587f2b56cb1a9f4320bf14a7ab7be27"/>
  <file type="blacklist"/>
</files>]]></RequiredFilesXml>
      </ns1:RequiredFilesResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

And there is result of base64 decoding xlf:

czajka@czajka:~$ cat base64shedule |base64 -d |grep 169
                    </media><media id="169" type="video" duration="0" lkid="10124" schemaVersion="1">
                            <options><uri>169.mpeg</uri></options>
                    </media><media id="209" type="video" duration="0" lkid="10169" schemaVersion="1">

169 is missing in RequiredFiles

Probably my db dump is needed with broken display num? :)

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

Yep.

This email carries a disclaimer, a copy of which may be read at http://learning.longhill.org.uk/disclaimer

Revision history for this message
Bartek (czajka) said :
#5

Just sent to <email address hidden>.

Even it here is error in db, no in php code, error in db is a result of some error in desinger code (I can ask a layout author if he was using copy function when layout was created). Server code is unaltered with exception of p4h variable.

Revision history for this message
Bartek (czajka) said :
#6

I've forgot: Buggy display's id is 50 - Magiel

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

Dan and I discussed this and think we have a fair idea why. I'll mark it up as a bug.

Can you help with this problem?

Provide an answer of your own, or ask Bartek for more information if necessary.

To post a message you must log in.