nextflow-io / nextflow-io/nextflow

Improve error message when failures happen due to proxy settings

Open
#2,233 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

error-improvements help wanted
Dominant language
Groovy
Stars
3.5k
Forks
811
Avg merge
2d 11h
Merged PRs (30d)
61

Description

We should have a useful message on the console when the failures happen due to proxy settings.

At the moment, these are only available in the .nextflow.log files

Jul-21 11:01:18.239 [main] ERROR o.p.update.DefaultUpdateRepository - Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"
java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the proxy failure details currently available in .nextflow.log with what reaches the console. Reproduce the HTTP 407 proxy-authentication failure and trace the existing update or proxy error path. Done means a useful proxy-related message, including the failure reason, is shown on the console.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
cli, networking
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.