Skip to content

possible proxy problems #332

@marrip

Description

@marrip

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 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions