summaryrefslogtreecommitdiff
path: root/issues/gn3-nginx-timeout.gmi
diff options
context:
space:
mode:
authorAlexander_Kabui2024-01-15 23:07:16 +0300
committerAlexander_Kabui2024-01-15 23:07:16 +0300
commit0b16ab1ebfe1f395d4f8f02a9ec94d1b638dbf37 (patch)
treef2ed8dc922f2db0dfb215591677111c36b86a086 /issues/gn3-nginx-timeout.gmi
parent009ebe1d9182f10e7f629ca09c0ab43e95689abe (diff)
downloadgn-gemtext-0b16ab1ebfe1f395d4f8f02a9ec94d1b638dbf37.tar.gz
add issue:gn3-nginx timeout
Diffstat (limited to 'issues/gn3-nginx-timeout.gmi')
-rw-r--r--issues/gn3-nginx-timeout.gmi39
1 files changed, 39 insertions, 0 deletions
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
+<head><title>504 Gateway Time-out</title></head>
+<body>
+<center><h1>504 Gateway Time-out</h1></center>
+<hr><center>nginx</center>
+</body>
+</html>
+``` \ No newline at end of file