Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • K KNewStuff
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FrameworksFrameworks
  • KNewStuff
  • Merge requests
  • !125

Handle "temporarily down" situations (http 503) more gracefully

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Dan Leinir Turthra Jensen requested to merge leinir/knewstuff:handle-http-503-status-better into master May 28, 2021
  • Overview 3
  • Commits 11
  • Pipelines 0
  • Changes 13

This is an attempt at ensuring we handle situations where the remote service is down in an expected manner, and tells us this using the standard 503 http status when to try again.

An example of such a popup (with the text from the provider failing to load):

image

This further lays the groundwork for implementing handling of other http status situations (such as the annoying error 99, which happens occasionally during searches), but this one is functionally important as it allows us to temporarily take down the OCS servers and actually tell the users what is going on in a pleasant fashion, and even in some instances handle it automatically.

This requires attica!11 (merged)

Edited Jun 07, 2021 by Dan Leinir Turthra Jensen
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: handle-http-503-status-better