ebi-ait / checklist

Template repository for checklists
Apache License 2.0
1 stars 0 forks source link

fix biovalidator input size limit #27

Closed amnonkhen closed 3 months ago

amnonkhen commented 4 months ago

Biovalidator returns for 10 out of 400 document.

{"error":"request entity too large"}
theisuru commented 4 months ago

The problem is due to size limit of json parsing module of the Express.js server default size limit = 100kb ERC000056 checklist is quite large and this exceeds the size limit

Fix: this.app.use(express.json({limit:'1mb'}));

theisuru commented 4 months ago

repo here

theisuru commented 4 months ago

I have a network problem and docker push does not complete. Can someone with quay.io access run these commands please.

git clone https://github.com/elixir-europe/biovalidator
cd biovalidator
docker build -t biovalidator .
docker login quay.io -u <USERNAME>
docker tag biovalidator quay.io/ebi-ait/biovalidator:2.2.2
docker push quay.io/ebi-ait/biovalidator:2.2.2