summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--issues/genenetwork/containerising-production-issues.gmi4
-rw-r--r--issues/genenetwork/python-requests-error-in-container.gmi27
2 files changed, 29 insertions, 2 deletions
diff --git a/issues/genenetwork/containerising-production-issues.gmi b/issues/genenetwork/containerising-production-issues.gmi
index 883f52a..6ddb3c1 100644
--- a/issues/genenetwork/containerising-production-issues.gmi
+++ b/issues/genenetwork/containerising-production-issues.gmi
@@ -24,9 +24,9 @@ The link above documents the various services that make up the GeneNetwork servi
## Issues
* [x] Move user directories to a large partition
-* [ ] Link TMPDIR in container to a directory on a large partition
+=> ./handle-tmp-dirs-in-container [ ] Link TMPDIR in container to a directory on a large partition
=> ./markdown-editing-service-not-deployed [x] Define and deploy Markdown Editing service
=> ./umhet3-samples-timing-slow [ ] Figure out and fix UM-HET3 Samples mappings on Tux04
=> ./setup-mailing-on-tux04 [x] Setting up email service on Tux04
=> ./virtuoso-shutdown-clears-data [x] Virtuoso seems to lose data on restart
-=> ./handle-tmp-dirs-in-container [ ] Handle temporary directories in the container
+=> ./python-requests-error-in-container [ ] Fix python's requests library certificates error
diff --git a/issues/genenetwork/python-requests-error-in-container.gmi b/issues/genenetwork/python-requests-error-in-container.gmi
new file mode 100644
index 0000000..2517af1
--- /dev/null
+++ b/issues/genenetwork/python-requests-error-in-container.gmi
@@ -0,0 +1,27 @@
+# Python Requests Error in Container
+
+## Tags
+
+* type: bug
+* status: open
+* assigned: fredm
+* priority: critical
+* interested: alexk, aruni, bonfacem, pjotrp, zsloan
+* keywords: production, container, tux04, python, requests
+
+## Description
+
+Building the container with the
+=> https://git.genenetwork.org/guix-bioinformatics/commit/?id=eb7beb340a9731775e8ad177e47b70dba2f2a84f upgraded guix definition
+leads to python's requests library failing.
+
+```
+2024-10-30 16:04:13 OSError: Could not find a suitable TLS CA certificate bundle, invalid path: /etc/ssl/certs/ca-certificates.crt
+```
+
+If you login to the container itself, however, you find that the file `/etc/ssl/certs/ca-certificates.crt` actually exists and has content.
+
+Possible fixes suggested are to set up correct envvars for the requests library, such as `REQUESTS_CA_BUNDLE`
+
+See
+=> https://requests.readthedocs.io/en/latest/user/advanced/#ssl-cert-verification