The job 02_check_ports_and_token failed: there's a TLS certificate issue.
~ ᐅ curl -I https://git.cloudsolutions.com.sa curl: (60) SSL certificate problem: unable to get local issuer certificateMore details here: https://curl.se/docs/sslcerts.htmlcurl failed to verify the legitimacy of the server and therefore could notestablish a secure connection to it. To learn more about this situation andhow to fix it, please visit the web page mentioned above.~ ᐅ openssl s_client -connect git.cloudsolutions.com.sa:443 < /dev/null 2> /dev/null | awk'/Verification/'Verification error: unable to verify the first certificate
swh-lister-1|[2024-03-2013:19:11,736:INFO/MainProcess]Taskswh.lister.gitea.tasks.FullGiteaRelister[4938ae67-ba27-44b7-b266-2270d5d99f74]receivedswh-lister-1|[2024-03-2013:19:11,737:DEBUG/ForkPoolWorker-2]Loadingconfigfile/srv/softwareheritage/config.ymlswh-lister-1|[2024-03-2013:19:11,745:WARNING/ForkPoolWorker-2]Noauthenticationtokensetinconfiguration,usinganonymousmodeswh-lister-1|[2024-03-2013:19:11,745:DEBUG/ForkPoolWorker-2]FetchingURLhttps://git.cloudsolutions.com.sa/api/v1/repos/searchwithparams{'limit':50,'page':1}swh-lister-1|[2024-03-2013:19:11,745:DEBUG/ForkPoolWorker-2]FetchingURLhttps://git.cloudsolutions.com.sa/api/v1/repos/searchwithparams{'limit':50,'page':1}swh-lister-1|[2024-03-2013:19:11,951:WARNING/ForkPoolWorker-2]Retryingswh.lister.pattern.Lister.http_requestin1.0secondsasitraisedSSLError:HTTPSConnectionPool(host='git.cloudsolutions.com.sa',port=443):Maxretriesexceededwithurl:/api/v1/repos/search?limit=50&page=1(CausedbySSLError(SSLCertVerificationError(1,'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)'))).swh-lister-1|[2024-03-2013:19:12,952:DEBUG/ForkPoolWorker-2]FetchingURLhttps://git.cloudsolutions.com.sa/api/v1/repos/searchwithparams{'limit':50,'page':1}
Works in a Firefox browser profile with cached certs, but not in a fresh Firefox browser profile and not in curl/openssl indeed. Looks like TLS AIA (swh/meta#5086) or disabling TLS verification (swh/meta#5077) would fix it though: