SPA514G: compressing the XML profile file

Hi
First, thanks for any help you can give.
Serving plain text or encrypted XML config files to the SPA514G's using HTTP works well, no issues.
But if I compress the config files then the phone's do not appear to read the config they contain.  I'm using gzip on a Mac, if I list the contents of the gzipped file (gzip -lv) it shows that it uses the deflate method (RFC 1951) which I understand is the compression method that the SPA514G's support.
I have tried serving XML files that are compressed and encrypted, and ones that are just compressed without luck.  I can see on the server that the phone downloads the compressed (or compressed and encrypted) file but it does not apply the configuration it contains.
If I manually de-encrypt and decompress the XML file, a SHA1 check verifies it is identical to its source file.
Compression command: gzip --keep "${config_file}"
Encryption command: openssl enc -e -aes-256-cbc -k ${passphrase} -in "${config_file}" -out "${config_file}.enc"
Web server: Apache 2
Phone: SPA514G v1.0.0
Firmware: 7.5.6a
Customization: Open
GZip version: Apple gzip 242 (native to Mac OS X 10.10.1)
OpenSSL version: OpenSSL 0.9.8za 5 Jun 2014 (native to Mac OS X 10.10.1)
MC

Update: Looks like it may not be gzip after all.
A small XML file (spa-initial.xml.gz.enc <2KB decompressed) that is gzipped and encrypted works fine, syslog shows a successful resync.  This file only contains the attributes for a firmware upgrade and the provisioning profile rules.
My main XML config file (SPA514G.xml.gz.enc 212KB -> 23KB) that is gzipped and encrypted at the same time, and in the same way, as the first fails.  Syslog shows "Resync failed: corrupt file".
I would determine that the contents of SPA514G.xml.gz.enc must be at fault except it resync's successfully if the same file is delivered as raw XML or encrypted XML.
I was left wondering if its the web server (e.g. chunked transfer encoding) but that doesn't make sense either.
Compressed SPA514G.xml.gz.enc is much smaller than the raw XML so it should be easier, and the web server delivers spa-initial.xml.gz.enc fine so it can't just be the compressed content.
Just to be sure I put Tftpd32 v4.50 on a Windows PC on the same LAN as the phone, I get the same error when it tries to resync SPA514G.xml.gz.enc i.e.  "Resync failed: corrupt file".
In short:
- XML = works
- Encrypted XML = works
- Compressed XML = does not work
- Compressed & encrypted XML = does not work
Help?
MC

