Created attachment 1202778 [details] screenshot Description of problem: get "insecure redirect" error everytime I click the "create live usb" button Version-Release number of selected component (if applicable): mediawriter-3.96.0-0.fc25.x86_64 How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created attachment 1202779 [details] journal
The log contains: Sep 20 16:53:00 localhost.localdomain mediawriter.desktop[1866]: Warning: Error QNetworkReply::NetworkError(InsecureRedirectError) reading from QUrl("https://mirrors.ustc.edu.cn/fedora/linux/releases/24/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-24-1.2.iso") : "Insecure redirect" ((null):0, (null)) That URL seems to redirect to http (which in the end returns 404). It seems that https -> http redirection is not allowed by default in QNetworkReply (which might be a very reasonable configuration). However, FMW should not fail just because one mirror is badly configured.
Fixing bug 1377678 would fix this one as well.
Actually, the problem in this case is that HTTP servers point to HTTPS mirrors and those in turn point to HTTP ones. I specifically included only HTTP links to avoid this problem before either 1) mirrors are fixed or 2) Qt allows an option to not care about insecure redirects. After including HTTP links only I didn't hit this issue but it seems it still affects other so I'll implement a redirect handler to avoid this.
If you use the list from bug 1377678 comment 2, maybe you don't need to do anything. The insecure redirect will simply be skipped and another mirror from the list will be used instead.
Yes. That seems like the most reasonable approach. I'll maybe add a regular redirect handling too just in case the link you mentioned is not accessible for some reason.
mediawriter-3.97.0-0.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d84f684d42
Lili, can you test this? Thanks.
mediawriter-3.97.1-0.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-e34fd77aaf
(In reply to Kamil Páral from comment #8) > Lili, can you test this? Thanks. Sure,gonna to do.
mediawriter-3.97.1-0.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.