Author Topic: [Errno 14] HTTP Error 502: Proxy Error  (Read 62894 times)

cyanez

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
[Errno 14] HTTP Error 502: Proxy Error
« on: September 27, 2007, 00:06:28 »
I have this error

[Errno 14] HTTP Error 502: Proxy Error

with

yum install queuemetrics

I have in /etc/yum.repo.d/loway.repo

[LowayResearch]
name=Loway Research Yum Repository
baseurl=htto://yum.loway.ch/RPM
gpgchechk=0

I have other repo and in this repo I do nor have a problem

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: [Errno 14] HTTP Error 502: Proxy Error
« Reply #1 on: September 28, 2007, 20:18:02 »
The correct entry would be:

Code: [Select]
[LowayResearch]
name=Loway Research Yum Repository
baseurl=http://yum.loway.ch/RPMS
gpgcheck=0

Do you have a proxy set? your error is a proxy error.....

cyanez

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: [Errno 14] HTTP Error 502: Proxy Error
« Reply #2 on: September 30, 2007, 01:21:27 »
yes I have a proxy server but I update the system witn yum and I do not have a problem

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: [Errno 14] HTTP Error 502: Proxy Error
« Reply #3 on: September 30, 2007, 06:10:53 »
OK - is it working now?

cyanez

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: [Errno 14] HTTP Error 502: Proxy Error
« Reply #4 on: October 02, 2007, 16:39:16 »
no I have this error

[Errno 14] HTTP Error 502: Proxy Error


cyanez

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: [Errno 14] HTTP Error 502: Proxy Error
« Reply #5 on: October 02, 2007, 17:22:17 »
My configuration

export ftp_proxy="ftp://dominio\\usuario:password@proxy:8080"
export http_proxy="http://dominio\\usuario:password@proxy:8080"

My test  yum install lynx

Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for lynx to pack into transaction set.
lynx-2.8.5-28.1.i386.rpm  100% |=========================|  22 kB    00:00
---> Package lynx.i386 0:2.8.5-28.1 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 lynx                    i386       2.8.5-28.1       base              1.7 M

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 1.7 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): lynx-2.8.5-28.1.i3 100% |=========================| 1.7 MB    00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: lynx                         ######################### [1/1]

Installed: lynx.i386 0:2.8.5-28.1
Complete!

I tried install

Connecting to 195.76.55.50:8080... conectado.
PeticiĆ³n Proxy enviada, esperando respuesta... 200 OK
Longitud: 270 [text/plain]
Saving to: `/etc/yum.repos.d/loway.repo'

100%[=======================================>] 270         --.-K/s   in 0s

16:59:55 (43,1 MB/s) - `/etc/yum.repos.d/loway.repo' saved [270/270]

[root@nodo2 ~]# yum install queuemetrics
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
updates                   100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
LowayResearch             100% |=========================|  951 B    00:00
addons                    100% |=========================|  951 B    00:00
Reading repository metadata in from local files
http://yum.loway.ch/RPMS/repodata/primary.xml.gz: [Errno 14] HTTP Error 502: Proxy Error ( The request is not supported.  )
Trying other mirror.
Error: failure: repodata/primary.xml.gz from LowayResearch: [Errno 256] No more mirrors to try.


QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: [Errno 14] HTTP Error 502: Proxy Error
« Reply #6 on: October 02, 2007, 18:41:57 »
This is really strange because as you can see if you click on http://yum.loway.ch/RPMS/repodata/primary.xml.gz you see that the file is being downloaded....

I tried setting up a proxy and installing QueueMetrics, that's what I get on the proxy log:

Code: [Select]
10.10.3.100 - - [02/Oct/2007:18:38:44 +0200] "GET http://mirrorlist.centos.org/?release=5&arch=i386&repo=addons HTTP/1.1" 200 555 "-" "urlgrabber/3.1.0"
10.10.3.100 - - [02/Oct/2007:18:38:44 +0200] "GET http://mirrorlist.centos.org/?release=5&arch=i386&repo=os HTTP/1.1" 200 515 "-" "urlgrabber/3.1.0"
10.10.3.100 - - [02/Oct/2007:18:38:44 +0200] "GET http://mirrorlist.centos.org/?release=5&arch=i386&repo=updates HTTP/1.1" 200 585 "-" "urlgrabber/3.1.0"
10.10.3.100 - - [02/Oct/2007:18:38:45 +0200] "GET http://mirrorlist.centos.org/?release=5&arch=i386&repo=extras HTTP/1.1" 200 562 "-" "urlgrabber/3.1.0"

It looks like only the mirrorlist is read through the proxy... may this be a yum bug?

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: [Errno 14] HTTP Error 502: Proxy Error
« Reply #7 on: October 02, 2007, 18:44:32 »

cyanez

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: [Errno 14] HTTP Error 502: Proxy Error
« Reply #8 on: October 03, 2007, 18:00:58 »
I tried with ntlmaps-0.9.9.6-1 from RPM on Fedora Core 6, and the same error.


QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: [Errno 14] HTTP Error 502: Proxy Error
« Reply #9 on: October 03, 2007, 18:04:01 »
I know it's a bit lame, but downloading the package manually and doing a yum localinstall instead?

cyanez

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: [Errno 14] HTTP Error 502: Proxy Error
« Reply #10 on: October 03, 2007, 18:44:00 »
what files I need to download?

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: [Errno 14] HTTP Error 502: Proxy Error
« Reply #11 on: October 04, 2007, 19:23:10 »
These files should suffice:

From yum.loway.ch/RPMS/i386:
queuemetrics-java-1_5_0_11-16.i386.rpm

From yum.loway.ch/RPMS/noarch:
mysql-connector-java-3.1.12-4.noarch.rpm
qloaderd-1.7-7.noarch.rpm
queuemetrics-tomcat-5.0.28-9.noarch.rpm
queuemetrics-1.4.2-29.noarch.rpm