Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Download (curl) error

  1. #1

    Default 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.

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,590
    Blog Entries
    2

    Default Re: Download (curl) error

    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
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,830
    Blog Entries
    14

    Default Re: Download (curl) error

    This has nothing to do with your proxy, but with one in the openSUSE infra. This is mostly a temporary error. Try again, after
    Code:
    sudo zypper clean
    sudo zypper ref
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,590
    Blog Entries
    2

    Default Re: Download (curl) error

    Quote Originally Posted by Knurpht View Post
    This has nothing to do with your proxy, but with one in the openSUSE infra. This is mostly a temporary error. Try again, after
    Code:
    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
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  5. #5

    Default Re: Download (curl) error

    Quote Originally Posted by Knurpht View Post
    This has nothing to do with your proxy, but with one in the openSUSE infra. This is mostly a temporary error. Try again, after
    Code:
    sudo zypper clean
    sudo zypper ref

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

  6. #6

    Default Re: Download (curl) error

    Quote Originally Posted by tsu2 View Post
    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

    Hi. I not using web proxy.

  7. #7
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    21,927
    Blog Entries
    1

    Default Re: Download (curl) error

    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:Mir...o_find_mirrors
    openSUSE Leap 15.2; KDE Plasma 5

  8. #8
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    14,277
    Blog Entries
    3

    Default Re: Download (curl) error

    Just as a cross check, can you provide the output from:
    Code:
    grep PROXY /etc/sysconfig/proxy
    For comparison, here is my output:
    Code:
    % 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"
    openSUSE Leap 15.2; KDE Plasma 5.18.5;

  9. #9

    Default Re: Download (curl) error

    Quote Originally Posted by nrickert View Post
    Just as a cross check, can you provide the output from:
    Code:
    grep PROXY /etc/sysconfig/proxy
    For comparison, here is my output:
    Code:
    % 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:
    Code:
    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"

  10. #10
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    14,277
    Blog Entries
    3

    Default Re: Download (curl) error

    Quote Originally Posted by fercosta80 View Post
    Hi. Output for command:
    Okay, thanks for posting.

    That looks fine. and is not the problem.
    openSUSE Leap 15.2; KDE Plasma 5.18.5;

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •