Развертывание приложения Django на Vercel, сбой бессерверной функции ⇐ Python
Развертывание приложения Django на Vercel, сбой бессерверной функции
Hi guys i am trying to deploy my django app to vercel, but i have a problem when i try to deploy the backend i get an error, even though when i tried it on the local server there was no error at all
can you help me to fix this ?
Here is the error
This Serverless Function has crashed. Your connection is working correctly. Vercel is working correctly. 500: INTERNAL_SERVER_ERROR Code: FUNCTION_INVOCATION_FAILED ID: fra1::8b4lf-1709362569275-006c244d7831 If you are a visitor, contact the website owner or try again later. If you are the owner, learn how to fix the error and check the logs.
the vercel.json file
{ "builds": [{ "src": "my_tennis_club_project/wsgi.py", "use": "@vercel/python", "config": { "maxLambdaSize": "15mb", "runtime": "python3.9" } }], "routes": [ { "src": "/(.*)", "dest": "my_tennis_club_project/wsgi.py" } ] } the requirments.txt file
asgiref==3.7.2 Django==4.0 sqlparse==0.4.4 typing_extensions==4.10.0 tzdata==2024.1 how to fix the issue
Источник: https://stackoverflow.com/questions/780 ... as-crashed
Hi guys i am trying to deploy my django app to vercel, but i have a problem when i try to deploy the backend i get an error, even though when i tried it on the local server there was no error at all
can you help me to fix this ?
Here is the error
This Serverless Function has crashed. Your connection is working correctly. Vercel is working correctly. 500: INTERNAL_SERVER_ERROR Code: FUNCTION_INVOCATION_FAILED ID: fra1::8b4lf-1709362569275-006c244d7831 If you are a visitor, contact the website owner or try again later. If you are the owner, learn how to fix the error and check the logs.
the vercel.json file
{ "builds": [{ "src": "my_tennis_club_project/wsgi.py", "use": "@vercel/python", "config": { "maxLambdaSize": "15mb", "runtime": "python3.9" } }], "routes": [ { "src": "/(.*)", "dest": "my_tennis_club_project/wsgi.py" } ] } the requirments.txt file
asgiref==3.7.2 Django==4.0 sqlparse==0.4.4 typing_extensions==4.10.0 tzdata==2024.1 how to fix the issue
Источник: https://stackoverflow.com/questions/780 ... as-crashed
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Ошибка Python в описании бессерверной среды - Ошибка Serverless: создать докер ENOENT
Anonymous » » в форуме Python - 0 Ответы
- 16 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Невозможно импортировать app.app с помощью бессерверной работы и фляги.
Anonymous » » в форуме Python - 0 Ответы
- 21 Просмотры
-
Последнее сообщение Anonymous
-