carpentries-incubator / bioc-intro

Bioconductor data science introduction
https://carpentries-incubator.github.io/bioc-intro
Other
27 stars 28 forks source link

SSL error #109

Closed lgatto closed 1 year ago

lgatto commented 1 year ago
Register Repositories
Using github PAT from envvar GITHUB_PAT
Error: Error: Failed to install 'vise' from GitHub:
  SSL peer certificate or SSH remote key was not OK: [api.github.com] SSL: no alternative certificate subject name matches target host name 'api.github.com'
Execution halted
Error: Process completed with exit code 1.

See https://github.com/carpentries-incubator/bioc-intro/actions/runs/5600064601/jobs/10241911505

lgatto commented 1 year ago

Any idea @zkamvar? Is this related to vise?

zkamvar commented 1 year ago

I'm looking into this now.

jdrnevich commented 1 year ago

@zkamvar I am getting what I think is similar error on the bioc-rnaseq site about "Failed to install 'varnish' from GitHub:" https://github.com/carpentries-incubator/bioc-rnaseq/actions/runs/5600313182. I successfully built the site just a couple of hours ago, and the pushed changes were minor edits.

zkamvar commented 1 year ago

Thank you for the information, @jdrnevich. I believe it has something to do with GitHub's API given this error: SSL peer certificate or SSH remote key was not OK: [api.github.com] and other errors on subsequent runs accessing the carpentries universe that I cannot reproduce locally.

Seeing https://github.com/r-lib/remotes/issues/762#issuecomment-1594241715, and the changes I just implemented, I believe it has to do with something that changed suddenly on GitHub's end, but this is something that is difficult for me to debug. I will continue to work on this and report back here when I find a solution.

zkamvar commented 1 year ago

Apparently it's an ubuntu bug that will be fixed soon: https://fosstodon.org/@gaborcsardi/110741646942210567

I apologise to @lgatto because in my haste, I deleted the cache for this repo so that means the next build is going to install everything again once the bug is fixed 😓

jdrnevich commented 1 year ago

Thanks @zkamvar for finding out what was going on! I'll just wait for the bug fix.

zkamvar commented 1 year ago

@jdrnevich it looks like the builds are now succeeding: https://github.com/carpentries-incubator/bioc-rnaseq/actions/runs/5611246907/jobs/10267313448

@lgatto, I've restarted the build for this lesson: https://github.com/carpentries-incubator/bioc-intro/actions/runs/5600064601/jobs/10268764357, but because I clobbered the cache, it will probably take ~30 minutes or so.

lgatto commented 1 year ago

Thank you!