Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Maintenance Tool Fails to Update

Maintenance Tool Fails to Update

Scheduled Pinned Locked Moved Solved Installation and Deployment
13 Posts 3 Posters 6.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Paul H.P Offline
    Paul H.P Offline
    Paul H.
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Sounds pretty strange... Are you using the same version of the installer(s) everywhere ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      Paul H.P 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        Sounds pretty strange... Are you using the same version of the installer(s) everywhere ?

        Paul H.P Offline
        Paul H.P Offline
        Paul H.
        wrote on last edited by
        #3

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

        1 Reply Last reply
        1
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          I'm wondering whether theres something interfering like maybe an antivirus.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          Paul H.P 1 Reply Last reply
          1
          • SGaistS SGaist

            I'm wondering whether theres something interfering like maybe an antivirus.

            Paul H.P Offline
            Paul H.P Offline
            Paul H.
            wrote on last edited by
            #5

            @SGaist I don't think it would be my anti-virus (Microsoft Security Essentials) since it only fails when connected to my home network. I'll try disabling it anyways to see if it makes a difference. Thanks for your help!

            1 Reply Last reply
            1
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              So you are only experiencing this in your home network ? Whatever the machine is ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              Paul H.P 1 Reply Last reply
              1
              • SGaistS SGaist

                So you are only experiencing this in your home network ? Whatever the machine is ?

                Paul H.P Offline
                Paul H.P Offline
                Paul H.
                wrote on last edited by Paul H.
                #7

                @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
                
                JKSHJ 1 Reply Last reply
                1
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  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.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  Paul H.P 1 Reply Last reply
                  1
                  • SGaistS SGaist

                    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.

                    Paul H.P Offline
                    Paul H.P Offline
                    Paul H.
                    wrote on last edited by
                    #9

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

                    1 Reply Last reply
                    1
                    • Paul H.P Paul H.

                      @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
                      
                      JKSHJ Offline
                      JKSHJ Offline
                      JKSH
                      Moderators
                      wrote on last edited by
                      #10

                      @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:

                      • Commit a221bb
                      • Commit c091b5

                      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!

                      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                      Paul H.P 1 Reply Last reply
                      2
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        It's in my pipeline :)

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        JKSHJ 1 Reply Last reply
                        0
                        • JKSHJ JKSH

                          @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:

                          • Commit a221bb
                          • Commit c091b5

                          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!

                          Paul H.P Offline
                          Paul H.P Offline
                          Paul H.
                          wrote on last edited by
                          #12

                          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.

                          1 Reply Last reply
                          0
                          • SGaistS SGaist

                            It's in my pipeline :)

                            JKSHJ Offline
                            JKSHJ Offline
                            JKSH
                            Moderators
                            wrote on last edited by
                            #13

                            @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

                            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                            1 Reply Last reply
                            1

                            • Login

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Users
                            • Groups
                            • Search
                            • Get Qt Extensions
                            • Unsolved