Open andreicristianpetcu opened 8 years ago
This is how a get to the CentOS mirror looks like from Firefox, using the same CNTLM proxy from the VM. I think this GET is what yum is doing behind the scenes when I run yum update
.
******* Round 1 C: 5, S: 6 *******!
Reading headers...
HEAD: GET http://mirrorlist.centos.org/?release=6&arch=i386&repo=os&infra=stock HTTP/1.1
Host => mirrorlist.centos.org
User-Agent => Mozilla/5.0 (Windows NT 6.1; rv:43.0) Gecko/20100101 Firefox/43.0
Accept => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language => en-US,en;q=0.5
Accept-Encoding => gzip, deflate
Cookie => _ga=GA1.2.799595885.1452150352; BCSI-CS-9999999999999999=2; BCSI-AC-999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999; BC_HA_9999999999999999_99999999=2B82A70
Connection => keep-alive
Sending headers...
Host => mirrorlist.centos.org
User-Agent => Mozilla/5.0 (Windows NT 6.1; rv:43.0) Gecko/20100101 Firefox/43.0
Accept => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language => en-US,en;q=0.5
Accept-Encoding => gzip, deflate
Cookie => _ga=GA1.9.999999999.9999999999; BCSI-CS-9999999999999999=2; BCSI-AC-999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999; BC_HA_9999999999999999_99999999=9999999
Connection => Keep-Alive
Proxy-Connection => Keep-Alive
No body.
******* Round 2 C: 5, S: 6 *******!
Reading headers...
HEAD: HTTP/1.1 200 OK
Date => Fri, 08 Jan 2016 11:04:49 GMT
Server => Apache/2.2.15 (CentOS)
Transfer-Encoding => chunked
Content-Type => text/plain; charset=ISO-8859-1
Via => 1.1 gsgxas1-s3
X-Cache => SA= OBSERVED from gsgecf2-s5 RS=200 from mirrorlist.centos.org [99.999.999.999:99] SC=200, SA= OBSERVED from gsgxas1-s3 RS=200 from 99.999.999.9 [99.999.999.9:9999] SC=200
Connection => Keep-Alive
Set-Cookie => BC_HA_9999999999999999_99999999=9999999; Domain=.centos.org; expires=Fri, 08-Jan-16 11:34:50 GMT; Path=/
*************************
CL: (null), C: Keep-Alive, CT: text/plain; charset=ISO-8859-1, TE: chunked
Sending headers...
Chunked body included.
Line: 1d2
strtol: 466 (1d2) - err:
data_send: read 468 of 468 / 468 of 468 (errno = ok)
data_send: wrote 468 of 468
Line: 0
strtol: 0 (0) - err:
last chunk: 0
Trailer header(i=1):
Chunked body sent.
Thread finished.
Storing the connection for reuse (5:6).
Joining thread 3078409072; rc: 0
Hello! I've configured yum on a CentOS 6.7 to use a CNTLM proxy but it fails. If I set Firefox to use that proxy it works but not yum. Here is the output when I do a
yum update
.This is my cntlm.ini
This is what I put in my /etc/yum.cfg
And this is the output of
yum update
What am I doing wrong? Thank you!