Skip to content

Host icu downloads locally (icu download is breaking) #190

Closed
@jbergstroem

Description

@jbergstroem

We've seen quite a bit of these through the buildbots:

** Error occurred while downloading
 <http://download.icu-project.org/files/icu4c/55.1/icu4c-55_1-src.zip>
Traceback (most recent call last):
  File "configure", line 1068, in <module>
    configure_intl(output)
  File "configure", line 967, in configure_intl
    localzip = icu_download(icu_full_path)
  File "configure", line 836, in icu_download
    nodedownload.retrievefile(url, targetfile)
  File "tools\configure.d\nodedownload.py", line 38, in retrievefile
    msg = ConfigOpener().retrieve(url, targetfile, reporthook=reporthook)
  File "C:\Python27\lib\urllib.py", line 289, in retrieve
    "of %i bytes" % (read, size), result)
urllib.ContentTooShortError: retrieval incomplete: got only 13001029 out of 27025781 bytes

There's a few routes to explore here to improve the actual download; but one thing we can do from an infra point of view could be setting up a proxy_store location match on our local nginx that would pull files from icu-project.org and then allow us to use our cdn to cache it. Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions