# \[F\] Proxy Auth broken since 2.40

**URL:** https://community.mp3tag.de/t/f-proxy-auth-broken-since-2-40/6537
**Category:** Fixed Bugs
**Tags:** bug-fixed
**Created:** [March 29, 2008, 10:30am UTC](https://community.mp3tag.de/t/f-proxy-auth-broken-since-2-40/6537 "2008-03-29T10:30:08Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![valider](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/v/43a26b/32.png) [@valider](https://community.mp3tag.de/u/valider)
#### Post date: [March 29, 2008, 10:30am UTC](https://community.mp3tag.de/t/f-proxy-auth-broken-since-2-40/6537/1 "2008-03-29T10:30:08Z")

</div>

Since version 2.40 request over the internet over an proxy requiring authentication, doesn't work anymore. The proxy-server doesn't get authentication credentials from mp3tag.  
Proxy-Auth is broken since version 2.40/2.40b.

---

<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: [April 4, 2008, 6:59pm UTC](https://community.mp3tag.de/t/f-proxy-auth-broken-since-2-40/6537/2 "2008-04-04T18:59:32Z")

</div>

Can you send me a URL and a temporary login for reproducing the issue?

---

<div class="post-metadata">

### Author: ![valider](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/v/43a26b/32.png) [@valider](https://community.mp3tag.de/u/valider)
#### Post date: [April 9, 2008, 6:27pm UTC](https://community.mp3tag.de/t/f-proxy-auth-broken-since-2-40/6537/3 "2008-04-09T18:27:18Z")

</div>

Unfortunatly i don't operate any public accessible proxy-servers, but if you like, the squid proxy-server is avalaible for windows under:  
[http://www.acmeconsulting.it/SquidNT.html](http://www.acmeconsulting.it/SquidNT.html)  
Direct DL-Link:  
[http://squid.acmeconsulting.it/download/sq...TABLE18-bin.zip](http://squid.acmeconsulting.it/download/squid-2.6.STABLE18-bin.zip)

unpack it to drive c:\ (should unpack an folder squid)

rename all files under C:\Squid\etc\*.conf.default to C:\Squid\etc\*.conf

replace content of squid.conf with the following  
file c:\squid\etc\squid.conf:  
#authentication (basic)  
auth\_param basic program c:/squid/libexec/ncsa\_auth.exe c:/squid/etc/passwd.txt  
auth\_param basic children 5  
auth\_param basic realm Squid-Proxy(Win)  
auth\_param basic credentialsttl 2 hours  
auth\_param basic casesensitive off

#recommended minimum  
acl all src 0.0.0.0/0.0.0.0  
acl manager proto cache\_object  
acl localhost src 127.0.0.1/255.255.255.255  
acl to\_localhost dst 127.0.0.0/8  
acl SSL\_ports port 443  
acl Safe\_ports port 80 # http  
acl Safe\_ports port 21 # ftp  
acl Safe\_ports port 443 # https  
acl Safe\_ports port 70 # gopher  
acl Safe\_ports port 210 # wais  
acl Safe\_ports port 1025-65535 # unregistered ports  
acl Safe\_ports port 280 # http-mgmt  
acl Safe\_ports port 488 # gss-http  
acl Safe\_ports port 591 # filemaker  
acl Safe\_ports port 777 # multiling http  
acl CONNECT method CONNECT  
#authentication acl  
acl password proxy\_auth REQUIRED

# 

http\_access allow manager localhost  
http\_access deny manager  
http\_access deny !Safe\_ports  
http\_access deny CONNECT !SSL\_ports

http\_access deny !password  
http\_access allow localhost  
#acl our\_networks src 192.168.1.0/24 192.168.2.0/24  
#http\_access allow our\_networks

# And finally deny all other access to this proxy

http\_access deny all  
http\_port localhost:3128  
hierarchy\_stoplist cgi-bin ?  
cache\_dir ufs c:/squid/var/cache 16 4 8  
access\_log c:/squid/var/logs/access.log squid  
acl apache rep\_header Server ^Apache  
broken\_vary\_encoding allow apache  
snmp\_port 0  
dns\_nameservers 195.143.108.13  
\<\<

create a file name passwd.txt in the C:\squid\etc\ folder with the following contents:

file passwd.txt:  
user:VT8RFQ8zt7op2  
\<\<

this will create a user named 'user' with an password of 'pass'

open a cmd-windows, then cd to C:\squid and type sbin\squid -z and after that type  
sbin\squid -D  
leave the window open , your proxy is now running on 127.0.0.1 port 3128

try tu use the proxy within mp3tag

any access/errors are logged to c:\squid\var\logs\access.log

---

<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: [April 12, 2008, 10:09am UTC](https://community.mp3tag.de/t/f-proxy-auth-broken-since-2-40/6537/4 "2008-04-12T10:09:10Z")

</div>

I've tried with Squid and Basic authentication (had to adjust the password using htpasswd) and everything works as expected using the current [Development Build](http://developer.mp3tag.de).

Are you sure that your proxy requires Basic auth? If so, you can also try to increase the timeout value.

---

<div class="post-metadata">

### Author: ![valider](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/v/43a26b/32.png) [@valider](https://community.mp3tag.de/u/valider)
#### Post date: [April 12, 2008, 7:32pm UTC](https://community.mp3tag.de/t/f-proxy-auth-broken-since-2-40/6537/5 "2008-04-12T19:32:36Z")

</div>

Sure, if I set it to not require any authentication (excluding some urls requiring authentication),  
it works perfectly. Please note that for me theres is no direct access to the internet/dns-servers, thus all traffic designated to the internet must go through a proxy.

I've installed Version 2.40c: at least now the base64 auth-credentials seems to be submitted, but i don't get an final response from proxy (forcing basic-auth: request from mp3tag get an TCP\_DENIED/407 anyway) . I'll try to do a dump, to see what is different between version 2.39 and 2.40c concerning proxy-handling. Hope to find an explanation through, why it ceased to work since 2.40.

---

<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: [April 19, 2008, 12:30pm UTC](https://community.mp3tag.de/t/f-proxy-auth-broken-since-2-40/6537/6 "2008-04-19T12:30:38Z")

</div>

Any news on this? Anyone experiencing the same problems?

---

<div class="post-metadata">

### Author: ![HannesP](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/e36b37/32.png) [@HannesP](https://community.mp3tag.de/u/HannesP)
#### Post date: [March 26, 2009, 6:53am UTC](https://community.mp3tag.de/t/f-proxy-auth-broken-since-2-40/6537/7 "2009-03-26T06:53:48Z")

</div>

I have the same problems (with v2.42, v2.42f and v2.42h)

I am sitting behind a proxy that needs username (domainname\username) and password. The error message is:

"The server failed to return a valid query response code"

How can I help you to find the problem?

HannesP

---

<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: [March 26, 2009, 6:36pm UTC](https://community.mp3tag.de/t/f-proxy-auth-broken-since-2-40/6537/8 "2009-03-26T18:36:42Z")

</div>

Does your proxy require digest or basic authorization? Only the latter is supported by Mp3tag.

---

<div class="post-metadata">

### Author: ![HannesP](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/e36b37/32.png) [@HannesP](https://community.mp3tag.de/u/HannesP)
#### Post date: [March 27, 2009, 11:18am UTC](https://community.mp3tag.de/t/f-proxy-auth-broken-since-2-40/6537/9 "2009-03-27T11:18:08Z")

</div>

As far as I know my proxy doesn't use basic authorization (not coded) but "ntlm v2" (coded).  
So no chance for support ?

---

<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: [March 27, 2009, 11:33am UTC](https://community.mp3tag.de/t/f-proxy-auth-broken-since-2-40/6537/10 "2009-03-27T11:33:34Z")

</div>

> [@HannesP](#):
>
> So no chance for support ?

Unfortunately, I don't plan to support other authentication schemes than basic.

---

<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, 1:59pm UTC](https://community.mp3tag.de/t/f-proxy-auth-broken-since-2-40/6537/11 "2018-12-28T13:59:30Z")

</div>

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