Skip to content

Commit 7d5dbd1

Browse files
inutanoclaude
andcommitted
fix: add -k flag to curl for Ensembl Plants SSL certificate issue
ftp.ensemblgenomes.org has an expired/misconfigured SSL certificate causing curl to fail with exit code 60 (HTTP 000). Adding -k allows the URL liveness check to succeed. Also adds --max-time for reliability. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4d602c0 commit 7d5dbd1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/evaluate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ jobs:
197197
if not url:
198198
continue
199199
result = subprocess.run(
200-
['curl', '-sI', '-o', '/dev/null', '-w', '%{http_code}', url],
201-
capture_output=True, text=True, timeout=30
200+
['curl', '-skI', '-o', '/dev/null', '-w', '%{http_code}', '--max-time', '30', url],
201+
capture_output=True, text=True, timeout=60
202202
)
203203
code = result.stdout.strip()
204204
if code in ('200', '226', '301', '302'):

0 commit comments

Comments
 (0)