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

NF does not perform proxy authentification and cannot access github #5634

Open
kpetrov opened this issue Jan 3, 2025 · 4 comments
Open

NF does not perform proxy authentification and cannot access github #5634

kpetrov opened this issue Jan 3, 2025 · 4 comments

Comments

@kpetrov
Copy link

kpetrov commented Jan 3, 2025

Bug report

Doesn't authenticate at the proxy server, no internet access

Expected behavior and actual behavior

We have a computing cluster with internet access provided via proxy. Most programs take the credentials from the environmental variables and work just fine. Nextflow doesn't try to authenticate.

Steps to reproduce the problem

install nextflow, install graalvm, run
)->nextflow run nf-core/demo -profile maestro --input samplesheet.csv

Program output

N E X T F L O W ~ version 24.10.3

Pulling nf-core/demo ...
WARN: Cannot read project manifest -- Cause: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"
Cannot find nf-core/demo -- Make sure exists a GitHub repository at this address https://github.com/nf-core/demo

Environment

  • Nextflow version: 24.10.3
  • Java version: graalvm 22.3.1
  • Operating system: Linux RHEL 8.6
  • Bash version: 4.4.20

http_proxy=http://user:mysecretkeyhere@squid:3128

Additional context

Proxy is required for security and audit.

@bentsherman
Copy link
Member

Can you share your Nextflow log? You should see these two lines if http_proxy is set:

Setting http proxy: ProxyConfig[...]
Setting http proxy authenticator

@kpetrov
Copy link
Author

kpetrov commented Jan 7, 2025

nextflow.log

thanks for a quick reply, here is the log with some debug info

@bentsherman
Copy link
Member

From the first lines of that log it looks like it is setting the proxy credentials for http and https. So I'm not sure why it would fail

@kpetrov
Copy link
Author

kpetrov commented Jan 7, 2025

can I provide any further information? if so, which?

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