Bug 2327788

Summary: wget starts using non-working IPv6 addresses on dual stack
Product: [Fedora] Fedora Reporter: Jaroslav Škarvada <jskarvad>
Component: wget2Assignee: Michal Ruprich <mruprich>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: jonathan, mruprich, ngompa13, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: wget2-2.2.0-1.fc42 wget2-2.2.0-1.fc40 wget2-2.2.0-1.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-12-03 08:45:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2328557    
Bug Blocks:    

Description Jaroslav Škarvada 2024-11-21 12:40:34 UTC
This starts happening after upgrade to f41.

Reproducible: Always

Steps to Reproduce:
1. wget URL
2.
3.
Actual Results:  
Failed to send 294 bytes....

Expected Results:  
Wget works

Comment 1 Jaroslav Škarvada 2024-11-21 12:43:25 UTC
It's because it tries to use IPv6 address that resolves but doesn't work instead of the IPv4 address.

$ wget -4 URL
works

I think it should failover to the IPv4 automatically and immediately as other tools do.

Comment 3 Michal Ruprich 2024-11-22 07:35:33 UTC
Thanks, I already filed this some time ago in the Upstream and it is now fixed. I will fix this in Fedora as well.

Comment 4 Fedora Update System 2024-12-03 08:42:48 UTC
FEDORA-2024-913d511a18 (wget2-2.2.0-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-913d511a18

Comment 5 Fedora Update System 2024-12-03 08:45:28 UTC
FEDORA-2024-913d511a18 (wget2-2.2.0-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2024-12-03 08:51:27 UTC
FEDORA-2024-e0acdb5078 (wget2-2.2.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-e0acdb5078

Comment 7 Fedora Update System 2024-12-04 03:49:03 UTC
FEDORA-2024-e0acdb5078 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-e0acdb5078`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-e0acdb5078

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2024-12-04 04:15:53 UTC
FEDORA-2024-7953b22fe9 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-7953b22fe9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-7953b22fe9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2024-12-05 01:33:44 UTC
FEDORA-2024-7953b22fe9 (wget2-2.2.0-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2024-12-05 02:23:19 UTC
FEDORA-2024-e0acdb5078 (wget2-2.2.0-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.