Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR : Failed to download checksum for the file 'Updates.xml' from mirrors '['https://qt-mirror.dannhauer.de'] #577

Closed
bam80 opened this issue Sep 23, 2022 · 5 comments
Labels
duplicate This issue or pull request already exists question Further information is requested

Comments

@bam80
Copy link

bam80 commented Sep 23, 2022

$ ~/.local/bin/aqt list-tool linux desktop tools_qtcreator
ERROR   : Failed to download checksum for the file 'Updates.xml' from mirrors '['https://qt-mirror.dannhauer.de']
==============================Suggested follow-up:==============================
* Check your internet connection
* Consider modifying `requests.max_retries_to_retrieve_hash` in settings.ini
* Consider modifying `mirrors.trusted_mirrors` in settings.ini (see https://aqtinstall.readthedocs.io/en/stable/configuration.html#configuration)
* Please use 'aqt list-tool linux desktop' to check what tools are available.

The error might be caused by IP blocking from https://download.qt.io so I swapped it to https://qt-mirror.dannhauer.de mirror in trusted_mirrors setting.
Still it didn't help.

@miurahr miurahr added duplicate This issue or pull request already exists question Further information is requested labels Sep 24, 2022
@miurahr
Copy link
Owner

miurahr commented Sep 24, 2022

Your mirror does not provide SHA256 checksum, so it cannot be trusted.

Sha256 sum is got like as

https://download.qt.io/online/qtsdkrepository/linux_x64/desktop/tools_qtcreator/Updates.xml.sha256

Does your mirror

https://qt-mirror.dannhauer.de/online/qtsdkrepository/linux_x64/desktop/tools_qtcreator/Updates.xml.sha256

returns sha256 properly?

An issue is duplicated with #521

@bam80
Copy link
Author

bam80 commented Sep 24, 2022

Does your mirror returns sha256 properly?

Thanks, but if I read #521 right, no mirrors other than qt.io do?

@silven
Copy link

silven commented Sep 26, 2022

Even qt.io does not provide a .sha256 for all tools. For example tools_ifw is missing: https://download.qt.io/online/qtsdkrepository/linux_x64/desktop/tools_ifw/Updates.xml.sha256

@sithlord48
Copy link

sithlord48 commented Sep 26, 2022

The following tools are missing the sha256 file

  • tools_ifw
  • tools_maintenance
  • tools_maintenance_update_reminder

@ddalcino
Copy link
Contributor

@silven

Even qt.io does not provide a .sha256 for all tools. For example tools_ifw is missing: https://download.qt.io/online/qtsdkrepository/linux_x64/desktop/tools_ifw/Updates.xml.sha256

Check the link again; it looks like it's working now.

@sithlord48

The following tools are missing the sha256 file

  • tools_ifw
  • tools_maintenance
  • tools_maintenance_update_reminder

I just checked for sha256 files for all of these; none of them are missing. You were correct that these files were missing at the time you wrote this comment though.

Notice that all of these files are dated with today's date. I have noticed a pattern where for the first couple of hours after a file is released on download.qt.io, the sha256 hashes are missing (for example #521 (comment)). I do not understand why there's a delay between the upload of the binary/xml files and their sha256 checksums, or how long the delay is. I have not observed every one of these delays, but the delays that i have observed have all been under 24 hours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants