Page MenuHomeSoftware Heritage

Deal nicely with swh-storage's backend down time in clients
Closed, MigratedEdits Locked

Description

At the moment, 500 errors pops up whenever the db or the swh-storage api is down.

Deal more nicely with this, typically by returning a 'standard' (as per now it's like that):
{'error': 'blah blah something went wrong blah blah'}

with the nice 503 errors

Event Timeline

ardumont claimed this task.
ardumont raised the priority of this task from to High.
ardumont updated the task description. (Show Details)
ardumont added projects: Storage manager, Web app.
ardumont added a subscriber: ardumont.

swh-web-ui:

  • 68a8283 Deal nicely with communication downtime with storage
  • 3afbd2d Deal more appropriately with storage error

swh-storage:

  • bc0d1d9 Deal nicely with communication downtime between clients and storage
  • 957a780 Wrap miscellaneous psycopg2 failures for client in StorageBackendError
olasd changed the visibility from "All Users" to "Public (No Login Required)".May 13 2016, 5:08 PM