Maintenance Tool Fails to Update
-
I am having the same issue as this post. The difference is that the update only fails on my home network (ISP Charter / Spectrum), not my work network (ISP CenturyLink), using my laptop. Update gets to around 80% then fails downloading the meta data. I have the same problem with the online installer.
One thing that is kinda strange, I put a different hard drive in the laptop and did a fresh install of Windows 10 with all updates and the online installer worked, as well as the maintenance tool after the install. I put the original hard drive back in (Windows 10, upgraded from Windows 8.1) and still have the same problem at home, but not at work, as before.
Anyone have any suggestions?
-
Hi,
Sounds pretty strange... Are you using the same version of the installer(s) everywhere ?
-
@SGaist Yes, same installer (qt-unified-windows-x86-3.0.0-online). When I first had the problem with update (at home, Sunday), I backed up my existing Qt and uninstalled completely, downloaded the latest installer and tried to install fresh, but had the same problem. I did the fresh Windows 10 install on the second hard drive the same day, so same installer would have been downloaded. When I reinstalled at work (original hard drive) I used the previously downloaded installer and everything worked fine. I tried to do an update at home to see if it would work and it still failed. This has been consistent all week.
-
I'm wondering whether theres something interfering like maybe an antivirus.
-
So you are only experiencing this in your home network ? Whatever the machine is ?
-
@SGaist Yes, just at home. My laptop is the only computer I use there.
I finally got it to work last night by uninstalling Qt again and using a different mirror when running the installer. It wouldn't install with the default. I tried using different mirrors before I uninstalled, but that didn't work. I think it was still trying to use the original individual repositories. The instructions for the Qt SDK chooser said to only uncheck the one core repository.
As a side note, the SDK chooser only returns a half dozen or so mirrors, with a string of Qt SSL related messages. I don't know if that is relevant or not. I can provide more information if you want. I am writing this on my tablet, so I don't have access to the specific errors at the moment.
Thanks again!
Update:
I just built the Qt SDK Repo Chooser from source. I still get the messages, but I now get more repositories. It appears the downloaded binary wasn't getting the US or Canada mirrors. In case you are wondering, here are the messages from the chooser:Downloading mirror list... QSslSocket: cannot resolve TLSv1_1_client_method QSslSocket: cannot resolve TLSv1_2_client_method QSslSocket: cannot resolve TLSv1_1_server_method QSslSocket: cannot resolve TLSv1_2_server_method QSslSocket: cannot resolve SSL_select_next_proto QSslSocket: cannot resolve SSL_CTX_set_next_proto_select_cb QSslSocket: cannot resolve SSL_get0_next_proto_negotiated QSslSocket: cannot resolve SSL_set_alpn_protos QSslSocket: cannot resolve SSL_CTX_set_alpn_select_cb QSslSocket: cannot resolve SSL_get0_alpn_selected Done
-
These warning usually comes from OpenSSL libraries of different version used when building Qt and when running your application.
IIRC, these are from deprecated methods that have been removed.
-
@SGaist Well, everything seems to be working fine since I switched mirrors when doing a new install, so I'll go ahead and mark this as solved. In fact, using a different mirror greatly increased the download speed. It used to take over a minute to retrieve the meta information, now it takes around 10 seconds. Thanks for the help.
-
@Paul-H. said in Maintenance Tool Fails to Update:
I just built the Qt SDK Repo Chooser from source.... I now get more repositories. It appears the downloaded binary wasn't getting the US or Canada mirrors.
The old binaries were built from code which only searched for mirrors from other continents. These two commits added support for mirrors from your own continent and your own country:
I've updated the Windows binaries to make use of the new code: https://github.com/JKSH/QtSdkRepoChooser/releases. Linux binaries will follow soon.
@SGaist, could you build new macOS binaries, please? :)
@Paul-H. said in Maintenance Tool Fails to Update:
using a different mirror greatly increased the download speed.
That's why the Qt SDK Repo Chooser was created in the first place. It would be nice if the official had the built-in capability to switch mirrors.
Anyway, I'm glad to hear that you're up and running now!
-
It's in my pipeline :)
-
That's why the Qt SDK Repo Chooser was created in the first place. It would be nice if the official had the built-in capability to switch mirrors.
I agree. I guess I just assumed that the installer would select an appropriate mirror. It would be nice if the installer let you choose. Until I had this issue, I didn't know that my downloads were slower than they needed to be.
-
@SGaist said in Maintenance Tool Fails to Update:
It's in my pipeline :)
Thanks, @Sgaist! I've uploaded it to GitHub.
@Paul-H. said in Maintenance Tool Fails to Update:
It would be nice if the installer let you choose.
We just got some good news today. The next major version of the installer will allow users to change mirrors! https://bugreports.qt.io/browse/QTIFW-441