The backend logic works perfectly fine in local host, but after deploying, the following errors were seen and no response was got.
[2024-03-26 10:03:07 +0000] [42] [INFO] Handling signal: term
Mar 26 03:33:07 PM[2024-03-26 10:03:07 +0000] [45] [INFO] Worker exiting (pid: 45)
Mar 26 03:33:07 PM[2024-03-26 10:03:07 +0000] [53] [INFO] Worker exiting (pid: 53)
Mar 26 03:33:07 PM[2024-03-26 10:03:07 +0000] [61] [INFO] Worker exiting (pid: 61)
Mar 26 03:33:09 PM[2024-03-26 10:03:09 +0000] [42] [INFO] Shutting down: Master
Mar 26 03:33:10 PM[2024-03-26 10:03:10 +0000] [43] [CRITICAL] WORKER TIMEOUT (pid:52)
Mar 26 03:33:10 PM[2024-03-26 10:03:10 +0000] [52] [INFO] Worker exiting (pid: 52)
Mar 26 03:33:11 PM[2024-03-26 10:03:11 +0000] [43] [ERROR] Worker (pid:52) was sent SIGKILL! Perhaps out of memory?
Mar 26 03:33:11 PM[2024-03-26 10:03:11 +0000] [60] [INFO] Booting worker with pid: 60
What all did I try:
Changed the start command to gunicorn --worker-class=gevent --worker-connections=1000 --workers=3 core.wsgi from gunicorn core.wsgi
Looked up any cors headers errors, which was not the issue.