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

Details

    • Moodle Mobile 3.1.3

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Clockify

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