502 server error when trying to download .vidjil or .analysis from samples page on app
Description
When trying to download a .vidjil or a .analysis from the samples page, we get a 502 error
Reproducibility ?
Systematic To reproduce:
- Open app.vidjil.org
- Open a patient with analyses
- Click on the link
.vidjil
or.analysis
on the bottom right --> a 502 server error is displayed
NB: the same workflow works correctly on db.vidjil.org
fix clue
Since it works on vdb, this is likely a cors issue or something similar.
Actually, in nginx error.log
on gre, we get the following error :
2024/02/12 09:57:20 [error] 101#101: *17104 uwsgi could not be resolved (3: Host not found), client: 131.254.16.96, server: ba9f2ecbe902, request: "GET /vidjil/default/get_data?sample_set_id=62221&config=49&filename=07-_IKZF1/ERG.vidjil HTTP/1.1", host: "app.vidjil.org", referrer: "https://app.vidjil.org/"
Priority
TBD