[GH-ISSUE #371] SMSSync Crashing constantly #265

Open
opened 2026-02-28 01:23:56 +03:00 by kerem · 3 comments
Owner

Originally created by @aoduor on GitHub (Feb 16, 2016).
Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/371

Via Renee Black

"All devices get the 'SMS has stopped' error at some point. The frequency is a deal breaking on our Blu phone. Less problematic on the Nexus 5 and the Samsung Duos but still an issue.

Originally created by @aoduor on GitHub (Feb 16, 2016). Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/371 Via Renee Black "All devices get the 'SMS has stopped' error at some point. The frequency is a deal breaking on our Blu phone. Less problematic on the Nexus 5 and the Samsung Duos but still an issue.
Author
Owner

@PeaceGeeks commented on GitHub (Feb 16, 2016):

Hi all -

We have been trying this on several devices and using two versions 2.8.3 and 3.0.4.

3.0.4 is much easier to set up, but it ultimately unusable because it crashes so frequently.

2.8.3 crashes less, but crashes to the point of being useless on our Blu device. It also crasheds on my LG Nexus 5 and on the Samsung Duos which Ushahidi purchased and set up on our behalf for the purpose of this project.

We had - with Robbie's help - gotten 2.8.3 successfully working a few days ago, however when I was in the field (Nakuru town, Kenya) trying to demo the exact same setup at our partner's office, it did not work. I will paste the logs below. We can find nothing specific enough in the logs to be of value. The only theory I could come up with is that the internet was too weak, though it was strong enough to download SMSSync, access FB and Gmail.

<!-- gh-comment-id:184659145 --> @PeaceGeeks commented on GitHub (Feb 16, 2016): Hi all - We have been trying this on several devices and using two versions 2.8.3 and 3.0.4. 3.0.4 is much easier to set up, but it ultimately unusable because it crashes so frequently. 2.8.3 crashes less, but crashes to the point of being useless on our Blu device. It also crasheds on my LG Nexus 5 and on the Samsung Duos which Ushahidi purchased and set up on our behalf for the purpose of this project. We had - with Robbie's help - gotten 2.8.3 successfully working a few days ago, however when I was in the field (Nakuru town, Kenya) trying to demo the exact same setup at our partner's office, it did not work. I will paste the logs below. We can find nothing specific enough in the logs to be of value. The only theory I could come up with is that the internet was too weak, though it was strong enough to download SMSSync, access FB and Gmail.
Author
Owner

@PeaceGeeks commented on GitHub (Feb 16, 2016):

Phone status
Battery level[ 24 ]
Data connection[ Yes ]

Log entries below


<div class="content" >
  <form action="/http://sms.cepo-southsudan.org/amani/sms?task=send&amp;secret=12345678" method="post" id="search-block-form" accept-charset="UTF-8"><div><div class="container-inline">
  <h2 class="element-invisible">Search form</h2>
<div class="form-item form-type-textfield form-item-search-block-form">


          <div class="site-slogan">Incidents reported from the field</div>

          <nav id="navigation" class="container menu ">
      <div class="container-inner">
          <div class="region region-navigation-region">
<div id="block-superfish-1" class="block block-superfish block-odd first clearfix">
<div class="content" >
  <div class="mobile-menu-link"><a href="#">Menu</a></div><ul id="superfish-1" class="sf-menu menu-amani-main-menu sf-horizontal sf-style-default sf-total-items-2 sf-parent-items-0 sf-single-items-2"><li id="menu-786-1" class="first odd sf-item-1 sf-depth-1 sf-no-children"><a href="/incident-reports" class="sf-depth-1 ">Map</a></li><li id="menu-904-1" class="last even sf-item-2 sf-depth-1 sf-no-children"><a href="/all-incidents" title="" class="sf-depth-1 ">List</a></li></ul>    </div>
      </div>
          <div id="content-header">




                  <h1 class="title">Page not found</h1>


                  <div class="tabs"></div>


    </div> <!-- /#content-header -->

  <section id="content">

      <div id="content-area">
          <div class="region region-content">
<div id="block-system-main" class="block block-system block-odd first last clearfix">
<div class="content" >
  The requested page "/http://sms.cepo-southsudan.org/amani/sms?task=send&amp;secret=12345678" could not be found.    </div>
  </section> <!-- /content-inner /content -->

   <!-- /sidebar-first -->

   <!-- /sidebar-second -->
</div>
  <footer id="footer" class="container">
  <div class="container-inner">
      <div class="region region-footer">
<div id="block-bean-amani-powered-by" class="block block-bean block-odd first clearfix">
<div class="content" >
  <div class="entity entity-bean bean-static-content clearfix" about="/block/amani-powered-by" typeof="">
<div class="content" >
  <form action="/http://sms.cepo-southsudan.org/amani/sms?task=send&amp;secret=12345678" method="post" id="search-block-form--2" accept-charset="UTF-8"><div><div class="container-inline">
  <h2 class="element-invisible">Search form</h2>
<div class="form-item form-type-textfield form-item-search-block-form">


<div class="content" >
  <div class="entity entity-bean bean-static-content clearfix" about="/block/amani-special-thanks" typeof="">
</html> 02-15 14:00 Task crashed: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $ response: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" version="XHTML+RDFa 1.0" dir="ltr"

xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/terms/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:og="http://ogp.me/ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:sioc="http://rdfs.org/sioc/ns#"
xmlns:sioct="http://rdfs.org/sioc/types#"
xmlns:skos="http://www.w3.org/2004/02/skos/core#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

<head profile="http://www.w3.org/1999/xhtml/vocab"> </head>
          <hgroup id="name-and-slogan">

      <a href="/" title="Home" id="site-logo"><img src="http://sms.cepo-southsudan.org/sites/default/files/CEPO%20LOGO%20FINAL%20125.jpg" alt="Home" /></a>                      <div id="site-name">
          <a href="/" title="Home" rel="home">CEPO SMS Reporting</a>
        </div>

    </hgroup>

          <div id="header-region">
        <div class="region region-header">
<div id="block-search-form" class="block block-search block-odd first clearfix">
<div class="content" >
  <form action="/http://sms.cepo-southsudan.org/amani/sms?task=send&amp;secret=12345678" method="post" id="search-block-form" accept-charset="UTF-8"><div><div class="container-inline">
  <h2 class="element-invisible">Search form</h2>
<div class="form-item form-type-textfield form-item-search-block-form">


          <div class="site-slogan">Incidents reported from the field</div>

          <nav id="navigation" class="container menu ">
      <div class="container-inner">
          <div class="region region-navigation-region">
<div id="block-superfish-1" class="block block-superfish block-odd first clearfix">
<div class="content" >
  <div class="mobile-menu-link"><a href="#">Menu</a></div><ul id="superfish-1" class="sf-menu menu-amani-main-menu sf-horizontal sf-style-default sf-total-items-2 sf-parent-items-0 sf-single-items-2"><li id="menu-786-1" class="first odd sf-item-1 sf-depth-1 sf-no-children"><a href="/incident-reports" class="sf-depth-1 ">Map</a></li><li id="menu-904-1" class="last even sf-item-2 sf-depth-1 sf-no-children"><a href="/all-incidents" title="" class="sf-depth-1 ">List</a></li></ul>    </div>
      </div>
          <div id="content-header">




                  <h1 class="title">Page not found</h1>


                  <div class="tabs"></div>


    </div> <!-- /#content-header -->

  <section id="content">

      <div id="content-area">
          <div class="region region-content">
<div id="block-system-main" class="block block-system block-odd first last clearfix">
<div class="content" >
  The requested page "/http://sms.cepo-southsudan.org/amani/sms?task=send&amp;secret=12345678" could not be found.    </div>
  </section> <!-- /content-inner /content -->

   <!-- /sidebar-first -->

   <!-- /sidebar-second -->
</div>
  <footer id="footer" class="container">
  <div class="container-inner">
      <div class="region region-footer">
<div id="block-bean-amani-powered-by" class="block block-bean block-odd first clearfix">
<div class="content" >
  <div class="entity entity-bean bean-static-content clearfix" about="/block/amani-powered-by" typeof="">
<div class="content" >
  <form action="/http://sms.cepo-southsudan.org/amani/sms?task=send&amp;secret=12345678" method="post" id="search-block-form--2" accept-charset="UTF-8"><div><div class="container-inline">
  <h2 class="element-invisible">Search form</h2>
<div class="form-item form-type-textfield form-item-search-block-form">


<div class="content" >
  <div class="entity entity-bean bean-static-content clearfix" about="/block/amani-special-thanks" typeof="">
</html> 02-15 14:00 Successfully finished performing task checking null 02-15 14:00 Sending message to the server failed. Server error: bad http return code Server returned HTTP status code is 404. 02-15 14:20 The device has shutdown at 2:20 PM 02-15 14:22 The device has rebooted 02-15 14:22 Updated scheduler interval 02-15 14:22 Updated scheduler interval 02-15 14:22 Performing task checking 02-15 14:22 setHttpEntity format JSON 02-15 14:22 There is active data connection 02-15 14:22 Task crashed: Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname response: null 02-15 14:22 Successfully finished performing task checking null 02-15 14:22 Performing task checking 02-15 14:22 Task crashed: Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname response: null 02-15 14:22 Successfully finished performing task checking null 02-15 14:23 Sending message to the server failed. Server error: Request failed. Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname 02-15 14:23 setHttpEntity format JSON 02-15 14:23 Sending message to the server failed. Server error: Request failed. Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname 02-15 14:23 setHttpEntity format JSON 02-15 14:23 Sending message to the server failed. Server error: Request failed. Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname 02-15 14:23 setHttpEntity format JSON 02-15 14:23 Sending message to the server failed. Server error: Request failed. Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname 02-15 14:23 setHttpEntity format JSON 02-15 14:23 Sending message to the server failed. Server error: Request failed. Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname 02-15 14:23 setHttpEntity format JSON 02-15 14:23 Sending message to the server failed. Server error: Request failed. Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname 02-15 14:23 setHttpEntity format JSON 02-15 14:23 Sending message to the server failed. Server error: Request failed. Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname 02-15 14:23 setHttpEntity format JSON 02-15 14:23 Sending message to the server failed. Server error: Request failed. Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname 02-15 14:23 setHttpEntity format JSON 02-15 14:23 Sending message to the server failed. Server error: Request failed. Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname 02-15 14:23 setHttpEntity format JSON 02-15 14:23 Sending message to the server failed. Server error: Request failed. Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname 02-15 14:23 setHttpEntity format JSON 02-15 14:23 Performing task checking 02-15 14:24 Task crashed: Connect to /172.22.2.38:8080 timed out response: null 02-15 14:24 Sending message to the server failed. Server error: Request failed. Connect to /172.22.2.38:8080 timed out 02-15 14:24 Successfully finished performing task checking null 02-15 14:24 setHttpEntity format JSON
<!-- gh-comment-id:184659420 --> @PeaceGeeks commented on GitHub (Feb 16, 2016): Phone status Battery level[ 24 ] Data connection[ Yes ] Log entries below <div class="region region-header"> <div id="block-search-form" class="block block-search block-odd first clearfix"> <div class="block-inner"> ``` <div class="content" > <form action="/http://sms.cepo-southsudan.org/amani/sms?task=send&amp;secret=12345678" method="post" id="search-block-form" accept-charset="UTF-8"><div><div class="container-inline"> <h2 class="element-invisible">Search form</h2> <div class="form-item form-type-textfield form-item-search-block-form"> ``` <label class="element-invisible" for="edit-search-block-form--2">Search </label> <input title="Enter the terms you wish to search for." placeholder="Search" type="text" id="edit-search-block-form--2" name="search_block_form" value="" size="15" maxlength="128" class="form-text" /> </div> <div class="form-actions form-wrapper" id="edit-actions"><input type="submit" id="edit-submit" name="op" value="Search" class="form-submit" /></div><input type="hidden" name="form_build_id" value="form-HgPyDutobI9vhGHfBj52Xp_WtqhiwM83xkYtK38gRPk" /> <input type="hidden" name="form_id" value="search_block_form" /> </div> </div></form> </div> </div> </div> <!-- /block-inner /block --> </div> </div> ``` <div class="site-slogan">Incidents reported from the field</div> <nav id="navigation" class="container menu "> <div class="container-inner"> <div class="region region-navigation-region"> <div id="block-superfish-1" class="block block-superfish block-odd first clearfix"> ``` <div class="block-inner"> ``` <div class="content" > <div class="mobile-menu-link"><a href="#">Menu</a></div><ul id="superfish-1" class="sf-menu menu-amani-main-menu sf-horizontal sf-style-default sf-total-items-2 sf-parent-items-0 sf-single-items-2"><li id="menu-786-1" class="first odd sf-item-1 sf-depth-1 sf-no-children"><a href="/incident-reports" class="sf-depth-1 ">Map</a></li><li id="menu-904-1" class="last even sf-item-2 sf-depth-1 sf-no-children"><a href="/all-incidents" title="" class="sf-depth-1 ">List</a></li></ul> </div> ``` </div> </div> <!-- /block-inner /block --> </div> </div> </nav> <!-- /navigation --> ``` </div> ``` </header> <!-- /header --> <!-- Content top --> <!-- ______________________ MAIN _______________________ --> <div id="main" class="clearfix" class="container"> <div class="container-inner"> ``` <div id="content-header"> <h1 class="title">Page not found</h1> <div class="tabs"></div> </div> <!-- /#content-header --> <section id="content"> <div id="content-area"> <div class="region region-content"> <div id="block-system-main" class="block block-system block-odd first last clearfix"> ``` <div class="block-inner"> ``` <div class="content" > The requested page "/http://sms.cepo-southsudan.org/amani/sms?task=send&amp;secret=12345678" could not be found. </div> ``` </div> </div> <!-- /block-inner /block --> </div> </div> ``` </section> <!-- /content-inner /content --> <!-- /sidebar-first --> <!-- /sidebar-second --> </div> ``` </div> <!-- /main --> <!-- ______________________ FOOTER _______________________ --> ``` <footer id="footer" class="container"> <div class="container-inner"> <div class="region region-footer"> <div id="block-bean-amani-powered-by" class="block block-bean block-odd first clearfix"> ``` <div class="block-inner"> ``` <div class="content" > <div class="entity entity-bean bean-static-content clearfix" about="/block/amani-powered-by" typeof=""> ``` <div class="content"> <div class="field field-name-field-bean-body field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even"><img src="/profiles/amani/themes/peace/images/amani_powered_by.png" style="width: 50%; margin-bottom: 20px;" /> <div class="credits-logo"><img src="/profiles/amani/themes/peace/images/icons/logo_peacegeeks.png" style="width: 50%;" /></div></div></div></div> </div> </div> </div> </div> </div> <!-- /block-inner /block --><div id="block-search-form" class="block block-search block-even clearfix"> <div class="block-inner"> ``` <div class="content" > <form action="/http://sms.cepo-southsudan.org/amani/sms?task=send&amp;secret=12345678" method="post" id="search-block-form--2" accept-charset="UTF-8"><div><div class="container-inline"> <h2 class="element-invisible">Search form</h2> <div class="form-item form-type-textfield form-item-search-block-form"> ``` <label class="element-invisible" for="edit-search-block-form--4">Search </label> <input title="Enter the terms you wish to search for." placeholder="Search" type="text" id="edit-search-block-form--4" name="search_block_form" value="" size="15" maxlength="128" class="form-text" /> </div> <div class="form-actions form-wrapper" id="edit-actions--2"><input type="submit" id="edit-submit--2" name="op" value="Search" class="form-submit" /></div><input type="hidden" name="form_build_id" value="form-YBIutM8cDG-WaB_pK1acFz4KPBRRFbbSSxz5AgYMBw8" /> <input type="hidden" name="form_id" value="search_block_form" /> </div> </div></form> </div> </div> </div> <!-- /block-inner /block --><div id="block-bean-amani-special-thanks" class="block block-bean block-odd clearfix"> <div class="block-inner"> ``` <div class="content" > <div class="entity entity-bean bean-static-content clearfix" about="/block/amani-special-thanks" typeof=""> ``` <div class="content"> <div class="field field-name-field-bean-body field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even"><div class="sponsor-logos"></div></div></div></div> </div> </div> </div> </div> </div> <!-- /block-inner /block --> </div> </div> </footer> <!-- /footer --> </div> <!-- /page --> </body> </html> 02-15 14:00 Task crashed: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $ response: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" version="XHTML+RDFa 1.0" dir="ltr" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/terms/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:og="http://ogp.me/ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:sioc="http://rdfs.org/sioc/ns#" xmlns:sioct="http://rdfs.org/sioc/types#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#"> <head profile="http://www.w3.org/1999/xhtml/vocab"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="shortcut icon" href="http://sms.cepo-southsudan.org/misc/favicon.ico" type="image/vnd.microsoft.icon" /> <title>Page not found | CEPO SMS Reporting</title> <style type="text/css" media="all"> @import url("http://sms.cepo-southsudan.org/modules/system/system.base.css?o2816o"); @import url("http://sms.cepo-southsudan.org/modules/system/system.menus.css?o2816o"); @import url("http://sms.cepo-southsudan.org/modules/system/system.messages.css?o2816o"); @import url("http://sms.cepo-southsudan.org/modules/system/system.theme.css?o2816o"); </style> <style type="text/css" media="all"> @import url("http://sms.cepo-southsudan.org/profiles/amani/modules/contrib/comment_notify/comment_notify.css?o2816o"); @import url("http://sms.cepo-southsudan.org/profiles/amani/modules/contrib/calendar/css/calendar_multiday.css?o2816o"); @import url("http://sms.cepo-southsudan.org/modules/comment/comment.css?o2816o"); @import url("http://sms.cepo-southsudan.org/profiles/amani/modules/contrib/date/date_api/date.css?o2816o"); @import url("http://sms.cepo-southsudan.org/profiles/amani/modules/contrib/date/date_popup/themes/datepicker.1.7.css?o2816o"); @import url("http://sms.cepo-southsudan.org/profiles/amani/modules/contrib/date/date_repeat_field/date_repeat_field.css?o2816o"); @import url("http://sms.cepo-southsudan.org/modules/field/theme/field.css?o2816o"); @import url("http://sms.cepo-southsudan.org/profiles/amani/modules/contrib/logintoboggan/logintoboggan.css?o2816o"); @import url("http://sms.cepo-southsudan.org/modules/node/node.css?o2816o"); @import url("http://sms.cepo-southsudan.org/modules/search/search.css?o2816o"); @import url("http://sms.cepo-southsudan.org/modules/user/user.css?o2816o"); @import url("http://sms.cepo-southsudan.org/modules/forum/forum.css?o2816o"); @import url("http://sms.cepo-southsudan.org/profiles/amani/modules/contrib/views/css/views.css?o2816o"); </style> <style type="text/css" media="all"> @import url("http://sms.cepo-southsudan.org/profiles/amani/modules/contrib/colorbox/styles/default/colorbox_style.css?o2816o"); @import url("http://sms.cepo-southsudan.org/profiles/amani/modules/contrib/ctools/css/ctools.css?o2816o"); @import url("http://sms.cepo-southsudan.org/profiles/amani/libraries/superfish/css/superfish.css?o2816o"); @import url("http://sms.cepo-southsudan.org/profiles/amani/libraries/superfish/css/superfish-vertical.css?o2816o"); @import url("http://sms.cepo-southsudan.org/profiles/amani/libraries/superfish/css/superfish-navbar.css?o2816o"); @import url("http://sms.cepo-southsudan.org/profiles/amani/modules/contrib/views_slideshow/views_slideshow.css?o2816o"); @import url("http://sms.cepo-southsudan.org/sites/default/files/css/follow.css?o2816o"); </style> <style type="text/css" media="all"> @import url("http://sms.cepo-southsudan.org/profiles/amani/themes/peace/fonts/ss-social/ss-social.css?o2816o"); @import url("http://sms.cepo-southsudan.org/profiles/amani/themes/peace/fonts/stylesheet.css?o2816o"); @import url("http://sms.cepo-southsudan.org/profiles/amani/themes/peace/css/default.css?o2816o"); @import url("http://sms.cepo-southsudan.org/profiles/amani/themes/peace/css/layout.css?o2816o"); @import url("http://sms.cepo-southsudan.org/profiles/amani/themes/peace/css/normalize.css?o2816o"); @import url("http://sms.cepo-southsudan.org/profiles/amani/themes/peace/css/style.css?o2816o"); @import url("http://sms.cepo-southsudan.org/profiles/amani/themes/peace/css/colors.css?o2816o"); </style> <style type="text/css" media="print"> @import url("http://sms.cepo-southsudan.org/profiles/amani/themes/peace/css/print.css?o2816o"); </style> <script type="text/javascript" src="http://sms.cepo-southsudan.org/misc/jquery.js?v=1.4.4"></script> <script type="text/javascript" src="http://sms.cepo-southsudan.org/misc/jquery.once.js?v=1.2"></script> <script type="text/javascript" src="http://sms.cepo-southsudan.org/misc/drupal.js?o2816o"></script> <script type="text/javascript" src="http://sms.cepo-southsudan.org/profiles/amani/modules/contrib/comment_notify/comment_notify.js?o2816o"></script> <script type="text/javascript" src="http://sms.cepo-southsudan.org/profiles/amani/modules/contrib/fb_likebox/fb_likebox.js?o2816o"></script> <script type="text/javascript" src="http://sms.cepo-southsudan.org/profiles/amani/libraries/colorbox/jquery.colorbox-min.js?o2816o"></script> <script type="text/javascript" src="http://sms.cepo-southsudan.org/profiles/amani/modules/contrib/colorbox/js/colorbox.js?o2816o"></script> <script type="text/javascript" src="http://sms.cepo-southsudan.org/profiles/amani/modules/contrib/colorbox/styles/default/colorbox_style.js?o2816o"></script> <script type="text/javascript" src="http://sms.cepo-southsudan.org/profiles/amani/modules/contrib/colorbox/js/colorbox_load.js?o2816o"></script> <script type="text/javascript" src="http://sms.cepo-southsudan.org/profiles/amani/libraries/superfish/jquery.hoverIntent.minified.js?o2816o"></script> <script type="text/javascript" src="http://sms.cepo-southsudan.org/profiles/amani/libraries/superfish/jquery.bgiframe.min.js?o2816o"></script> <script type="text/javascript" src="http://sms.cepo-southsudan.org/profiles/amani/libraries/superfish/superfish.js?o2816o"></script> <script type="text/javascript" src="http://sms.cepo-southsudan.org/profiles/amani/libraries/superfish/supersubs.js?o2816o"></script> <script type="text/javascript" src="http://sms.cepo-southsudan.org/profiles/amani/libraries/superfish/supposition.js?o2816o"></script> <script type="text/javascript" src="http://sms.cepo-southsudan.org/profiles/amani/libraries/superfish/sftouchscreen.js?o2816o"></script> <script type="text/javascript" src="http://sms.cepo-southsudan.org/profiles/amani/modules/contrib/views_slideshow/js/views_slideshow.js?o2816o"></script> <script type="text/javascript"> <!--//--><![CDATA[//><!-- window.CKEDITOR_BASEPATH = '/profiles/amani/libraries/ckeditor/' //--><!]]> </script> <script type="text/javascript"> <!--//--><![CDATA[//><!-- jQuery(function(){ jQuery('#superfish-1').supersubs({minWidth: 12, maxWidth: 27, extraWidth: 1}).superfish({ animation: {opacity:'show'}, speed: 'normal', autoArrows: false, dropShadows: true}); }); //--><!]]> </script> <script type="text/javascript" src="http://sms.cepo-southsudan.org/profiles/amani/themes/peace/js/modernizr.js?o2816o"></script> <script type="text/javascript" src="http://sms.cepo-southsudan.org/profiles/amani/themes/peace/js/amani.js?o2816o"></script> <script type="text/javascript"> <!--//--><![CDATA[//><!-- jQuery.extend(Drupal.settings, {"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"peace","theme_token":"vGUyicHe4YWRucrujjI4Ab4C6LegDjZcDeLWTAaFChE","js":{"misc\/jquery.js":1,"misc\/jquery.once.js":1,"misc\/drupal.js":1,"profiles\/amani\/modules\/contrib\/comment_notify\/comment_notify.js":1,"profiles\/amani\/modules\/contrib\/fb_likebox\/fb_likebox.js":1,"profiles\/amani\/libraries\/colorbox\/jquery.colorbox-min.js":1,"profiles\/amani\/modules\/contrib\/colorbox\/js\/colorbox.js":1,"profiles\/amani\/modules\/contrib\/colorbox\/styles\/default\/colorbox_style.js":1,"profiles\/amani\/modules\/contrib\/colorbox\/js\/colorbox_load.js":1,"profiles\/amani\/libraries\/superfish\/jquery.hoverIntent.minified.js":1,"profiles\/amani\/libraries\/superfish\/jquery.bgiframe.min.js":1,"profiles\/amani\/libraries\/superfish\/superfish.js":1,"profiles\/amani\/libraries\/superfish\/supersubs.js":1,"profiles\/amani\/libraries\/superfish\/supposition.js":1,"profiles\/amani\/libraries\/superfish\/sftouchscreen.js":1,"profiles\/amani\/modules\/contrib\/views_slideshow\/js\/views_slideshow.js":1,"0":1,"1":1,"profiles\/amani\/themes\/peace\/js\/modernizr.js":1,"profiles\/amani\/themes\/peace\/js\/amani.js":1},"css":{"modules\/system\/system.base.css":1,"modules\/system\/system.menus.css":1,"modules\/system\/system.messages.css":1,"modules\/system\/system.theme.css":1,"profiles\/amani\/modules\/contrib\/comment_notify\/comment_notify.css":1,"profiles\/amani\/modules\/contrib\/calendar\/css\/calendar_multiday.css":1,"modules\/comment\/comment.css":1,"profiles\/amani\/modules\/contrib\/date\/date_api\/date.css":1,"profiles\/amani\/modules\/contrib\/date\/date_popup\/themes\/datepicker.1.7.css":1,"profiles\/amani\/modules\/contrib\/date\/date_repeat_field\/date_repeat_field.css":1,"modules\/field\/theme\/field.css":1,"profiles\/amani\/modules\/contrib\/logintoboggan\/logintoboggan.css":1,"modules\/node\/node.css":1,"modules\/search\/search.css":1,"modules\/user\/user.css":1,"modules\/forum\/forum.css":1,"profiles\/amani\/modules\/contrib\/views\/css\/views.css":1,"\/css\/tabs.css":1,"profiles\/amani\/modules\/contrib\/colorbox\/styles\/default\/colorbox_style.css":1,"profiles\/amani\/modules\/contrib\/ctools\/css\/ctools.css":1,"profiles\/amani\/libraries\/superfish\/css\/superfish.css":1,"profiles\/amani\/libraries\/superfish\/css\/superfish-vertical.css":1,"profiles\/amani\/libraries\/superfish\/css\/superfish-navbar.css":1,"profiles\/amani\/modules\/contrib\/views_slideshow\/views_slideshow.css":1,"profiles\/amani\/libraries\/superfish\/style\/default.css":1,"sites\/default\/files\/css\/follow.css":1,"profiles\/amani\/themes\/peace\/fonts\/ss-social\/ss-social.css":1,"profiles\/amani\/themes\/peace\/fonts\/stylesheet.css":1,"profiles\/amani\/themes\/peace\/css\/default.css":1,"profiles\/amani\/themes\/peace\/css\/layout.css":1,"profiles\/amani\/themes\/peace\/css\/normalize.css":1,"profiles\/amani\/themes\/peace\/css\/style.css":1,"profiles\/amani\/themes\/peace\/css\/colors.css":1,"profiles\/amani\/themes\/peace\/css\/print.css":1}},"colorbox":{"opacity":"0.85","current":"{current} of {total}","previous":"\u00ab Prev","next":"Next \u00bb","close":"Close","maxWidth":"98%","maxHeight":"98%","fixed":true,"mobiledetect":true,"mobiledevicewidth":"480px"},"jcarousel":{"ajaxPath":"\/jcarousel\/ajax\/views"},"urlIsAjaxTrusted":{"\/http:\/\/sms.cepo-southsudan.org\/amani\/sms?task=send\u0026secret=12345678":true}}); //--><!]]> </script> <meta name="viewport" content="user-scalable=no, initial-scale = 1.0,maximum-scale = 1.0,width=device-width" /> </head> <body class="html not-front not-logged-in no-sidebars page-ttp page-ttp- page-ttp--smscepo-southsudanorg page-ttp--smscepo-southsudanorg-amani page-ttp--smscepo-southsudanorg-amani-sms i18n-en role-anonymous-user with-subnav page-ttp-sms-cepo-southsudan-org-amani-sms section-ttp-" > <div id="skip"> <a href="#main-menu">Jump to Navigation</a> </div> <div id="page" class="page"> <!-- ______________________ HEADER _______________________ --> <header id="header" class="container"> <div class="container-inner"> ``` <hgroup id="name-and-slogan"> <a href="/" title="Home" id="site-logo"><img src="http://sms.cepo-southsudan.org/sites/default/files/CEPO%20LOGO%20FINAL%20125.jpg" alt="Home" /></a> <div id="site-name"> <a href="/" title="Home" rel="home">CEPO SMS Reporting</a> </div> </hgroup> <div id="header-region"> <div class="region region-header"> <div id="block-search-form" class="block block-search block-odd first clearfix"> ``` <div class="block-inner"> ``` <div class="content" > <form action="/http://sms.cepo-southsudan.org/amani/sms?task=send&amp;secret=12345678" method="post" id="search-block-form" accept-charset="UTF-8"><div><div class="container-inline"> <h2 class="element-invisible">Search form</h2> <div class="form-item form-type-textfield form-item-search-block-form"> ``` <label class="element-invisible" for="edit-search-block-form--2">Search </label> <input title="Enter the terms you wish to search for." placeholder="Search" type="text" id="edit-search-block-form--2" name="search_block_form" value="" size="15" maxlength="128" class="form-text" /> </div> <div class="form-actions form-wrapper" id="edit-actions"><input type="submit" id="edit-submit" name="op" value="Search" class="form-submit" /></div><input type="hidden" name="form_build_id" value="form-HgPyDutobI9vhGHfBj52Xp_WtqhiwM83xkYtK38gRPk" /> <input type="hidden" name="form_id" value="search_block_form" /> </div> </div></form> </div> </div> </div> <!-- /block-inner /block --> </div> </div> ``` <div class="site-slogan">Incidents reported from the field</div> <nav id="navigation" class="container menu "> <div class="container-inner"> <div class="region region-navigation-region"> <div id="block-superfish-1" class="block block-superfish block-odd first clearfix"> ``` <div class="block-inner"> ``` <div class="content" > <div class="mobile-menu-link"><a href="#">Menu</a></div><ul id="superfish-1" class="sf-menu menu-amani-main-menu sf-horizontal sf-style-default sf-total-items-2 sf-parent-items-0 sf-single-items-2"><li id="menu-786-1" class="first odd sf-item-1 sf-depth-1 sf-no-children"><a href="/incident-reports" class="sf-depth-1 ">Map</a></li><li id="menu-904-1" class="last even sf-item-2 sf-depth-1 sf-no-children"><a href="/all-incidents" title="" class="sf-depth-1 ">List</a></li></ul> </div> ``` </div> </div> <!-- /block-inner /block --> </div> </div> </nav> <!-- /navigation --> ``` </div> ``` </header> <!-- /header --> <!-- Content top --> <!-- ______________________ MAIN _______________________ --> <div id="main" class="clearfix" class="container"> <div class="container-inner"> ``` <div id="content-header"> <h1 class="title">Page not found</h1> <div class="tabs"></div> </div> <!-- /#content-header --> <section id="content"> <div id="content-area"> <div class="region region-content"> <div id="block-system-main" class="block block-system block-odd first last clearfix"> ``` <div class="block-inner"> ``` <div class="content" > The requested page "/http://sms.cepo-southsudan.org/amani/sms?task=send&amp;secret=12345678" could not be found. </div> ``` </div> </div> <!-- /block-inner /block --> </div> </div> ``` </section> <!-- /content-inner /content --> <!-- /sidebar-first --> <!-- /sidebar-second --> </div> ``` </div> <!-- /main --> <!-- ______________________ FOOTER _______________________ --> ``` <footer id="footer" class="container"> <div class="container-inner"> <div class="region region-footer"> <div id="block-bean-amani-powered-by" class="block block-bean block-odd first clearfix"> ``` <div class="block-inner"> ``` <div class="content" > <div class="entity entity-bean bean-static-content clearfix" about="/block/amani-powered-by" typeof=""> ``` <div class="content"> <div class="field field-name-field-bean-body field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even"><img src="/profiles/amani/themes/peace/images/amani_powered_by.png" style="width: 50%; margin-bottom: 20px;" /> <div class="credits-logo"><img src="/profiles/amani/themes/peace/images/icons/logo_peacegeeks.png" style="width: 50%;" /></div></div></div></div> </div> </div> </div> </div> </div> <!-- /block-inner /block --><div id="block-search-form" class="block block-search block-even clearfix"> <div class="block-inner"> ``` <div class="content" > <form action="/http://sms.cepo-southsudan.org/amani/sms?task=send&amp;secret=12345678" method="post" id="search-block-form--2" accept-charset="UTF-8"><div><div class="container-inline"> <h2 class="element-invisible">Search form</h2> <div class="form-item form-type-textfield form-item-search-block-form"> ``` <label class="element-invisible" for="edit-search-block-form--4">Search </label> <input title="Enter the terms you wish to search for." placeholder="Search" type="text" id="edit-search-block-form--4" name="search_block_form" value="" size="15" maxlength="128" class="form-text" /> </div> <div class="form-actions form-wrapper" id="edit-actions--2"><input type="submit" id="edit-submit--2" name="op" value="Search" class="form-submit" /></div><input type="hidden" name="form_build_id" value="form-YBIutM8cDG-WaB_pK1acFz4KPBRRFbbSSxz5AgYMBw8" /> <input type="hidden" name="form_id" value="search_block_form" /> </div> </div></form> </div> </div> </div> <!-- /block-inner /block --><div id="block-bean-amani-special-thanks" class="block block-bean block-odd clearfix"> <div class="block-inner"> ``` <div class="content" > <div class="entity entity-bean bean-static-content clearfix" about="/block/amani-special-thanks" typeof=""> ``` <div class="content"> <div class="field field-name-field-bean-body field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even"><div class="sponsor-logos"></div></div></div></div> </div> </div> </div> </div> </div> <!-- /block-inner /block --> </div> </div> </footer> <!-- /footer --> </div> <!-- /page --> </body> </html> 02-15 14:00 Successfully finished performing task checking null 02-15 14:00 Sending message to the server failed. Server error: bad http return code Server returned HTTP status code is 404. 02-15 14:20 The device has shutdown at 2:20 PM 02-15 14:22 The device has rebooted 02-15 14:22 Updated scheduler interval 02-15 14:22 Updated scheduler interval 02-15 14:22 Performing task checking 02-15 14:22 setHttpEntity format JSON 02-15 14:22 There is active data connection 02-15 14:22 Task crashed: Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname response: null 02-15 14:22 Successfully finished performing task checking null 02-15 14:22 Performing task checking 02-15 14:22 Task crashed: Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname response: null 02-15 14:22 Successfully finished performing task checking null 02-15 14:23 Sending message to the server failed. Server error: Request failed. Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname 02-15 14:23 setHttpEntity format JSON 02-15 14:23 Sending message to the server failed. Server error: Request failed. Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname 02-15 14:23 setHttpEntity format JSON 02-15 14:23 Sending message to the server failed. Server error: Request failed. Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname 02-15 14:23 setHttpEntity format JSON 02-15 14:23 Sending message to the server failed. Server error: Request failed. Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname 02-15 14:23 setHttpEntity format JSON 02-15 14:23 Sending message to the server failed. Server error: Request failed. Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname 02-15 14:23 setHttpEntity format JSON 02-15 14:23 Sending message to the server failed. Server error: Request failed. Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname 02-15 14:23 setHttpEntity format JSON 02-15 14:23 Sending message to the server failed. Server error: Request failed. Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname 02-15 14:23 setHttpEntity format JSON 02-15 14:23 Sending message to the server failed. Server error: Request failed. Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname 02-15 14:23 setHttpEntity format JSON 02-15 14:23 Sending message to the server failed. Server error: Request failed. Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname 02-15 14:23 setHttpEntity format JSON 02-15 14:23 Sending message to the server failed. Server error: Request failed. Unable to resolve host "sms.cepo-southsudan.org": No address associated with hostname 02-15 14:23 setHttpEntity format JSON 02-15 14:23 Performing task checking 02-15 14:24 Task crashed: Connect to /172.22.2.38:8080 timed out response: null 02-15 14:24 Sending message to the server failed. Server error: Request failed. Connect to /172.22.2.38:8080 timed out 02-15 14:24 Successfully finished performing task checking null 02-15 14:24 setHttpEntity format JSON
Author
Owner

@DPanger13 commented on GitHub (Feb 26, 2016):

Just started looking into this project so I apologize if I'm not totally knowledgeable yet. But if all this log output is coming from the Android app, this:

02-15 14:00 Task crashed: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $ response:

happens in one of the *HttpClient classes when attempting to use a JSON parser on something else (looks like it's HTML). The code looks good but the app is getting a response that isn't JSON.

Also, I'm still trying to get fully knowledgeable on the project, but the various "Unable to resolve host" errors seem to point to the server as well. Has the endpoint for sending messages been changed or not set up? Also, is the server configured to properly return JSON?

***Also, I haven't been able to test the app due to not being able to set up a Sync URL. Any reference/help to the values I can input to custom create one (as the Twitter one does not work) would be greatly appreciated.

<!-- gh-comment-id:189475791 --> @DPanger13 commented on GitHub (Feb 26, 2016): Just started looking into this project so I apologize if I'm not totally knowledgeable yet. But if all this log output is coming from the Android app, this: > 02-15 14:00 Task crashed: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $ response: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" > "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> happens in one of the *HttpClient classes when attempting to use a JSON parser on something else (looks like it's HTML). The code looks good but the app is getting a response that isn't JSON. Also, I'm still trying to get fully knowledgeable on the project, but the various "Unable to resolve host" errors seem to point to the server as well. Has the endpoint for sending messages been changed or not set up? Also, is the server configured to properly return JSON? ***Also, I haven't been able to test the app due to not being able to set up a Sync URL. Any reference/help to the values I can input to custom create one (as the Twitter one does not work) would be greatly appreciated.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SMSSync#265
No description provided.