Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-9384

Digest authentication fails for accounts where the username has been changed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Web service
    • Labels:
      None

      Description

      Digest authentication for ISRC submission fails for account August Janse, but succeeds moments later for account Petitesser. Tested multiple times with same results, and I've made absolutely certain that I'm inputting the correct credentials.

      Example output from isrcsubmit, have also gotten the same results from another Python script. Both use python-musicbrainzngs, so the problem could potentially lie there.

      Without looking too deeply into it, I figure the cause might be one of the following:

      1. I have a space in my username
      2. I have previously changed my username

      I previously submitted this as a GitHub issue for the Python bindings, before I realized that the problem is probably with the web service.

      august@august-tp:~/Downloads$ python3 isrcsubmit.py 
      isrcsubmit 2.0.1 by JonnyJD for MusicBrainz
      using libdiscid 0.6.1
      DiscID: JWJR1b79stWM6x9ugEV8m26DUwE-
      Tracks on disc: 10
      Artist: Broder Daniel
      Release: Broder Daniel (Official)
      Release Event: 1996-04-22 SE
      Barcode: 724383837724
      Catalog No.: 7243 8383772 4
      MusicBrainz ID: fe915c98-2f5e-487f-ae9f-d26ba5980f58
      Is this information different for your release?
      Would you like to open the browser to submit the disc? [y/N] n
      found new ISRC for track 1: SEAMA9614010
      found new ISRC for track 2: SEAMA9608010
      found new ISRC for track 3: SEAMA9614030
      found new ISRC for track 4: SEAMA9614040
      found new ISRC for track 5: SEAMA9614050
      found new ISRC for track 6: SEAMA9614060
      found new ISRC for track 7: SEAMA9614070
      found new ISRC for track 8: SEAMA9614080
      found new ISRC for track 9: SEAMA9614090
      found new ISRC for track 10: SEAMA9614100
      Do you want to submit? [y/N] y
      Please input your MusicBrainz username (empty=abort): August Janse
      Please input your MusicBrainz password:
      ERROR: Invalid credentials: caused by: HTTP Error 401: digest auth failed
      Please input your MusicBrainz username (empty=abort): Petitesser
      Please input your MusicBrainz password:
      Successfully submitted 10 ISRCS.
      

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tularion August Janse
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Packages

                  Version Package