Similar Messages

  • Want attach the XML data file with layout template in Oracle 10g

    Hi All,
    I need a help from you genius guys.
    I am genrating reports in BI with xml the procedure which I am following is as below.
    1. generating XML from the RDF
    2. creating a template in .rtf format
    3.after that loading the xml to the template then getting the required report.
    This all is doing through the given buttons
    But now my requirement is to create the gui from user can select the report and get the desire output file so how we would be able to attach the XML data file with layout template in Oracle 10g.
    If you require more detail please let me knnow.
    Thanks,
    Harry

    I am not using Oracle apps.
    I am using oracle 10g reports and I get something in it like one patch I downloded and one java code is having which creates the batch file ...still I am working on it ..
    If you will get some please share so that it will be helpful.
    Thanks,
    Harry

  • EHP1 Installation - error during the XML stack file check.

    Hello SAP fans and gurus.
    I'm updating CRM with EHP1 and I'm stuck at the phase PREP_EXTENSION/SUBMOD_EXTENSION_NEW/SELSTACKXML. Something wrong with the XML stack file. I get this error:
    Severe error(s) occured in phase PREP_EXTENSION/SUBMOD_EXTENSION_NEW/SELSTACKXML!
    Last error code set: Error reading stack info, return Code = -1, Reason = 'The stack configuration is not valid for the system CRM, inst.-no. 0020652601'
    The trouble ticket isn't saying much, but I'll post it anyway:
    This trouble ticket was created by SAPehpi on 20110520102342
    SAPehpi broke during phase SUBMOD_EXTENSION_NEW/SELSTACKXML in module PREP_EXTENSION / Extension module for start release >= 40B
    Error Message: Error reading stack info, return Code = -1, Reason = 'The stack configuration is not valid for the system CRM, inst.-no. 0020652601'
    Summary of SAPehpi:
    SAPehpi Release:     lmt_001
    SAPehpi Version:     40.005
    Start Release:          701
    Target Release:          701
    Summary of host system details:
    SID:               CRM
    Host:               sapvmcrm
    MS Host:          sapvmcrm
    GW Host:          sapvmcrm
    Start Path:          /usr/sap/CRM/DVEBMGS00/exe     
    Kernel Path:          /usr/sap/CRM/DVEBMGS00/exe
    Summary of operating system details:
    OS Type:          Linux X86_64
    OS Version:          2.4
    Summary of database details:
    Database Type:          ada
    Database Version:     7.7.07.014
    Summary of RFC details:
    Host:               sapvmcrm
    GW Host:          sapvmcrm
    Client:               000
    Destination:          CRM
    Language:          
    System No.:          00
    There's one problem with the file SAPEXEDB_82-10007250.SAR, which was in the download basket, but is not available for download. I deleted the record in the XML stack file and tried the phase again... with no success. Going through the XML file and checking if the packages have been downloaded is a real pain in the ***.
    Anyway, can I somewhere download this file SAPEXEDB_82-10007250.SAR?
    Or can anyone help me, how solve this issue different way?
    Thanks a lot in advance.
    -Stefan

    OK, I got it. Wrong installation number. We had to change the installation number in the stack file according the system in the Solution Manager via transaction SMSY. Then it worked like a charm.

  • The XML Source file is unavailable for viewing

    Same java application is deployed on two different servers. One server is in the intranet zone and the second one is in the internet zone. The request sent to the server is an xml file and the response from the server is also an xml.
    In intranet server, when we are trying to view the source of the response xml file , we are getting a prompt displaying the message "The XML Source file is unavailable for viewing".
    But in internet server, when we are try the same, we are getting a valid xml resposne. We are using IE 6.0 - SP1 browser.
    We tried the same in the mozilla browser and found the same results. Any suggestions on this?

    One possibility is the IE security settings under tools/internet options. The intranet site may have a lower security setting than the internet site. The browser may not ne letting the internet site download the xml.

  • ADS MA : the XML exported file (export to log file) doesn't export Distinguished Name in the attribute member for a group

    Hello,
    I am facing a weird issue during the export of a group to a log file (xml).
    I have configured my ADLDS management agent such as the export run profile exports data into a XML Ffile:
    Everything is fine in the XML, I see my new accounts, the attributes updated for accounts but for an unknown reason the group which should contains accounts does
    not contain the DN values.
    It contains the tags <dn-value> and <dn> but <dn> is empty
    e.g:
    <delta operation="update" dn="CN=GroupX,OU=Users,DC=ZZZZ">
     <anchor encoding="base64">XDSQDQDQ</anchor>
     <dn-attr name="member" operation="add" multivalued="true">
      <dn-value>
       <dn/>
      </dn-value>
      <dn-value>
       <dn/>
      </dn-value>
     </dn-attr>
    During the export, FIM updates the attribute "member" of the group:
    Member attribute seems to be caught by FIM during synchro profile and export profil bt not translates correctly in the final xml file.
    Any ideas?
    Thanks for your reply.

    Thinking the same thing as David - sounds like a bug - but that's curious because I've never had a problem with the AD MA doing exactly the same thing, albeit with FIM R1 most recently.  What version of FIM are you using, and have you checked the
    release notes of any subsequent versions to see if any such issue is mentioned?
    Bob Bradley (FIMBob @
    TheFIMTeam.com) ... now using FIM Event Broker for just-in-time delivery of FIM 2010 policy via the sync engine, and continuous compliance for FIM

  • I corrupted the firefox profile file using profile manager and firefox thinks it is still running and asks me to close but there is no instance of it running...I have tried several re-installs but cannot resolve the problem....

    .........I have deleted the .ini file associated with the profile file and the profile file itself...have tried to locate the "lock" file but cannot find the file in the specified path on the support forum for this problem....I believe there is a file mounted in another directory somewhere that firefox is seeing....I would really like to be able to use firefox as the default browser on this new linux (ubuntu) install...it was working prior to my trying to import my profile from the windows partition.....

    See this. <br />
    https://support.mozilla.com/en-US/kb/Firefox+hangs#Hang_at_exit

  • ** The XML output file is unreadable in SAP ECC 6.0 (Working fine in 4.6c)

    Hi Friends,
    I am working in SAP Technical upgrade Project from 4.6C to SAP ECC 6.0. In 4.6c one Z program is there, the output of Z program is to generate output XML file in the application Server. We checked and downloaded that the output file is readable and the XML is valid.
    When we run the same program in ECC 6.0. (after unicode check & changes done), the output xml file is generated and it is in unreadable form. (XML contains some machine characters). When we open the XML in Altova Spy, it shows the error XML is invalid. The erorr is 'character #x3F3C is grammatically unexpected'. 
    In 4.6c, they used the encoding <?xml version="1.0" encoding="ISO-8859-1" ?> . We changed the encoding to UTF-8 in ECC 6.0 since we are doing unicode conversion.  (
    <?xml version="1.0" encoding="UTF-8" ?> ). After this change also, the output file is not generated correctly. It is unreadable form. (Some Machine Characters).
    Friends, What could be the problem ? . Can you help me to identify this problem.
    Kind regards,
    Jegathees P.

    I troubleshooted that, the reason is that conversion of X to C (Hexadecimal to C) in the ASSIGN statement is not working correctly in ECC 6.0. Then, we replaced the code with our custom Function Module to convert xstring to string. After this, we got the XML correctly, readable and well-formed XML.

  • SPA122 - How to turn off "DHCP Option To Use" in the Provisioning tab using the XML configuration file?

    As default, SPA122 and SPA112 have DHCP Options 66, 160, 159 and 150 turned on.
    Our pre-provisioning process includes adding our default profile rule to our provisioning server for the device to pull its configuration files once the device has been added to an account.
    However, it seems like some customers have had problems with the device downloading the definite configuration file and manually turning off option Option 66 in the provisioning tab in the device solves this issue.
    Is there any option we could add to our pre-provisioning file so that it removes 66 from the "DHCP Option to Use" field in the provisioning tab?
    Please advise...

    Thanks Dan,
    I didn't know the dhcp server could serve different options to different classes of clients, I'll have to look that up!
    Moises
    so if your provisioning file has this line below (this is from a spa5xx config I had in my temp folder, so use the line from your provisioning file, or use the SPC tool to create a new default config for that device type)
    <DH<DHCP_Option_To_Use group="Provisioning/Configuration_Profile">66,160,159,150,60,43,125</DHCP_Option_To_Use>
    change it to
    <DH<DHCP_Option_To_Use group="Provisioning/Configuration_Profile">160,159,150,60,43,125</DHCP_Option_To_Use>
    Hope it helps,
    Provisioning guide is here
    Cisco IP Telephony Devices Provisioning Guide - Cisco Support Community
    Dan

  • How to change the colors in Keynote 6.1 globally using the xml presentation file?

    Hi ,
    When I used keynote 5.3 in the "show package contents" I could find an Index.apxl.gz file. With that XML like file, I changed the color of a scheme globaly by replacing the color that I had with another one. However in new Keynote 6.1 there is no such Index.apxl file. There are a bunch of binary .iwa files that are unreadable and of course of no use to us.
    Anyone has solved this problem? Its really bad, and slowing my work down like a lot :/
    I wonder what kind of developers thought of this "amazing" change from XML to IWA (whatever that is)....
    Anyway thanks a lot!

    Hello Gary,
    I'm having the same problem as mshefiti, and I don't think that using a Custom Theme could be the solution, at least I could not see it.
    What we need is the possibility of replacing a specific colour through the all presentation instead of having to go through each single element in each slide that is a lot time consuming. Basically what you can do when you tie a color scheme into the theme colors in PowerPoint.
    With the theme, as far as I know, you can have specific color and settings for the titles, the text, the background etc, but not on the single elements you put in the slides, like icons, graphs etc.
    May be I'm missing something in the potential of the Custom Theme, or I'm not using it properly, if that's the case can you give a link to a tutorial that explain that ?
    Thanks

  • Where can i find ozxmlscene DOCTYPE to validate the XML Motion files i create

    Hi ,
    i'm creating Motion files to be inserted into FCP 7 TimeLine or Motion 3
    It works perfectly except sometimes the XML file i produce crash FCP or Motion
    (theses .motn files are allways made with the same methods by a php script that produces UTF-8 motn files)
    I checked the content of th files without finding any problem
    As a matter of fact i still haven't found the way to validate these xml files for i was unable to find th OZXMLSCENE DTD for it
    Could you help me please?
    Francis67

    The enabling part will have to be done with LiveCycle Reader Extensions, which is also available from Datalogics as the PDF Java Toolkit with Reader Extensions.
    If you can get all of your users to move to Reader 11 and don't use digital signatures, consider:
    1. Appligent's AppendPDF Pro, perhaps along with FDFMerge.
    2. Debenu's Quick PDF Library
    3. iText

  • The XML data file

    This seems to be one of the few posts that never gets attention ...Hmmm I wonder why ?<br /><br />Help Appreciated !! <br />Using Lifecycle 8, with out Reader Extensions, the email submit button generates an XML output file such as the following; <br /><br /><?xml version="1.0" encoding="UTF-8"?> <br /><br /><FormName> <br />   <Position>thwrth</Position> <br />   <Division>arthar</Division> <br />   <DepartmentUnit>rthqrth</DepartmentUnit> <br /></FormName> <br /><br />How can I get the following reference included as line 2 of the output xml file ? <br /><br /><?xml-stylesheet type="text/xsl" href="SR.xsl"?>

    I have a vital form that clients fill out, which is passed to many people in the company along the workflow. The form is a Planner and we have in the following PDF, Word Doc..
    Well before, the Planner.pdf was originally created in Word, since most people have access to Word.. but evolved to a PDF form created from the Word Doc via Adobe LiveCycle Designer 8.0 w/ User Rights enabled so that the form could be filled out and saved using Adobe Reader.. which was a step better than Word.. being that it is free. But this needed to be easier and more to the point b/c some clients don't particularly like installing the latest version of Reader, even if you provide them the link. Nor do they like saving the form, filling the form, and attaching the form to send back.
    My goal is to have the client fill an HTML version of the form, submit and be done with it, but everyone in the workflow be able to easily receive the filled Planner as a PDF form.
    So some months ago I ran into this post Chris Trip, "Populate Livecycle PDF from mySQL database using PHP" #8, 22 Sep 2007 4:37 pm
    which uses the command line Win32 pdftk.exe to merge an FDF file into an existing PDF on the remote server, and serve this to whoever.
    My problem was with shared hosting and having the ability to use the Win32 pdftk.exe along with PHP which is predominantly used on Linux boxes. And we used a Linux box.
    so i created the following unorthodox method, which a client fills the HTML version of the Planner, all field values are INSERTED into a table in MySQL DB, I and all filled planners that have been filled by clients to date can be viewed from a repository page where an XML file is served up of the corresponding client, but someone would have to have Acrobat Professional, to import the form data from the XML file into a blank form.. altoughh this is simple for me.. I have the PHP file already created so that when a Planner is filled and client submits. >> the an email is sent to me with a table row from the repository of the client name, #, email, and a link to d-load the XML file,
    But I also have the PHP files created so that the Planner can be sent to by email to various people in the workflow with certain fileds ommitted they they do not need to see, but instead of the XML file beiong served up i need the filled PDF Planner to be served.
    I can do this locally with ease on a testing server, but I am currently trying to use another host that uses cross-platform compatibility so i can use PHP and the pdftk.exe to achieve this, as that is why I am having to serve up an XML file b/c we use a Linux server for our website, and cant execute the exe.
    Now that I am testing the other server (cross-platform host), just to use them to do the PDF handling (and it's only $5 per month) I am having problems with getting READ, WRITE, EXECUTE permissions..
    Si guess a good question to ask is can PHP do the same procedure as the pdftk.exe, and i can eleminate it.
    or how in the heck can i get this data from the DB into a blank PDF form, like i have described??
    here are some link to reference
    Populating a LiveCycle PDF with PHP and MySQL
    http://www.andrewheiss.com/Tutorials?page=LiveCycle_PDFs_and_MySQL
    HTML form that passed data into a PDF
    http://www.mactech.com/articles/mactech/Vol.20/20.11/FillOnlinePDFFormsUsingHTML/index.htm l
    and an example
    http://accesspdf.com/html_pdf_form/

  • The XML data file - I need to add an XSL reference line

    Help Appreciated !!<br />Using Lifecycle 8, with out Reader Extensions, the email submit button generates an XML output file such as the following;<br /><br /><?xml version="1.0" encoding="UTF-8"?><br /><br /> <FormName><br />   <Position>thwrth</Position><br />   <Division>arthar</Division><br />   <DepartmentUnit>rthqrth</DepartmentUnit><br /></FormName><br /><br />How can I get the following reference included as line 2 of the output xml file ?<br /><br /><?xml-stylesheet type="text/xsl" href="SR.xsl"?><br /><br />Thanks a lot

    If I understand correctly, Sonic Kaboom.swf needs to be edited in a separate Flash authoring program and then reinserted into your HTML document. 
    As Murray said, Flash is dead.  Nobody uses it anymore.   We use HTML5, CSS3 and JavaScript animations which have universal support from Smartphones, Tablets and other web devices that can't support Flash.   Look at Edge Animate.
    HTML animation | Download free Adobe Edge Animate CC trial
    Nancy O.

  • Compressing the rman output file.

    Is there a command within rman to compress the output file? Currently using Oracle 8.1.7 on HP-UX 11.00.

    When you say compress I take it that you mean something like zip or tar or gzip?
    No, there is nothing like that.
    But, with RMAN we only backup blocks that have ever been used by the database. So if you have a 500MG file and only 100MG of blocks have ever been used by the database, then only the 100MG of blocks will be backed up.
    You can run RMAN via a pipe, so I suppose you could put the output in a compressed file, but I have never tried that and I am not sure how that would work.

  • Unable to Load the XML data file in to RTF template

    Hi Team,
    We are working on the XML publisher reports,where the xml data is containing the Japanese Characters.
    I am facing an error while loading my xml data which has the japanese characters values in between the XML tags into the RTF Template.Though i have installed Japan fonts in my system,still unable to load the data.
    Could any one please help me out in this regard.
    Thanks in Advance.

    Hi;
    Hi please clearfy below question for can make you fast help
    1. What is your OS?
    2. What is your EBS verison?
    3. What is your DB version and Db character set?
    Also check:
    About Oracle XML Publisher Release 5.6.3 [ID 422508.1]
    Regard
    Helios

  • After a crash with Win XP Professional, I am missing all the important Profile files. How can I recover passwords and history if the key3.db and places.sqlite files are not shown in the profile folder?

    I only have a large urlclassifier3.sqlite file in the old default profile folder. Help!

    Sounds like boot sector corruption to me! I suggest you download Testdisk a product of CG Security. Use the latest version that is NOT beta. Boot the computer to a bootable CD such as Hiren's Boot CD. Run the DOS version. Do NOT write anything to the hard disk, such as a log! Do a deep search for lost partitions. When given the opportunity, look at files and folders. Finally, do a rebuild of the boot sector, and compare that to the current boot sector and backup sector. The write a verified version of the boot sector back to the hard disk. Note: Testdisk 6.11.3, under DOS, will show DELETED FILES IN RED. You can then OFFLOAD them to another drive or USB stick. Good luck.

Maybe you are looking for

  • Connecting to a Mysql database using CF Administrator and DW

    I can't create a mysql datasource in CF Administrator. If I use the following datasource settings in CF Administrator: JDBC URL: jdbc:mysql://localhost:3306/test Drive Class: MySQL Connector J AND (note the emphasis) I set my local and remote folders

  • Spectre ultrabook speaker

    HP Sectre Ultrabook / Windows 8.1/ Can not seperate controls for ultrabook speakers from headphone jack. When I plug in headphones to the 3.5mm jack on the side there is an acknowledgment that headphones are plugged in and sound does come through, bu

  • Urgent: Getting warn while changing a field value...How to disable this?

    Hi All, I have one customizated PG which is getting different parameter value from a seeded PG. Now in Seeded PG there is multiple line (multiple line requisition) with Qualtity & Price field. We have added one link for each line. This link is custom

  • ORA Error : end-of-file on communication channel

    Hello everyone ! Every time i excuted a simple select query of type select X from Y where (z=1 or z=2 or z=3) i got a oracle error "ORA-03113: end-of-file on communication channel ". Can anybody tell me why this error occurs, also sometime i got the

  • SharePoint 2010 Zoom In Zoom Out Button

    Hey guys, I would like to insert a Zoom Out / Zoom In Button above an webpart. So I have to implement the ribbon directly in the space above the webpart, but I don't know how to do it. So I need a JavaScript function to do this. I hope you can help m