I use a python flask server in the backend . It run a script which prepare then download an xml file.
this is working fine is script but if script lasts longer than 80 sec it's stopped and http error 502 is displayed and the xml file is not closed correctly and i get this message :
the log...