Closed ecwood closed 1 year ago
This was the actual line that failed:
++ curl -s https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py
Here's the error:
ubuntu@ip-172-31-62-73:~/kg2-code$ curl https://bootstrap.pypa.io/get-pip.py
curl: (60) SSL: no alternative certificate subject name matches target host name 'bootstrap.pypa.io'
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
This appears to be a known issue: https://github.com/pypa/get-pip/issues/178
Now, the script fails here:
curl -s -L -f -H 'Accept: application/zip' https://github.com/RTXteam/robot/releases/download/v1.3.0/robot.jar
Honestly, I think the problem is curl
on this instance, which seems to be marking every webpage as not having a certificate:
ubuntu@ip-172-31-62-73:~/RTX-KG2$ curl -L -f https://raw.githubusercontent.com/biolink/biolink-model/master/semmed-exclude-list.yaml
curl: (60) SSL: no alternative certificate subject name matches target host name 'raw.githubusercontent.com'
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
This is surprising because kg2erica.rtx.ai
and buildkg2.rtx.ai
(where the problem is) both have the same version of curl
:
kg2erica.rtx.ai
:
ubuntu@ip-172-31-59-112:~$ curl --version
curl 7.81.0 (x86_64-pc-linux-gnu) libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.14
Release-Date: 2022-01-05
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets zstd
buildkg2.rtx.ai
:
ubuntu@ip-172-31-62-73:~/RTX-KG2$ curl --version
curl 7.81.0 (x86_64-pc-linux-gnu) libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.14
Release-Date: 2022-01-05
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets zstd
This completed successfully in the KG2.8.4pre
build so I am going to close out this issue.
While working on #312,
aws configure
was not triggered bysetup-kg2-build.sh
.