ibm mobilefirst - IBM Worklight 6.2 Direct Update fails when application authenticity is enabled (iphone IOS 7) -


i'm deploying worklight 6.2 application iphone (ios 7) environment. managed enable application authenticity iphone. when application authenticity feature enabled, direct update feature fails. on iphone, after tap on "ok" button when receiving new updates, application download update awhile show: direct update failed (direct update failure). see error log in xcode console:

***014-12-16 19:32:16.487 onlinebanking[14685:132821] splash screen image default 2014-12-16 19:32:16.487 onlinebanking[14685:132821] iphone 5 detected. splash image name is: default-568h 2014-12-16 19:32:18.991 onlinebanking[14685:133123] [error] [wl_direct_update] -[wldirectupdatedownloader loginvalidupdatefiledata] in wldirectupdatedownloader.m:428 :: invalid update data format: /*-secure- {"wl-authentication-failure":{"wl_authenticityrealm":{"reason":"invalid gadget request format: \/onlinebanking\/iphone\/0.1skin=default. unknown handler path: 0.1"}}}*/qswciaaaaaaiaaaaaaaaauesdbbqacagiaikckeuaaaaaaaaaaaaaaaagaaaazgvmyxvsdc9i b3dlci9hbmd1bgfyl2fuz3vsyxiuanpmvetag0fwmpqfq2ii30jcojekky8jjd3exgkzpr2gtgze zjhgaom2rbfs3tjmbl5n38o+w30le52qalv1s2cps7+tpmfsnq+rqtz5rwyur39n3iehwzkb1dgw yos0r6nxwvxez8vlwm4m+wq+tey/8dsqyvjoxexhaqnlly6kpfrfxnlcx1+j1qo/tlnhmldptmff /3oyvd+kv4t/wmzusbdt39u6twf/vo9+lorjno1hb/kwjs7rejbynj28rekingcvp9zcihp2clsc /xth83xyz0xevczyuxhzj0bfch4bg+5h83yujrm8hfwij505dkkqy2xyd3zw7pbgauuzhqbgnyyd nwdvvjy9tyd1ncul9xkuizjoxmftrl6cizaypjops3wsqxpn0x5zqujfwlxjbmpezvv5hq2zocfr aaxkkkdnkfwznaajkklwxabfztwqbt8nzzr+sc5m0/rzlkot0w50qv+6hunv9hawzh1efpd+2w6n ynnop+rq4d/eu47wn61rsboxrt86s0qqy/nlo+ssea9jkdokxsnlsinvnetdncrg0ituag1fpz8o t2ccs2syxtgcnlsm1xxa4yqktacx2xqansfqcojkjyrzwiyocwkuhvhg0dkwynq2hqzonriknjr3 yxro7dc0knyes7tzvi5s4gwxhicrewkrkhc19kvaacotgebzizmaxaislbochibo2jba7erdgsv. restart application , try again 2014-12-16 19:32:19.020 onlinebanking[14685:133123] [error] [wl_direct_update] -[wldirectupdatedownloader installupdate] in wldirectupdatedownloader.m:253 :: invalid format of file /users/personifyvietnam/library/developer/coresimulator/devices/1fbdd906-33b4-431e-a340-68b8bff8f8fa/data/containers/data/application/5fc1c249-9064-495c-b047-e77713d34f29/library/tempupdatefile. reason is: file length prefix not found. reinstall application , try again. 2014-12-16 19:32:19.030 onlinebanking[14685:133088] [error] [wl_direct_update] -[wldirectupdateplugin updatedidfinishwithcommand:status:] in wldirectupdateplugin.m:123 :: update did finish error failure_unknown 2014-12-16 19:32:19.062 onlinebanking[14685:132821] thread warning: ['notification'] took '21.096191' ms. plugin should use background thread. 2014-12-16 19:32:19.109 onlinebanking[14685:132821] [debug] [wl_splash] -[wlsplashview hide] in wlsplashview.m:73 ::***  

i config security test in authenticationconfig.xml , deploy file .war file worklight server:

<customsecuritytest name="customtests">             <test realm="wl_antixsrfrealm" step="1"/>             <test realm="wl_authenticityrealm" step="1"/>             <test realm="wl_remotedisablerealm" step="1"/>             <test realm="wl_directupdaterealm" mode="persession" step="1"/>             <test realm="wl_anonymoususerrealm" isinternaluserid="true" step="1"/>             <test realm="wl_devicenoprovisioningrealm" isinternaldeviceid="true" step="2"/> </customsecuritytest> 

then in application-descriptor.xml:

<iphone bundleid="xxxapp.domain.com" version="0.1" applicationid="appid" securitytest="customtests">         <worklightsettings include="false"/>         <security>             <encryptwebresources enabled="false"/>             <testwebresourceschecksum enabled="false" ignorefileextensions="png, jpg, jpeg, gif, mp4, mp3"/>         </security> </iphone> 

what worklight full build number?

i think should latest ifix worklight 6.2.0.01 ibm fix central because same issue "direct update not working when authenticity enabled" fixed in apar pi26123.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -