James Fellows Yates
10/21/2026, 10:29 AM.nf-test/plugins folder should look like?mashehu
10/21/2026, 10:31 AMtree ./.nf-test/plugins/
./.nf-test/plugins/
├── 769ef9cb3e09a5479af8ae24f9f6ea54.json
├── nft-anndata
│ └── 0.4.1
│ └── nft-anndata-0.4.1.jar
├── nft-bam
│ ├── 0.6.1
│ │ └── nft-bam-0.6.1.jar
│ └── 0.7.0
│ └── nft-bam-0.7.0.jar
├── nft-compress
│ └── 0.1.0
│ └── nft-compress-0.1.0.jar
├── nft-csv
│ └── 0.1.0
│ └── nft-csv-0.1.0.jar
├── nft-fasta
│ └── 1.0.0
│ └── nft-fasta-1.0.0.jar
├── nft-fastq
│ └── 0.1.0
│ └── nft-fastq-0.1.0.jar
├── nft-utils
│ ├── 0.0.9
│ │ └── nft-utils-0.0.9.jar
│ └── 1.2.1
│ └── nft-utils-1.2.1.jar
└── nft-vcf
└── 1.0.7
└── nft-vcf-1.0.7.jarJames Fellows Yates
10/21/2026, 10:44 AMmashehu
10/21/2026, 10:44 AMJames Fellows Yates
10/21/2026, 10:44 AMJames Fellows Yates
10/21/2026, 10:44 AMJames Fellows Yates
10/21/2026, 10:45 AMJames Fellows Yates
10/21/2026, 10:45 AMmashehu
10/21/2026, 10:46 AMJames Fellows Yates
10/21/2026, 10:46 AMJames Fellows Yates
10/21/2026, 10:46 AMoliviercoen
10/22/2026, 9:48 AMnf-test test, I get:
Error: Syntax errors in nf-test config file: java.io.IOException: Server returned HTTP response code: 406 for URL: <https://github.com/nf-core/nft-utils/releases/download/1.2.1/nft-utils-1.2.1.jar>
I first had the error with nft-utils-0.0.3 (yes I needed to upgrade ^^), but I still have the issue with ``nft-utils-1.2.1``James Fellows Yates
10/22/2026, 9:49 AMJames Fellows Yates
10/22/2026, 9:50 AMoliviercoen
10/22/2026, 9:50 AMJames Fellows Yates
10/22/2026, 9:50 AMoliviercoen
10/22/2026, 9:52 AMJames Fellows Yates
10/22/2026, 9:53 AMoliviercoen
10/22/2026, 9:55 AMJames Fellows Yates
10/22/2026, 9:57 AMoliviercoen
10/22/2026, 9:59 AMJames Fellows Yates
10/22/2026, 11:35 AMJames Fellows Yates
10/22/2026, 11:35 AMGary Burnett
10/22/2026, 5:47 PMWhat a 406 is. "Not Acceptable" means the server can't return the resource in a format the client's Accept header allows.
What's going on here.
- nf-test downloads plugin jars (here nft-utils-1.1.1.jar) using Java's built-in HttpURLConnection. If the caller doesn't set Accept, Java sends its default: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2.
- GitHub redirects release downloads to <http://release-assets.githubusercontent.com|release-assets.githubusercontent.com>. That host now answers 406 to that Java default header, but returns the jar for */*, which is what curl sends.
- I tested both headers against the real URL. */* gave 200 and the Java default gave 406.
I haven't confirmed why GitHub's asset host now rejects that header. My best guess is a recent change on their side, since the old default presumably worked, but I haven't verified that.
The extra problem I hit. The failed download left a directory named nft-utils-1.1.1.jar in the cache. That made later runs fail with "Is a directory", so you'd need to delete it.
Workaround. Download the jar with curl into .nf-test/plugins/nft-utils/<version>/, which is what I did. A fix would belong upstream in nf-test, which would set Accept: */* on the download. I can look for an existing issue or draft one if you want.Anne Marie Noronha
10/23/2026, 3:02 PMrm -rf .nf-test/plugins/nft-anndata/0.4.1/ \
.nf-test/plugins/nft-bam/0.7.0/ \
.nf-test/plugins/nft-csv/0.1.0/ \
.nf-test/plugins/nft-compress/0.1.0/ \
.nf-test/plugins/nft-fasta/1.0.0/ \
.nf-test/plugins/nft-fastq/0.1.0/ \
.nf-test/plugins/nft-vcf/1.0.7/ \
.nf-test/plugins/nft-utils/1.2.1/
mkdir -p .nf-test/plugins/nft-anndata/0.4.1/ \
.nf-test/plugins/nft-bam/0.7.0/ \
.nf-test/plugins/nft-csv/0.1.0/ \
.nf-test/plugins/nft-compress/0.1.0/ \
.nf-test/plugins/nft-fasta/1.0.0/ \
.nf-test/plugins/nft-fastq/0.1.0/ \
.nf-test/plugins/nft-vcf/1.0.7/ \
.nf-test/plugins/nft-utils/1.2.1/
wget --header="Accept: */*" <https://github.com/nictru/nft-anndata/releases/download/v0.4.1/nft-anndata-0.4.1.jar> -P .nf-test/plugins/nft-anndata/0.4.1/
wget --header="Accept: */*" <https://github.com/nvnieuwk/nft-bam/releases/download/0.7.0/nft-bam-0.7.0.jar> -P .nf-test/plugins/nft-bam/0.7.0/
wget --header="Accept: */*" <https://github.com/lukfor/nft-csv/releases/download/0.1.0/nft-csv-0.1.0.jar> -P .nf-test/plugins/nft-csv/0.1.0/
wget --header="Accept: */*" <https://github.com/lukfor/nft-compress/releases/download/0.1.0/nft-compress-0.1.0.jar> -P .nf-test/plugins/nft-compress/0.1.0/
wget --header="Accept: */*" <https://github.com/askimed/nft-fasta/releases/download/v1.0.0/nft-fasta-1.0.0.jar> -P .nf-test/plugins/nft-fasta/1.0.0/
wget --header="Accept: */*" <https://github.com/lukfor/nft-fastq/releases/download/v0.1.0/nft-fastq-0.1.0-all.jar> -P .nf-test/plugins/nft-fastq/0.1.0/
cp .nf-test/plugins/nft-fastq/0.1.0/nft-fastq-0.1.0-all.jar .nf-test/plugins/nft-fastq/0.1.0/nft-fastq-0.1.0.jar
wget --header="Accept: */*" <https://github.com/seppinho/nft-vcf/releases/download/v1.0.7/nft-vcf-1.0.7.jar> -P .nf-test/plugins/nft-vcf/1.0.7/
wget --header="Accept: */*" <https://github.com/nf-core/nft-utils/releases/download/1.2.1/nft-utils-1.2.1.jar> -P .nf-test/plugins/nft-utils/1.2.1/