The pipeline is not getting pulled eventhough internet connection is stable
When running Nextflow pipelines on a IPv6 machine, you might encounter network errors even with a working internet connection. Below is a guide to troubleshoot and resolve these issues, particularly when using Docker and IPv6.
You might encounter the following error when running a Nextflow pipeline on a IPv6 machine:
Your machine uses IPv6, but Nextflow or Java defaults to IPv4, causing network issues. Set the Java network stack to prefer IPv6 by exporting this variable before running your pipeline or globally add it to your ~/.bashrc
:
A process crashes due to network issues within the Docker container
If a model tries to fetch information of download data by using a Docker contaner, this can also lead to network issues on a IPv6 machine, since containers are isolated and you usually don’t have network connectivity inside of them. You can configure Docker to use IPv6 for the default bridge network, not IPv4. See the official documentation here.
If this did not resolve your issue, try the --network host
flag when running the container:
Create a custom.config
file that you want to add to your nextflow run via -c
:
Then try running your pipeline again: