Uploaded image for project: 'Zapped: AcousticBrainz'
  1. Zapped: AcousticBrainz
  2. AB-46

Data page doesn't show if MB server is unavailable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Server
    • None

      If the MusicBrainz data server is down, a detail page fails with:

      Internal server error
      caused by: <urlopen error [Errno 111] Connection refused>

      This should fail gracefully and show tag information instead.

          [AB-46] Data page doesn't show if MB server is unavailable

          There are two outage failures - 1) if nginx is down/misconfigured/bad url (the reported error)
          2) if nginx is up, but the server process isn't. In this case there's a long timeout before we get another error back. Maybe we can minimise the timeout in AB so that we fail quickly in this case too - especially since our mirror is on the same server.

          Alastair Porter added a comment - There are two outage failures - 1) if nginx is down/misconfigured/bad url (the reported error) 2) if nginx is up, but the server process isn't. In this case there's a long timeout before we get another error back. Maybe we can minimise the timeout in AB so that we fail quickly in this case too - especially since our mirror is on the same server.

            Unassigned Unassigned
            alastairp Alastair Porter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:

                Version Package