-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Summary:
When using postHistory.js to submit dummy histories to the backend, I encountered repeated 503 Service Unavailable responses when the payload size exceeds approximately 37 KB. This appears to be a soft limit that is not explicitly documented in the API or Lambda configuration but consistently affects posting larger families.
Steps to Reproduce:
-
Find a FASTA alignment and dummy tree with many (>160 from my testing) sequences (enough to push payload size above 37 KB). PF0003 from the pfam database accomplishes this. The corresponding files are attached to this issue.
-
Run:
node aws/scripts/postHistory.js PF00003 PF00003.28_dummy.nh.txt PF00003.28.fa.txt shreyak
What I’ve Tried:
- Reduced the alignment to fewer (160 or less) sequences → POST succeeded.
- Confirmed that the timeout is set to 1 minute.
- Monitored CloudWatch logs: no signs of timeout or memory exhaustion in the Lambda logs for the failed case.
- Used identical command and tree/FASTA structure as successful runs — only the number of sequences (and resulting payload size) changed.
Hypothesis:
It may be that the evoldeeds-crud Lambda is either:
- Hitting a payload size or parsing threshold due to memory/CPU limitations (currently 128 MB).
- Failing silently before processing the full request, triggering a generic 503.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working