askimed/nf-test

Connection refused when using plugins

MarieLataretu opened this issue ยท 3 comments

Hi all,

I'm working on an HPC, and the automatic installation of plugins fails:

nf-test test main.nf.test --profile singularity

๐Ÿš€ nf-test 0.8.4
https://code.askimed.com/nf-test
(c) 2021 - 2024 Lukas Forer and Sebastian Schoenherr

Error: Syntax errors in nf-test config file: java.net.ConnectException: Connection refused

nf-test.config snippet (I see no syntax error):

    plugins {
        load "nft-bam@0.3.0"
        load "nft-vcf@1.0.6"
        load "nft-fasta@1.0.0"
    }

Same when using --plugins:

nf-test test main.nf.test --profile singularity --plugins=nft-bam
 
๐Ÿš€ nf-test 0.8.4
https://code.askimed.com/nf-test
(c) 2021 - 2024 Lukas Forer and Sebastian Schoenherr

Error: java.net.ConnectException: Connection refused

Where does it try to connect to?

Nf-test downloads the plugins from github.

I tried to understand the code a bit:

This line would download a jar, e.g. https://github.com/seppinho/nft-vcf/releases/download/v1.0.4/nft-vcf-1.0.4.jar

Is that correct?

Yes, that's correct. It first downloads the repository from https://github.com/askimed/nf-test-plugins/blob/main/plugins.json. Then it downloads the version of the plugin from the URL found in this file.