Open gitoliver opened 10 months ago
I want to guess that Nginx has some sort of default timeout threshold that this request is exceeding. So one question is, what should that threshold be? Another question: Would this mean that even sequence evaluations need to be run on separate processes so that we guarantee a response before timeout, and then we poll for the evaluation response? Or is there a build holding us up, and maybe that could be what is threaded, and we could return the json within the existing threshold?
This would require input from Lachele/Gray'son, as if it were me, I would address this in a Sequence gemsModule refactoring pass, whenever that bubbles up in priority.
Tool: glycam.org/txt with DGalpa1-4[4DManpa1-]<240>3DGlcpa1-OME
Bug Description:
On actual I get a "504 Gateway Time-out nginx" trying to get to https://glycam.org/cb/build_sequence/ from the glycam.org/txt page.
In my local dev env I get 502 Bad Gateway when accessing http://172.28.0.2/cb/build_default_sequence/. I think this where we should focus.
This happens after exactly 30 seconds each time.
Note I can build a default structure for this in gmml in 40 seconds, and the structure files do eventually show up in the build directory, but after the 502 error has been shown. You can watch the gems log and see it's not responding in time, but finishing eventually.
Building it twice results in the same error, the "evaluation" happens every time and it's taking too long. A sequence module re-factor is required to fix this, but in the meantime if we can wait longer that would be great.
I tried editing the following files in both: Proxy/nginx and Django/nginx:
This did nothing; it still gives the same 502 error after 30s.