From 0b16ab1ebfe1f395d4f8f02a9ec94d1b638dbf37 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Mon, 15 Jan 2024 23:07:16 +0300 Subject: add issue:gn3-nginx timeout --- issues/gn3-nginx-timeout.gmi | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 issues/gn3-nginx-timeout.gmi (limited to 'issues/gn3-nginx-timeout.gmi') diff --git a/issues/gn3-nginx-timeout.gmi b/issues/gn3-nginx-timeout.gmi new file mode 100644 index 0000000..1dc7424 --- /dev/null +++ b/issues/gn3-nginx-timeout.gmi @@ -0,0 +1,39 @@ +# GN3 NGINX Timeout + +## Tags + +* Assigned: alexm +* Keywords: CD, GN3 +* Status: Unclear +* Priority: Medium +* Type: Bug + +## Description + +The issue is that some requests to the GN3 API result in an nginx 504 Gateway Time-out error. This may not necessarily be a bug, but encountering a request timeout within 30 seconds is a short timeframe. Previously, we had a related issue where the Gunicorn server would timeout. A fix was introduced by increasing the timeout. + +For reference, see the issue: +=> issues/cd-gn3-configurations + +An example is when querying the Fahamu API to get non-empty results; one might have to wait up to 2 minutes. To test this on CD: + +```bash +curl --json @json_data.txt https://cd.genenetwork.org/api3/llm/gnqna +``` + +The JSON file: + +```json +"querygnqa": "describe what genetics are" +``` + +Results: + +```html +