MAJA process fails when it tries to download gipp files, due to link being under maintainence
name: General Issue (FA)
about: Use this template for reporting an anomaly.
System information
- OS Platform and Distribution: docker, ubuntu:latest
- Maja installed from (source or binary): source
- Maja version (use command below):
- Maja commit sha (if Maja is installed from source):
- Python version (From binpkg or custom):
- Complementary info (i.e. GCC/Compiler version)
You can collect some of this information using our environment capture script
You can also obtain the Maja version with:
maja --version
2021-02-10 02:12:11 [4799] INFO MAJA 4.3 initialize:355 Maja Software Version: 4.3.0
Describe the current behavior
2021-02-10 01:47:55,944 [INFO ] Attempting to download Gipp for SENTINEL2_NATIF
Traceback (most recent call last):
File "/src/MAJA/install/maja/4.3.0/lib/python/StartMaja/Start_maja.py", line 563, in <module>
s.run()
File "/src/MAJA/install/maja/4.3.0/lib/python/StartMaja/Start_maja.py", line 491, in run
self.gipp.download()
File "/src/MAJA/install/maja/4.3.0/lib/python/StartMaja/Chain/GippFile.py", line 162, in download
FileSystem.download_file(self.url, self.gipp_archive, self.log_level)
File "/src/MAJA/install/maja/4.3.0/lib/python/StartMaja/Common/FileSystem.py", line 221, in download_file
ret_code = run_external_app("wget", args, log_level=log_level)
File "/src/MAJA/install/maja/4.3.0/lib/python/StartMaja/Common/FileSystem.py", line 188, in run_external_app
raise subprocess.CalledProcessError(return_code, cmd)
subprocess.CalledProcessError: Command 'wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -O /tmp/tmpnw9a3l9e http://osr-cesbio.ups-tlse.fr/gitlab_cesbio/kettigp/maja-gipp/-/archive/develop/maja-gipp-develop.zip -nv' returned non-zero exit status 8.
I checked the above url http://osr-cesbio.ups-tlse.fr/gitlab_cesbio/kettigp/maja-gipp/-/archive/develop/maja-gipp-develop.zip
And the website says "The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later."
Describe the expected behavior Should download the gipp file and continue normally.
Urgency/Criticity
- Urgency (Select Low/Medium/High):
- Criticity (Select Low/Medium/High): I would say High, as it blocks and mostly affects all startmaja process
Code to reproduce the issue
I just use basic startmaja binary built from source, and get this error. The exact script was working before.
Correction
(Optional) Provide a version number (Major.Minor.Patch, e.g. 3.2.1) when the correction shall be introduced.