# \[F\] Can't connect with Discogs

**URL:** https://community.mp3tag.de/t/f-cant-connect-with-discogs/16121
**Category:** Fixed Bugs
**Tags:** bug-fixed
**Created:** [September 9, 2014, 7:52pm UTC](https://community.mp3tag.de/t/f-cant-connect-with-discogs/16121 "2014-09-09T19:52:45Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![pjzzz](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/bbce88/32.png) [@pjzzz](https://community.mp3tag.de/u/pjzzz)
#### Post date: [September 9, 2014, 7:52pm UTC](https://community.mp3tag.de/t/f-cant-connect-with-discogs/16121/1 "2014-09-09T19:52:45Z")

</div>

I'm getting the "Error connecting to server: [www.discogs.com](http://www.discogs.com)"  
Was working under 2.62  
Did allow Mp3tag on the Discogs website.

---

<div class="post-metadata">

### Author: ![michawz](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/3d9bf3/32.png) [@michawz](https://community.mp3tag.de/u/michawz)
#### Post date: [September 9, 2014, 8:29pm UTC](https://community.mp3tag.de/t/f-cant-connect-with-discogs/16121/2 "2014-09-09T20:29:33Z")

</div>

I have the same problem !

but its not only a problem with 2.63, it is common problem also with 2.62 (already tested)

---

<div class="post-metadata">

### Author: ![fr4nkz4pping](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/49beb7/32.png) [@fr4nkz4pping](https://community.mp3tag.de/u/fr4nkz4pping)
#### Post date: [September 9, 2014, 10:05pm UTC](https://community.mp3tag.de/t/f-cant-connect-with-discogs/16121/3 "2014-09-09T22:05:06Z")

</div>

Same here  
v2.63 running on MacOS 10.6.8 with Wine and discogs API key

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [September 10, 2014, 3:43am UTC](https://community.mp3tag.de/t/f-cant-connect-with-discogs/16121/4 "2014-09-10T03:43:20Z")

</div>

Did you check e.g.  
[MP3Tag Won't connect to Discogs](https://community.mp3tag.de/t/15934/1)

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [September 17, 2014, 8:35am UTC](https://community.mp3tag.de/t/f-cant-connect-with-discogs/16121/5 "2014-09-17T08:35:38Z")

</div>

I've rewritten the official Discogs Tag Source to be used with the Discogs API.

The rewrite was necessary, because the Discogs API has been changed to provide output in JSON format instead of XML (see [this post](http://www.discogs.com/forum/thread/521520689469733cfcfd2089#53a9fd48ad9d3529d0bd28d4) in the Discogs API Announcement Forum for details).

Enjoy your Discogs tagging with the current [Development Build](http://developer.mp3tag.de) and please let me know of any issues you encounter 🙂

Kind regards  
Florian

---

<div class="post-metadata">

### Author: ![vkostas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vkostas/32/227_2.png) [@vkostas](https://community.mp3tag.de/u/vkostas)
#### Post date: [September 18, 2014, 3:56am UTC](https://community.mp3tag.de/t/f-cant-connect-with-discogs/16121/6 "2014-09-18T03:56:31Z")

</div>

I like a lot what is done so far with json. It is clean and more efficient (less headache for complex scripts).

---

<div class="post-metadata">

### Author: ![dumdidum](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/278dde/32.png) [@dumdidum](https://community.mp3tag.de/u/dumdidum)
#### Post date: [October 26, 2014, 8:19am UTC](https://community.mp3tag.de/t/f-cant-connect-with-discogs/16121/7 "2014-10-26T08:19:31Z")

</div>

> [@Florian](#):
>
> Enjoy your Discogs tagging with the current [Development Build](http://developer.mp3tag.de) and please let me know of any issues you encounter 🙂

Hi,

I think this bug still isn't completely squashed. EDIT or there are serious issues on Discogs' end /EDIT

I just did a clean install of Mp3tag 2.65 on a clean install of Windows 7 Pro x64. When trying to access the Discogs web source, I am getting the request to authorize the application. I followed the instructions, logged into my Discogs account, and copied-and-pasted the validation code into Mp3tag. Mp3tag now shows as an authorized application in my Discogs account.

However, whenever I try to access the Discogs web source, I am still getting the error  
"Fehler beim Verbinden zum server: [www.discogs.com](http://www.discogs.com)

> > Unauthorized (401)"

I even removed Mp3tag from the authorized applications and re-did the entire procedure, as this was suggested by you in another thread. However, it didn't help...

---

<div class="post-metadata">

### Author: ![vkostas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vkostas/32/227_2.png) [@vkostas](https://community.mp3tag.de/u/vkostas)
#### Post date: [October 26, 2014, 10:01am UTC](https://community.mp3tag.de/t/f-cant-connect-with-discogs/16121/8 "2014-10-26T10:01:53Z")

</div>

> [@dumdidum](#):
>
> Hi,
> 
> I think this bug still isn't completely squashed. EDIT or there are serious issues on Discogs' end /EDIT
> 
> I just did a clean install of Mp3tag 2.65 on a clean install of Windows 7 Pro x64. When trying to access the Discogs web source, I am getting the request to authorize the application. I followed the instructions, logged into my Discogs account, and copied-and-pasted the validation code into Mp3tag. Mp3tag now shows as an authorized application in my Discogs account.
> 
> However, whenever I try to access the Discogs web source, I am still getting the error  
> "Fehler beim Verbinden zum server: [www.discogs.com](http://www.discogs.com)
> 
> > > Unauthorized (401)"
> 
> I even removed Mp3tag from the authorized applications and re-did the entire procedure, as this was suggested by you in another thread. However, it didn't help...

Edit **discogs.src** file (normally found in folder **%appdata%/mp3tag/data/sources** ) as follow:  
Replace **[WordSeperator]=+** by **[WordSeperator]=%20**.  
In other words replace **+** character with **%20** (space url encoded character).  
It works.

---

<div class="post-metadata">

### Author: ![dumdidum](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/278dde/32.png) [@dumdidum](https://community.mp3tag.de/u/dumdidum)
#### Post date: [October 26, 2014, 10:41am UTC](https://community.mp3tag.de/t/f-cant-connect-with-discogs/16121/9 "2014-10-26T10:41:11Z")

</div>

@Victor: Indeed, the change you suggested fixed the issue. Thanks a lot for your help!

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [October 26, 2014, 4:06pm UTC](https://community.mp3tag.de/t/f-cant-connect-with-discogs/16121/10 "2014-10-26T16:06:06Z")

</div>

This is now also fixed with Mp3tag v2.65a.

---

<div class="post-metadata">

### Author: ![vkostas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vkostas/32/227_2.png) [@vkostas](https://community.mp3tag.de/u/vkostas)
#### Post date: [October 26, 2014, 4:17pm UTC](https://community.mp3tag.de/t/f-cant-connect-with-discogs/16121/11 "2014-10-26T16:17:53Z")

</div>

Thank you

---

<div class="post-metadata">

### Author: ![dumdidum](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/278dde/32.png) [@dumdidum](https://community.mp3tag.de/u/dumdidum)
#### Post date: [October 29, 2014, 7:07pm UTC](https://community.mp3tag.de/t/f-cant-connect-with-discogs/16121/12 "2014-10-29T19:07:29Z")

</div>

Still not 100% fixed for me.

I'm on 2.65a now. When searching for an album with a minus sign in its title, I'm getting the 401 error once again. For example, try searching for "Hi-NRG Dance Classics." For me, this reproducibly brings about the Unauthorized (401) error.

---

<div class="post-metadata">

### Author: ![vkostas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vkostas/32/227_2.png) [@vkostas](https://community.mp3tag.de/u/vkostas)
#### Post date: [October 29, 2014, 7:16pm UTC](https://community.mp3tag.de/t/f-cant-connect-with-discogs/16121/13 "2014-10-29T19:16:12Z")

</div>

Don't panic 🕶. Florian will fix it.  
In meantime I already have provided the workaround (in [this](https://community.mp3tag.de/t/16244/1) thread).  
Change encoding in the discogs.src file (located in folder %appdata%\Mp3tag\data\sources).  
From **[Encoding]=url-utf-8** to **[Encoding]=utf-8**.  
It works.

---

<div class="post-metadata">

### Author: ![dumdidum](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/278dde/32.png) [@dumdidum](https://community.mp3tag.de/u/dumdidum)
#### Post date: [November 26, 2014, 4:18pm UTC](https://community.mp3tag.de/t/f-cant-connect-with-discogs/16121/14 "2014-11-26T16:18:35Z")

</div>

> [@Victor Kostas](#):
>
> Don't panic 🕶. Florian will fix it.

I expect he will. I'm thankful for all his hard work.

> [@](#):
>
> In meantime I already have provided the workaround (in [this](https://community.mp3tag.de/t/16244/1) thread).  
> Change encoding in the discogs.src file (located in folder %appdata%\Mp3tag\data\sources).  
> From **[Encoding]=url-utf-8** to **[Encoding]=utf-8**.  
> It works.

No, your workaround gives rise to other issues. When I switch from url-utf-8 to utf-8, Mp3tag stops to interpret certain special characters correctly (e.g., characters with accents). It then replaces those special characters with non-legible stuff (percentage signs and numbers).

Thanks for the suggestion, though.

---

<div class="post-metadata">

### Author: ![vkostas](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vkostas/32/227_2.png) [@vkostas](https://community.mp3tag.de/u/vkostas)
#### Post date: [November 26, 2014, 4:59pm UTC](https://community.mp3tag.de/t/f-cant-connect-with-discogs/16121/15 "2014-11-26T16:59:05Z")

</div>

> [@dumdidum](#):
>
> I expect he will. I'm thankful for all his hard work.
> 
> No, your workaround gives rise to other issues. When I switch from url-utf-8 to utf-8, Mp3tag stops to interpret certain special characters correctly (e.g., characters with accents). It then replaces those special characters with non-legible stuff (percentage signs and numbers).
> 
> Thanks for the suggestion, though.

I think discogs has changed their API again because the issue does not occur anymore.  
Official mp3tag script Discogs works well without any workaround... Finally... ![:w00t:](https://community.mp3tag.de/uploads/default/original/1X/cb01eca72fe9339ff6f3ec9f1e3c5fe002be0f0a.gif ":w00t:")

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [December 24, 2014, 1:55pm UTC](https://community.mp3tag.de/t/f-cant-connect-with-discogs/16121/16 "2014-12-24T13:55:49Z")

</div>

authorisation problems moved to a new topic:

[/t/16278/1](https://community.mp3tag.de/t/16278/1)

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [December 28, 2018, 2:07pm UTC](https://community.mp3tag.de/t/f-cant-connect-with-discogs/16121/17 "2018-12-28T14:07:10Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
