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

Check response headers on error to retry if requested by the server.

XMLWordPrintable

    • Moodle Mobile 3.1.3

      On some sites like moodlecloud when the volume of requests is higher than a value the server can request to try again after some time to avoid DoS.

      When a 429 response status is detected we should:

      1. Check for "Retry-After" field on response header.
      2. Stop all requests until retry time passed.

            pferre22 Pau Ferrer
            pferre22 Pau Ferrer
            Dani Palou Dani Palou
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 day, 30 minutes
                1d 30m
                Remaining:
                0m
                Logged:
                Time Not Required
                Not Specified

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