Problem with setup PROXY

Issues related to configuring your network
Post Reply
jgutie2022
Posts: 16
Joined: 2022/12/12 11:50:49

Problem with setup PROXY

Post by jgutie2022 » 2022/12/12 11:59:09

Hello Members

My problem is very simple, how can I configure the proxy in centos 9 stream to dowload updates an packages from the repositories?

I try to do that: viewtopic.php?t=72006

But the curl 56 error allways go out.


Please help me.


User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Problem with setup PROXY

Post by TrevorH » 2022/12/12 14:34:27

But the curl 56 error allways go out.
Since 56 is a different error code to the post you linked to, we would need to see the actual error messages to know what 56 means.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

jgutie2022
Posts: 16
Joined: 2022/12/12 11:50:49

Re: Problem with setup PROXY

Post by jgutie2022 » 2022/12/12 14:44:10

[root@localhost yum.repos.d]# dnf -y install httpd
Error al cargar el complemento "config_manager": '*prog'
CentOS Stream 9 - BaseOS 0.0 B/s | 0 B 00:01
Errors during downloading metadata for repository 'baseos':
- Curl error (56): Failure when receiving data from the peer for https://mirrors.centos.org/metalink?rep ... https,http [Empty re ply from server]
Error: Failed to download metadata for repo 'baseos': Cannot prepare internal mirrorli st: Curl error (56): Failure when receiving data from the peer for https://mirrors.cen tos.org/metalink?repo=centos-baseos-9-stream&arch=x86_64&protocol=https,http [Empty re ply from server]
[root@localhost yum.repos.d]#


This is the mistake.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Problem with setup PROXY

Post by TrevorH » 2022/12/12 14:56:52

That looks like a firewall problem and no proxy configured.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

jgutie2022
Posts: 16
Joined: 2022/12/12 11:50:49

Re: Problem with setup PROXY

Post by jgutie2022 » 2022/12/12 14:57:18

Doesn´t work Mr BShT... What can I do?

Best regards.

jgutie2022
Posts: 16
Joined: 2022/12/12 11:50:49

Re: Problem with setup PROXY

Post by jgutie2022 » 2022/12/12 15:08:53

TrevorH wrote:
2022/12/12 14:56:52
That looks like a firewall problem and no proxy configured.
firewald stopped and the problem continues... All the day with that.

HEEEEEEEEEEEEEEEEEEEEEEEEEEELP

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Problem with setup PROXY

Post by TrevorH » 2022/12/12 16:28:17

I mean a firewall, not the bloated useless rubbish called firewalld. It'll be a box like a Cisco or a similar vendor o maybe your IT dept run a linux proxy.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

jgutie2022
Posts: 16
Joined: 2022/12/12 11:50:49

Re: Problem with setup PROXY

Post by jgutie2022 » 2022/12/13 08:47:59

Hello good morning

Correct there is a firewall, and I have user and password but I make the configuration of the file /etc/profile and /etc/resolv.conf and the probleme keep going. I don´t know what to do!
Can you tellme how configure the centos 9Stream to pass enterprise proxy with my user and password, please?

Thanks a lot.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Problem with setup PROXY

Post by TrevorH » 2022/12/13 09:43:47

Proxy parameters for yum/dnf go in /etc/yum.conf sd per man yum.conf
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply