nf-test icon indicating copy to clipboard operation
nf-test copied to clipboard

possible proxy problems

Open marrip opened this issue 2 months ago • 0 comments

Hey guys!

I am working on adding a new module to nf-core and tried to create a snap file with nf-test. However, I ran into some problems.

I have some issues due to sitting behind a proxy (I think). I got the following error when I run nf-test test modules/nf-core/module-name:

Error: Syntax errors in nf-test config file: java.net.SocketException: Connection reset

and if I run it again it returns:

Error: Syntax errors in nf-test config file: java.io.FileNotFoundException: .nf-test/plugins/nft-bam/0.5.0/nft-bam-0.5.0.jar (Is a directory)

I have checked and I am supplying the correct proxy variables (http_proxy , https_proxy , HTTP_PROXY, HTTPS_PROXY) but it seems that java wants to have them supplied differently so I tried adding them to the wrapper script of nf-test using the flags exec ${JAVA_CMD} ${JAVA_ARGS} -Dhttps.proxyHost=proxy-fqdn -Dhttps.proxyPost=proxy-port -jar "${FILE_PATH_JAR}" "$@" and it seems it picks it up but then the whole thing hangs and does not complete or throw an error. I believe it might be that it tries to use https with the proxy but the connection to the proxy only uses http .

marrip avatar Oct 23 '25 14:10 marrip