Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection refused when using plugins #234

Open
MarieLataretu opened this issue Jul 17, 2024 · 3 comments
Open

Connection refused when using plugins #234

MarieLataretu opened this issue Jul 17, 2024 · 3 comments

Comments

@MarieLataretu
Copy link
Contributor

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 "[email protected]"
        load "[email protected]"
        load "[email protected]"
    }

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?

@lukfor
Copy link
Collaborator

lukfor commented Jul 23, 2024

Nf-test downloads the plugins from github.

@MarieLataretu
Copy link
Contributor Author

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?

@lukfor
Copy link
Collaborator

lukfor commented Oct 14, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants