Skip to content

SDL API v2 returned a file without indicating what region it's in #167

@cloudbroken

Description

@cloudbroken

Hi, getting this error with fusera 2.0 on AWS. In examining the verbose log files, the API is returning a location in the format "https://trace.ncbi.nlm.nih.gov/Traces/sdlr/sdlr.cgi?jwt=$LONGKEY". The json response is printed below.

    "version": "2",
    "result": [
        {
            "bundle": "ERR2208887",
            "status": 200,
            "msg": "ok",
            "files": [
                {
                    "object": "srapub_files|ERR2208887",
                    "type": "gzip",
                    "name": "ipiPD1_1_EDT_R1.fastq.gz",
                    "size": 12903872683,
                    "md5": "8f8aa66e71196d6f67229e21e12a8f57",
                    "modificationDate": "2019-09-06T19:48:44Z",
                    "locations": [
                        {

link": "http://ftp.sra.ebi.ac.uk/vol1/run/ERR220/ERR2208887/ipiPD1_1_EDT_R1.fastq.gz",
                            "service": "ncbi"
                        }
                    ]
                },
                {
                    "object": "srapub_files|ERR2208887",
                    "type": "gzip",
                    "name": "ipiPD1_1_EDT_R2.fastq.gz",
                    "size": 12906634692,
                    "md5": "f761f5537d1baaa7dcb8c135d89bf8dc",
                    "modificationDate": "2019-09-06T19:48:44Z",
                    "locations": [
                        {
                            "link": "http://ftp.sra.ebi.ac.uk/vol1/run/ERR220/ERR2208887/ipiPD1_1_EDT_R2.fastq.gz",
                            "service": "ncbi"
                        }
                    ]
                },
                {
                    "object": "srapub|ERR2208887",
"type": "sra",
                    "name": "ERR2208887",
                    "size": 17344898460,
                    "md5": "b00341d9a59366a57ce48ee66d196f26",
                    "modificationDate": "2019-03-02T21:35:09Z",
                    "locations": [
                        {
                            "link": "https://trace.ncbi.nlm.nih.gov/Traces/sdlr/sdlr.cgi?jwt=$LONGKEY",
                            "service": "s3",
                            "region": "us-east-1",
                            "expirationDate": "2020-03-16T17:14:03Z",
                            "ceRequired": true
                        }
                    ]
                }
            ]
        }
    ]
}

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