Skip to content

Fails with internal error Error: Could not load HED schema version "Latest" from remote repository #1205

@Shotgunosine

Description

@Shotgunosine

I'm trying to run the BIDS validator from a singularity container on a HPC system. I built a container from the latest version on DockerHub (1.6.20) with the following command:

 $PWD/bids_validator.simg docker://bids/validator

I've tried running it on a compute node on the HPC and I get the following error:

(/vf/users/ABCD_MBDU/dcan_abcd_dcm_bids_env) [nielsond@cn2878 notebooks]$ singularity run --cleanenv --no-home -B /data/AB
CD_MBDU/abcd_bids/test_download:/data /data/ABCD_MBDU/singularity_images/bids_validator.simg /data                        
bids-validator@1.6.2                                                                                                      
                                                                                                                          
        1: [ERR] Internal error. SOME VALIDATION STEPS MAY NOT HAVE OCCURRED (code: 0 - INTERNAL ERROR)                   
                .undefined                                                                                                
                        Evidence: Error: Could not load HED schema version "Latest" from remote repository - "Error: getad
drinfo EAI_AGAIN raw.githubusercontent.com".                                                                              
    at /src/node_modules/hed-validator/utils/schema.js:40:13                                                              
    at tryCallOne (/src/node_modules/promise/lib/core.js:37:12)                                                           
    at /src/node_modules/promise/lib/core.js:123:15                                                                       
    at flush (/src/node_modules/asap/raw.js:50:29)                                                                        
    at processTicksAndRejections (internal/process/task_queues.js:76:11)                                                  
                                                                                                                          
        Please visit https://neurostars.org/search?q=INTERNAL ERROR for existing conversations about this issue.          
                                                                                                                          
                                                                                                                          
        Summary:                 Available Tasks:                 Available Modalities:                                   
        13 Files, 13.49MB        Stop-Signal Task                 T1w                                                     
        1 - Subject              Monetary Incentive Delay         epi                                                     
        1 - Session              n-back                                                                                   
                                 Resting State (eyes open)                                                                
                                                                                                                          
                                                                                                                          
        If you have any questions, please post on https://neurostars.org/tags/bids.                                       
                                                                                              

Working backwards, I found that if I build an image from version 1.5.7 it runs successfully without this error, but fails with version 1.5.8 with the same error. My guess is that the validator is trying to request some resource from raw.githubusercontent.com and getting stymied by the proxy rules the HPC has in place on the compute nodes. Can anyone tell me what the request it's trying to make is? Does anyone have any advice on the needed proxy settings?

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