Skip to content

Quering variants on ranges returns 500 error on huge ranges #444

@gromdimon

Description

@gromdimon

Describe the bug
There is an endpoint for quering for variants on specific position range.
E.x.

 https://reev.cubi.bihealth.org/internal/proxy/annonars/annos/range?genome_release=<>&chromosome=<>&start=<>&stop=<>

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://reev.cubi.bihealth.org/internal/proxy/annonars/annos/range?genome_release=grch37&chromosome=16&start=688105&stop=68869440
    Or to https://reev.cubi.bihealth.org/internal/proxy/annonars/annos/range?genome_release=grch37&chromosome=10&start=89624226&stop=89725229
  2. 500 error will be returned

Expected behavior
A proper 400-series error should be returned without server crash

Screenshots
N/A

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions