iomega / paired-data-form

Linking mas spectra and genomic information to discover new chemistry
https://pairedomicsdata.bioinformatics.nl
Apache License 2.0
5 stars 4 forks source link

List, stats, and review page do not load correctly after editing project (bad gateway error) #188

Closed justinjjvanderhooft closed 3 years ago

justinjjvanderhooft commented 3 years ago

Describe the bug List, stats, and review page do not load correctly after editing project and provides a bad gateway error

To Reproduce Steps to reproduce the behavior:

  1. Go to https://pairedomicsdata.bioinformatics.nl/projects and wait a bit.

Expected behavior Normally the projects are loaded in the list.

Desktop (please complete the following information):

Additional context This happened after updating one of the projects and approving the project under review.

sverhoeven commented 3 years ago

Seems the redis and api service where down. I restarted both of them and pages work again.

On further investigation, seems redis died to memory

redis_1   | PANIC: unprotected error in call to Lua API (not enough memory)

The api seems to have died when it failed to publish to zenodo

failedReason: 'Zenodo communication error determining latest version from concept: NOT FOUND',

I manually published to Zenodo with docker-compose exec api npm run publish2zenodo without problems, so probably Internet was having bad day when this error was occured.

justinjjvanderhooft commented 3 years ago

ok thanks - looks like something happened upon approving the edited project - I just re-approved the project and now it worked out fine. If this error re-occurs, let's dig into this further....