Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-77

If the Moodle site is in maintenance but, the app freeze

XMLWordPrintable

    • MOODLE_10_STABLE
    • MOODLE_10_STABLE

      qa.moodle.net went to maintenance mode. When I went on the "My courses" page, the app froze with the "Loading" icon for about 1-2 minutes.

      The logs were:

      2011-07-29 14:00:15.707 Moodle[7852:ed07] Request: moodle_enrol_get_users_courses at http://qa.moodle.net/webservice/xmlrpc/server.php?wstoken=ad38e7f2c9ae1b68d79554f3fd2f52d0
      2011-07-29 14:00:15.708 Moodle[7852:ed07] Request: <?xml version="1.0"?><methodCall><methodName>moodle_enrol_get_users_courses</methodName><params><param><value><i4>3</i4></value></param></params></methodCall>
      2011-07-29 14:00:17.318 Moodle[7852:ed07] XML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      <html>
      <head>
        <style type="text/css" media="screen">
        <!--
          body {
            font-family:"Trebuchet MS", Arial, Verdana, Helvetica, sans-serif;
            color:#333;
            background-color: white;
          }
          .generaltext {
            text-align: center;
            font-size: 2em;
          }
          .recommendation {
            text-align: center;
            font-size: 1em;
          }
        -->
        </style>
        <title>qa.moodle.net - upgrade in progress...</title>
      </head>
      <body>
        <p class="generaltext">
          <img src="http://moodle.org/moodle.gif" alt="Moodle"/>
        </p>
        <p class="generaltext">
          qa.moodle.net upgrade in progress... we'll be back soon.
        </p>
        <p class="generaltext">
          Sorry for the inconvenience.
        </p>
        <p class="recommendation">
          Not sure what to do?  Try <a href="http://moodle.org/invaders.swf">this interesting utility</a>. Enjoy!
        </p>
      </body>
      </html>
      2011-07-29 14:00:28.699 Moodle[7852:c503] NSFetchedResultsController reused

      then at the end of the freeze

      2011-07-29 14:02:20.006 Moodle[7852:ed07] WSClient: Error Domain=come.effigent.iphone.parseerror Code=-1 "Parse Error. Please check your XML-RPC endpoint." UserInfo=0xe188c00 {NSLocalizedDescription=Parse Error. Please check your XML-RPC endpoint.}
      2011-07-29 14:02:20.007 Moodle[7852:ed07] Number of course in core data before web service call: 0

            dongsheng Dongsheng Cai
            jerome Jérôme Mouneyrac
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.