ibm mobilefirst - Getting "The server connection has timed out" error while integrating Worklight with WCS -
i following websphere commerce guide worklight store fronts link http://pic.dhe.ibm.com/infocenter/wchelp/v7r0m0/index.jsp?topic=/com.ibm.commerce.starterstores.doc/concepts/csmmobileappworklight.htm, use hybrid applications using ibm worklight 5.0.6.1
the application launches successfully, when trying place order able proceed few steps getting "the server connection has timed out" error. when re-installing application , again trying proceed getting error @ different step place order.
can please tell me problem ?
logcat log-
10-08 14:44:34.504: d/dalvikvm(960): gc_for_alloc freed 448k, 12% free 3852k/4356k, paused 31ms, total 52ms 10-08 14:44:45.023: d/cordova(960): onpagefinished(https://xxx.xx.xx.xxx/webapp/wcs/stores/servlet/m20ordershippingaddressselection?langid=-1&catalogid=10351&storeid=11001&krypto=ozwcp04ozrh8znepqt1ubcouydwk44ppgftteccgo0mhcu82e8ae4c9zbtspojbegdoo%2fos6e3s2%0d%0aqdiqk1vial3u9cdnzowkiwqeuh86ch2g0gjunwwbpoueomp8kurnpy603ncdkcvpqlbup7v%2f%2fyjd%0d%0ad5km9vkocykabikfuf9xp2xq5eplmut1ndj2cpjgeuqq0b22fi4%3d&ddkey=https:orderchangeserviceshipinfoupdate) 10-08 14:44:45.033: d/droidgap(960): onmessage(onnativeready,null) 10-08 14:44:45.033: d/droidgap(960): onmessage(onpagefinished,https://xxx.xx.xx.xxx/webapp/wcs/stores/servlet/m20ordershippingaddressselection?langid=-1&catalogid=10351&storeid=11001&krypto=ozwcp04ozrh8znepqt1ubcouydwk44ppgftteccgo0mhcu82e8ae4c9zbtspojbegdoo%2fos6e3s2%0d%0aqdiqk1vial3u9cdnzowkiwqeuh86ch2g0gjunwwbpoueomp8kurnpy603ncdkcvpqlbup7v%2f%2fyjd%0d%0ad5km9vkocykabikfuf9xp2xq5eplmut1ndj2cpjgeuqq0b22fi4%3d&ddkey=https:orderchangeserviceshipinfoupdate) 10-08 14:44:45.404: d/cordovanetworkmanager(960): connection type: 3g 10-08 14:44:45.423: d/droidgap(960): onmessage(spinner,stop) 10-08 14:44:45.433: d/wchybrid(960): initoptionsapp.ondeviceready entry 10-08 14:44:45.443: i/app(960): warning: button default behaviour overridden. backbutton event fired! 10-08 14:44:45.443: d/wchybrid(960): initoptionsapp.ondeviceready exit 10-08 14:44:45.454: d/wchybrid(960): ondeviceready event dispatched 10-08 14:44:45.483: d/wchybrid(960): wlclient init started 10-08 14:44:45.483: d/wchybrid(960): read cookies: null 10-08 14:44:45.493: d/wchybrid(960): cookiemgr read cookies: {} 10-08 14:44:45.533: d/wchybrid(960): before: app init onsuccess 10-08 14:44:45.543: d/wchybrid(960): wchybridappjs.wlenvinit entry 10-08 14:44:45.543: d/wchybrid(960): wchybridappjs.wlcommoninit entry 10-08 14:44:45.543: d/wchybrid(960): wchybridappjs.wlcommoninit langid(string): -1 10-08 14:44:45.553: d/wchybrid(960): wchybridappjs.wlcommoninit langid(number): -1 10-08 14:44:45.553: d/wchybrid(960): messagesjs.setlanguage lang id used: -1 10-08 14:44:45.573: d/wchybrid(960): wchybridappjs.wlcommoninit exit 10-08 14:44:45.573: d/wchybrid(960): wchybridappjs.wlenvinit android environment initializing started 10-08 14:44:45.583: d/wchybrid(960): wchybridappjs.updatetabstate entry 10-08 14:44:45.583: d/wchybrid(960): wchybridappjs.getcurrenttabindex entry 10-08 14:44:45.583: d/wchybrid(960): wchybridappjs.getcurrenttabindex selectedtab=3 10-08 14:44:45.593: d/wchybrid(960): wchybridappjs.getcurrenttabindex exit 10-08 14:44:45.593: d/wchybrid(960): wchybridappjs.updatetabstate exit 10-08 14:44:45.593: d/wchybrid(960): wchybridappjs.createoptionsmenu entry 10-08 14:44:45.633: d/wchybrid(960): wchybridappjs.createoptionsmenu exit 10-08 14:44:45.633: d/wchybrid(960): wchybridappjs.wlenvinit android environment initialization completed 10-08 14:44:45.633: d/wchybrid(960): wchybridappjs.wlenvinit exit 10-08 14:44:45.633: d/wchybrid(960): after: app init onsuccess 10-08 14:44:45.643: d/wchybrid(960): wlclient init success 10-08 14:44:48.834: d/cordova(960): onpagefinished(https://xxx.xx.xx.xxx/webapp/wcs/stores/servlet/m20ordershippingaddressselection?langid=-1&catalogid=10351&storeid=11001&krypto=ozwcp04ozrh8znepqt1ubcouydwk44ppgftteccgo0mhcu82e8ae4c9zbtspojbegdoo%2fos6e3s2%0d%0aqdiqk1vial3u9cdnzowkiwqeuh86ch2g0gjunwwbpoueomp8kurnpy603ncdkcvpqlbup7v%2f%2fyjd%0d%0ad5km9vkocykabikfuf9xp2xq5eplmut1ndj2cpjgeuqq0b22fi4%3d&ddkey=https:orderchangeserviceshipinfoupdate#) 10-08 14:44:48.844: d/droidgap(960): onmessage(onnativeready,null) 10-08 14:44:48.844: d/droidgap(960): onmessage(onpagefinished,https://xxx.xx.xx.xxx/webapp/wcs/stores/servlet/m20ordershippingaddressselection?langid=-1&catalogid=10351&storeid=11001&krypto=ozwcp04ozrh8znepqt1ubcouydwk44ppgftteccgo0mhcu82e8ae4c9zbtspojbegdoo%2fos6e3s2%0d%0aqdiqk1vial3u9cdnzowkiwqeuh86ch2g0gjunwwbpoueomp8kurnpy603ncdkcvpqlbup7v%2f%2fyjd%0d%0ad5km9vkocykabikfuf9xp2xq5eplmut1ndj2cpjgeuqq0b22fi4%3d&ddkey=https:orderchangeserviceshipinfoupdate#) 10-08 14:44:48.924: d/droidgap(960): onmessage(onpagestarted,https://xxx.xx.xx.xxx/webapp/wcs/stores/servlet/orderchangeserviceshipinfoupdate) 10-08 14:44:49.384: i/choreographer(960): skipped 42 frames! application may doing work on main thread. 10-08 14:45:01.733: d/cordovawebview(960): >>> loadurl(https://xxx.xx.xx.xxx/webapp/wcs/stores/servlet/m20orderbillingaddressselection?catalogid=10351&langid=-1&storeid=11001&krypto=fa39hzhxk1piugiar%2fmherjeln1e%2fgduryyr%2fyw46jmu2fmxe0c8gsxsgzuk78bv&ddkey=https:orderchangeserviceshipinfoupdate) 10-08 14:45:01.733: d/cordovawebview(960): >>> loadurlnow() 10-08 14:45:01.783: d/cordova(960): onpagefinished(https://xxx.xx.xx.xxx/webapp/wcs/stores/servlet/m20orderbillingaddressselection?catalogid=10351&langid=-1&storeid=11001&krypto=fa39hzhxk1piugiar%2fmherjeln1e%2fgduryyr%2fyw46jmu2fmxe0c8gsxsgzuk78bv&ddkey=https:orderchangeserviceshipinfoupdate) 10-08 14:45:01.783: d/droidgap(960): onmessage(onnativeready,null) 10-08 14:45:01.783: d/droidgap(960): onmessage(onpagefinished,https://xxx.xx.xx.xxx/webapp/wcs/stores/servlet/m20orderbillingaddressselection?catalogid=10351&langid=-1&storeid=11001&krypto=fa39hzhxk1piugiar%2fmherjeln1e%2fgduryyr%2fyw46jmu2fmxe0c8gsxsgzuk78bv&ddkey=https:orderchangeserviceshipinfoupdate) 10-08 14:45:01.783: d/droidgap(960): onmessage(onpagestarted,https://xxx.xx.xx.xxx/webapp/wcs/stores/servlet/m20orderbillingaddressselection?catalogid=10351&langid=-1&storeid=11001&krypto=fa39hzhxk1piugiar%2fmherjeln1e%2fgduryyr%2fyw46jmu2fmxe0c8gsxsgzuk78bv&ddkey=https:orderchangeserviceshipinfoupdate) 10-08 14:45:01.973: d/wchybrid(960): wchybridappjs.updatehistory entry 10-08 14:45:01.983: d/wchybrid(960): wchybridappjs.getcurrenttabindex entry 10-08 14:45:01.983: d/wchybrid(960): wchybridappjs.getcurrenttabindex selectedtab=3 10-08 14:45:01.983: d/wchybrid(960): wchybridappjs.getcurrenttabindex exit 10-08 14:45:01.983: d/wchybrid(960): wchybridappjs.updatehistory updated contents of historystack_3 10-08 14:45:01.983: d/wchybrid(960): wchybridappjs.updatehistory url[0]: http://xxx.xx.xx.xxx/webapp/wcs/stores/servlet/m20orderitemdisplay?catalogid=10351&langid=-1&storeid=11001 10-08 14:45:01.993: d/wchybrid(960): wchybridappjs.updatehistory exit
sever log-
[10/8/13 14:38:44:985 ist] 00000030 solrcore org.apache.solr.core.solrcore execute [mc_10351_cataloggroup_en_us] webapp=null path=/select params={debugquery=false&fl=catgroup_id%2cparentcatgroup_id_facet%2cidentifier_ntk%2cname%2cshortdescription%2cthumbnail%2cprice_usd%2cstoreent_id&start=0&rows=50&timeallowed=15000&facet=true&q=%2b%28%28*%3a*%29+and+%28identifier_ntk%3a%28%22appliances%22%29%29%29+%28_val_%3a%22product%28-0.001%2cgetsequencebycatalogandcategory%28sequence%2c%2710351%27%2c%27-1%27%29%29%22%29&fq=storeent_id%3a%28%2211001%22%29&fq=published%3a1&fq=catalog_id%3a10351} hits=1 status=0 qtime=31 [10/8/13 14:38:46:124 ist] 00000030 solrcore org.apache.solr.core.solrcore execute [mc_10351_catalogentry_en_us] webapp=null path=/select params={debugquery=false&fl=catentry_id%2cprice_usd%2cstoreent_id&start=0&rows=1&timeallowed=15000&facet=true&facet.sort=count&facet.mincount=1&facet.limit=-1&facet.query=parentcatgroup_id_search%3a10351_10347&q=*%3a*&fq=catalog_id%3a%2210351%22&fq=storeent_id%3a%28%2211001%22%29&fq=published%3a1} hits=3162 status=0 qtime=0 [10/8/13 14:38:46:997 ist] 00000030 solrcore org.apache.solr.core.solrcore execute [mc_10351_catalogentry_en_us] webapp=null path=/select params={debugquery=false&start=0&rows=20&timeallowed=15000&facet=true&facet.field=parentcatgroup_id_search&facet.field=price_usd&facet.field=mfname_ntk_cs&f.parentcatgroup_id_search.facet.limit=21&f.parentcatgroup_id_search.facet.mincount=1&f.parentcatgroup_id_search.facet.sort=count&facet.query=price_usd%3a%28%7b*+100%7d+100%29&facet.query=price_usd%3a%28%7b100+200%7d+200%29&facet.query=price_usd%3a%28%7b200+300%7d+300%29&facet.query=price_usd%3a%28%7b300+400%7d+400%29&facet.query=price_usd%3a%28%7b400+500%7d+500%29&facet.query=price_usd%3a%28%7b500+*%7d%29&f.price_usd.facet.limit=21&f.price_usd.facet.mincount=1&f.price_usd.facet.sort=count&f.mfname_ntk_cs.facet.limit=21&f.mfname_ntk_cs.facet.mincount=1&f.mfname_ntk_cs.facet.sort=count&q=%2b%28*%3a*%29+%28_val_%3a%22product%28-0.001%2cgetsequencebycatalogandcategory%28sequence%2c%2710351%27%2c%2710347%27%29%29%22%29&fq=catalog_id%3a%2210351%22&fq=parentcatgroup_id_search%3a%2210351_10347%22&fq=storeent_id%3a%28%2211001%22%29&fq=published%3a1&fq=-%28catenttype_id_ntk_cs%3aitembean+and+parentcatentry_id%3a%5b*+to+*%5d%29} hits=44 status=0 qtime=0 [10/8/13 14:39:19:833 ist] 00000034 solrcore org.apache.solr.core.solrcore execute [mc_10351_catalogentry_en_us] webapp=null path=/select params={debugquery=false&fl=catentry_id%2cstoreent_id%2cbuyable%2cpartnumber_ntk%2cname%2cthumbnail%2cfullimage%2cshortdescription%2clongdescription%2ckeyword%2cmfname_ntk%2ccatenttype_id_ntk_cs%2cparentcatgroup_id_facet%2cparentcatentry_id%2csubscriptype%2cdisallowrecorder%2cprice_usd&start=0&rows=1&timeallowed=15000&facet=true&q=%28*%3a*%29+and+%28catentry_id%3a%28%2214842%22%29%29&fq=storeent_id%3a%28%2211001%22%29&fq=published%3a1} hits=1 status=0 qtime=0 [10/8/13 14:39:20:026 ist] 00000034 solrcore org.apache.solr.core.solrcore execute [mc_10351_catalogentry_en_us] webapp=null path=/select params={debugquery=false&fl=catentry_id%2cparentcatentry_id%2cbuyable%2cthumbnail%2cprice_usd%2cstoreent_id&start=0&rows=200&timeallowed=15000&facet=true&q=parentcatentry_id%3a14842&fq=storeent_id%3a%28%2211001%22%29&fq=published%3a1} hits=1 status=0 qtime=0 [10/8/13 14:39:20:816 ist] 00000034 solrcore org.apache.solr.core.solrcore execute [mc_10351_catalogentry_unstructured_en_us] webapp=null path=/select params={debugquery=false&fl=attachment_id%2ccatentry_id%2cpath%2cname%2cmimetype%2crulename%2cidentifier%2cimage%2cshortdesc%2clongdesc%2ctika_stream_size%2cprice_usd%2cstoreent_id&start=0&rows=20&timeallowed=15000&facet=true&q=catentry_id%3a14842} hits=0 status=0 qtime=0 [10/8/13 14:39:21:426 ist] 00000034 solrcore org.apache.solr.core.solrcore execute [mc_10351_catalogentry_en_us] webapp=null path=/select params={debugquery=false&fl=catentry_id%2cprice_usd%2cstoreent_id&start=0&rows=5000&timeallowed=15000&facet=true&q=catentry_id%3a%2214843%22&fq=storeent_id%3a%28%2211001%22%29&fq=published%3a1} hits=1 status=0 qtime=0 [10/8/13 14:39:21:726 ist] 00000034 solrcore org.apache.solr.core.solrcore execute [mc_10351_catalogentry_en_us] webapp=null path=/select params={debugquery=false&fl=catentry_id%2cprice_usd%2cstoreent_id&start=0&rows=5000&timeallowed=15000&facet=true&q=catentry_id%3a%2214842%22&fq=storeent_id%3a%28%2211001%22%29&fq=published%3a1} hits=1 status=0 qtime=0 [10/8/13 14:39:21:726 ist] 00000034 solrcore org.apache.solr.core.solrcore execute [mc_10351_catalogentry_en_us] webapp=null path=/select params={debugquery=false&fl=catentry_id%2cprice_usd%2cstoreent_id&start=0&rows=5000&timeallowed=15000&facet=true&q=catentry_id%3a%2214842%22&fq=storeent_id%3a%28%2211001%22%29&fq=published%3a1} hits=1 status=0 qtime=0 [10/8/13 14:39:21:736 ist] 00000034 solrcore org.apache.solr.core.solrcore execute [mc_10351_catalogentry_en_us] webapp=null path=/select params={debugquery=false&fl=catentry_id%2cstoreent_id%2cbuyable%2cpartnumber_ntk%2cname%2cthumbnail%2cfullimage%2cshortdescription%2clongdescription%2ckeyword%2cmfname_ntk%2ccatenttype_id_ntk_cs%2cparentcatgroup_id_facet%2cparentcatentry_id%2csubscriptype%2cdisallowrecorder%2cprice_usd&start=0&rows=1&timeallowed=15000&facet=true&q=%28*%3a*%29+and+%28catentry_id%3a%28%2214842%22%29%29&fq=storeent_id%3a%28%2211001%22%29&fq=published%3a1} hits=1 status=0 qtime=0 [10/8/13 14:39:21:746 ist] 00000034 solrcore org.apache.solr.core.solrcore execute [mc_10351_catalogentry_en_us] webapp=null path=/select params={debugquery=false&fl=catentry_id%2cparentcatentry_id%2cbuyable%2cthumbnail%2cprice_usd%2cstoreent_id&start=0&rows=200&timeallowed=15000&facet=true&q=parentcatentry_id%3a14842&fq=storeent_id%3a%28%2211001%22%29&fq=published%3a1} hits=1 status=0 qtime=0 [10/8/13 14:40:01:536 ist] 00000034 solrcore org.apache.solr.core.solrcore execute [mc_10351_catalogentry_en_us] webapp=null path=/select params={debugquery=false&fl=catentry_id%2cprice_usd%2cstoreent_id&start=0&rows=5000&timeallowed=15000&facet=true&q=catentry_id%3a%2214843%22&fq=storeent_id%3a%28%2211001%22%29&fq=published%3a1} hits=1 status=0 qtime=0 [10/8/13 14:40:01:677 ist] 00000034 solrcore org.apache.solr.core.solrcore execute [mc_10351_catalogentry_en_us] webapp=null path=/select params={debugquery=false&fl=catentry_id%2cprice_usd%2cstoreent_id&start=0&rows=5000&timeallowed=15000&facet=true&q=catentry_id%3a%2214843%22&fq=storeent_id%3a%28%2211001%22%29&fq=published%3a1} hits=1 status=0 qtime=0 [10/8/13 14:43:42:064 ist] 00000073 solrcore org.apache.solr.core.solrcore execute [mc_10351_catalogentry_en_us] webapp=null path=/select params={debugquery=false&fl=catentry_id%2cprice_usd%2cstoreent_id&start=0&rows=5000&timeallowed=15000&facet=true&q=catentry_id%3a%2214843%22&fq=storeent_id%3a%28%2211001%22%29&fq=published%3a1} hits=1 status=0 qtime=0 [10/8/13 14:44:14:317 ist] 00000032 solrcore org.apache.solr.core.solrcore execute [mc_10351_catalogentry_en_us] webapp=null path=/select params={debugquery=false&fl=catentry_id%2cprice_usd%2cstoreent_id&start=0&rows=5000&timeallowed=15000&facet=true&q=catentry_id%3a%2214843%22&fq=storeent_id%3a%28%2211001%22%29&fq=published%3a1} hits=1 status=0 qtime=0
are testing on emulator or actual android device?
if emulator, api level (os level, e.g. 4.1.1 etc.) on? frequently, have noticed emulator lose internet connection after varying amounts of time. workaround have found far close , restart emulator.
there various open threads discussing issues similar symptoms emulator, no resolution yet: https://code.google.com/p/android/issues/detail?id=22403
if possible, try testing on actual device see if issue reproducible there.
Comments
Post a Comment