Discogs API now HTTPS only

Issue #27 resolved
cjs created an issue

Error: Authorization Failed (401) [Is OAuth working?] - (url: http://api.discogs.com/oauth/request_token)

I could not request PIN when trying to authorize foo_discogs.

It was working fine and then stopped working after the API staff posted this message... https://www.discogs.com/forum/thread/521520689469733cfcfd2089#7033144

Comments (14)

  1. Tone Heighton

    I'm having the same issue when it comes to doing searches, everything else works fine, but I get the error when it does searches. Album art and info on prexisting tagged files works fine.

  2. Kyle C

    I'm getting the exact same error message the cjs is getting. It appears that Discogs modified their API recently.

    I did receive a message when logging into Discogs that their privacy policy was updated March 7th, 2016. Maybe related to the API changes?

  3. cjs reporter

    Check my link by copying and pasting it because clicking it doesn't work. Discogs staff posted API changes that were updated Monday. My error occurred literally within seconds of them posting this message and relates to the console error I received in foobar.

    "We will be enforcing HTTPS only on the API on Monday, March 14th 2016. Please make sure your application is capable of connecting via TLS 1.2 with a modern cipher suite.

    We will enforce this by redirecting all HTTP requests to their HTTPS equivalent."

    Posted Monday (3/14/16) on Discogs API announcements thread: "The API is now HTTPS only. All HTTP requests will be redirected to HTTPS."

    My error in discogs console reads: [19:53:54] foo_discogs: HTTP error status: HTTP/1.1 401 UNAUTHORIZED

  4. zoomorph repo owner

    It looks like only some endpoints are HTTPS: searching and authentication. I've updated those ones. If the others switch to HTTPS in the future, they'll need to be updated too.

  5. Simon Randall

    firstly it sends me to this url: file:///C:/Users/Simon/AppData/Local/Microsoft/Windows/INetCache/IE/R5B6DHVY/authorize[1] then asks me to log into discogs, once logged in it navigates to here: https://www.discogs.com/my no pin or tokens or anything. i tried to generated a token within discogs but as there is no secret token it wont work.

  6. Simon Randall

    i have firefox as my default browser. maybe that is the problem, i will try with ie/edge.

    Update: setting default browser to edge solved the problem. hopefully the problem was my end. thank you for your help. :D

  7. VideodromVerleih .

    I have a similar problem as Simon Randell before me. I also work with Firefox and have no other browser. I can't get any connection to discogs whatsoever. Not for authorizing, not for trying if Oath is working, not for attaching tags. I hope you find a solution, I so love that tagger...

  8. zoomorph repo owner

    If you have a track with the tag "DISCOGS_RELEASE_ID" set, and you select it and got go to "Discogs -> View Release Page", does it open the release page in your browser?

  9. zoomorph repo owner

    Are you on Windows 8+, too? I've not heard of INetCache before but it looks like a Windows 8+ feature. Sorry, don't know the answer but hopefully someone will figure it out.

  10. Log in to comment