On Sunday, 25 February 2024 14:06:28 ACDT J. Leslie Turriff wrote:

>     A few days ago I installed Leap 15.5 on a Lenovo ThinkPad, and on a spare

> drive on my system.  All seemed to be working well, then when I was getting

>

> ready to install some pipewire bits, this happened :

> | @19:31:45 root@pinto

> | wd=~

> | ● zypper ref

> | Problem retrieving files from 'KDE3'.

> | Download (curl) error

>

> for 'https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdownload.opensuse.org%2Frepositories%2FKDE%3A%2FKDE3%2F15.5%2Frepodata%2Frepomd.xml&data=05%7C02%7C%7Caaeb891e26474c47f32108dc35b31300%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638444290471308668%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=b2gA3u65Td%2BRxh17HygaYxu55FjVTzcSdYRI4ItDOfc%3D&reserved=0':

> | Error code: Connection failed

> | Error message: Failed to connect to 127.0.0.1 port 1080 after 0 ms:

> | Couldn't

> connect to server

[...]

>

>     I tried using YaST sw_single, but it did the same thing.  (See attached.)

> For some reason, YaST is now working again on one machine, but the problem

> persists with zypper on both.  Other network applications (web browser,

> email) work just fine.

>

>     The reference to 127.0.0.1 leads me to conclude that the issue is internal

> to my machines, but networking is pretty much a black box to me and various

> tools keep being replaced with new ones, I have no idea how to collect

> additional information that might explain what is happening.

>

>

> Leslie


127.0.0.1 is always "localhost" i.e. the local machine. It looks like curl is configured to use a (possibly filtered) proxy on the local machine, or the repo addresses are somehow being resolved to localhost rather than their actual IP addresses.


Localhost addresses will never be routed externally to the local machine, so you 'll need to figure out why those addresses appear to be being resolved as localhost.


Do you have entries in your /etc/hosts file?


What about /etc/resolv.conf?


Are you running a filtered proxy server or some other process that was working and now is not?


What are the URLs for the repos under /etc/zypp/repos.d?


Is there anything in /etc/curlrc or /root/.curlrc that is configuring a proxy at localhost:1080 (or 127.0.0.1:1080)? Or perhaps an environment variable doing the same?


Regards,

Rodney.


--

==========================================================================================================

Rodney Baker

rodney.baker@outlook.com.au

==========================================================================================================