Download (curl) error

Hi.
I updated the opensuse from leap 15.1 to leap 15.2. It turns out that the update is not working. When trying to update, the system displays the message: 'Download (curl) error for ‘http://download.opensuse.org/update/leap/15.2/non-oss/repodata/repomd.xml’: Error code: Connection failed. Error message: Could not resolve proxy: HTTP_PROXY.'
It is happening with all repositories. Can someone help me?

Thanks.

I suppose the first question that has to be asked is whether your network is configured with a web proxy…
Do you know what that is? Typically a web proxy has a different network address and a port number like 8080 instead of the standard 80 and 443.

A web proxy can be for the entire LAN or installed locally on your machine for personal use.

Other things a person can look for is whether you’re running any kind of anti-virus or anti-spam anywhere, or any kind of web content or mail filtering services.

TSU

This has nothing to do with your proxy, but with one in the openSUSE infra. This is mostly a temporary error. Try again, after


sudo zypper clean
sudo zypper ref

Good to know it the error can be thrown that way,
Wonder why I’ve never seen that… I guess I’ll stick to the mirror I always use…

TSU

Thanks for your help, but the commands above did not solve the problem. I had tried this before. :frowning:

Hi. I not using web proxy.

Not sure why this is happening for you currently, but perhaps mirrorbrain is redirecting you to a broken mirror server. This usually works as expected, and should be fixed in time (so Knurpht’s comments make sense), but you might like to work around this manually for now…

https://en.opensuse.org/openSUSE:Mirrors#How_to_find_mirrors

Just as a cross check, can you provide the output from:

grep PROXY /etc/sysconfig/proxy

For comparison, here is my output:


% grep PROXY /etc/sysconfig/proxy
PROXY_ENABLED="no"
# Example: HTTP_PROXY="http://proxy.provider.de:3128/"
HTTP_PROXY=""
HTTPS_PROXY=""
# Example: FTP_PROXY="http://proxy.provider.de:3128/"
FTP_PROXY=""
# Example: GOPHER_PROXY="http://proxy.provider.de:3128/"
GOPHER_PROXY=""
# Example: SOCKS_PROXY="socks://proxy.example.com:8080"
SOCKS_PROXY=""
# Example: NO_PROXY="www.me.de, .do.main, localhost"
NO_PROXY="localhost, 127.0.0.1"

Hi. Output for command:

grep PROXY /etc/sysconfig/proxy
**PROXY**_ENABLED="no"
# Example: HTTP_**PROXY**="http://proxy.provider.de:3128/"
HTTP_**PROXY**=""
HTTPS_**PROXY**=""
# Example: FTP_**PROXY**="http://proxy.provider.de:3128/"
FTP_**PROXY**=""
# Example: GOPHER_**PROXY**="http://proxy.provider.de:3128/"
GOPHER_**PROXY**=""
# Example: SOCKS_**PROXY**="socks://proxy.example.com:8080"
SOCKS_**PROXY**=""
# Example: NO_**PROXY**="www.me.de, .do.main, localhost"
NO_**PROXY**="localhost, 127.0.0.1"

Okay, thanks for posting.

That looks fine. and is not the problem.

Post:

zypper lr -d

Do you use Networkmanager or wicked?

Again,
Based on your post that specifically identifies an HTTP_PROXY error,

Re-read my first post in this thread…
Although a web proxy is often easily recognizable, I also listed several common services that can use a web proxy type configuration without explicitly telling you that’s how their service works.

Also,
Are any other Internet applications affected?
Any web browsers you’ve used?
Any VPNs?

TSU

Hi.
Problem solved.

Since Leap 15.0, I’ve been doing updates until I get to Leap 15.2. With this problem, I decided to do a new installation of opensuse.
After installation, curl is working fine now.

Thank you all for your help.