-
-
Notifications
You must be signed in to change notification settings - Fork 376
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
Multiple Archive URL for mirrors #1410
Comments
what version of aptly are you using? for unstable connections, the grab downloader is recommended, and you can set the download retry attempts. what downloader is configured in your aptly.conf ? |
aptly version: 1.4.0 Part of config: We'd prefer to use multiple endpoints instead of specific one and looking for the way how to implement it. |
I see your point for having multiple/backup URLs, but implementing this would require a lot of cross checking (Release, Package files, signatures).. so I think this would be difficult. However, we solved such kind of problems by using the grab downloader, which is more robust in retrying and continuing downloading. could you check if the behavior improved by setting |
Our current version aptly (version: 1.4.0) knows nothing about this type of downloader. We've implemented nginx for using upstreams for mirrors and redefined archive URL referring to nginx. After that every time receive this error on any mirror: |
Aptly 1.6.0 has been releassed: #1414 Could you try the grab downloader with this version ? I did not fully understand how you implemented the nginx proxy... is this related to mirror downloads, i.e. caching aptly requests ? if the error persists, please share some aptly logs to analyze... |
Good day.
Sometimes (and very often) during aptly mirror update processing we're facing with various issues such as EOF, timeout, unexpected length etc. It leads that updating of mirror is gonna to be failed.
Have you got any ideas/suggestions how to define multiple URL for Archive URL as a endpoints for balancing? Mean, than we face again with issue try to use another URL for this mirror (another backend)?
The text was updated successfully, but these errors were encountered: