All Questions
58
questions
0
votes
0
answers
22
views
Python Serverless Function exceeds the unzipped maximum size of 250 MB (Vercel)
I am attempting to deploy my NextJS/Flask application to Vercel, but I keep encountering an error stating "A Serverless Function has exceeded the unzipped maximum size of 250 MB."
This error ...
0
votes
0
answers
17
views
Deploying Vercel Python app, but still returning 404 error
Trying to deploy my application to Vercel, but its giving a
404: NOT_FOUND
Code: NOT_FOUND
Here is my vercel.json:
{
"version": 2,
"builds": [
{
"...
-1
votes
1
answer
37
views
Issue between Werkzeug (dependency of Flask) and Vercel when trying to build webapp
I'm trying to deploy a Flask app using Vercel and I'm getting an error during the build that reads as follows:
[Error: ENOENT: no such file or directory, lstat '/vercel/path0/werkzeug/__pycache__/...
0
votes
1
answer
37
views
Vercel Error 'FUNCTION_INVOCATION_TIMEOUT' when making POST request from Flask Application
The Problem
Whenever I try to make a POST request to send an email using SMTPlib through my Flask web application hosted in Vercel I get the following error message FUNCTION_INVOCATION_TIMEOUT. The ...
0
votes
0
answers
63
views
Flask & FastAPI in a single app on Vercel
I wanted to make a website using flask and fastapi
So here's what i ended with :
import uvicorn
from starlette.middleware.wsgi import WSGIMiddleware
from starlette.applications import Starlette
from ...
0
votes
0
answers
28
views
NextJS Vercel Application is able to call localhost python webbapplication
So I have a Vercel Deployed Application based on nextjs. I also have another python flask application that i have deployed on vercel. But it is not running on vercel as of now. Only locally...
So ...
1
vote
0
answers
37
views
How do I increase the timeout for my Vercel Flask Python app serverless function?
So, I have a serverless function that is running Python Flask, but I get hit with the FUNCTION_INVOCATION_TIMEOUT, and I don't know how to increase the timeout. My code is stored in App.py, but I am ...
0
votes
0
answers
45
views
Problem in Deploying Python (Flask app) on Vercel
from flask import Flask, render_template, Response, jsonify, request, redirect, url_for
import cv2
import cvzone
from cvzone.HandTrackingModule import HandDetector
import time
import random
It's Rock,...
0
votes
0
answers
21
views
How to fix INTERNAL_SERVER_ERROR while flask backend deploying on vercel?
everyone!
Could you help me?
I've successfully deployed the flask backend locally using vercel dev, but it still doesn't work with vercel.
Error:
This Serverless Function has crashed.
Your connection ...
0
votes
0
answers
20
views
Vercel with Python and Flask, subdomains
Sooo what I'm trying is to add subdomains to my main domain on Vercel app with Python and Flask, and I was researching info for this, so my actual server is working like this:
api.example.com with ...
1
vote
1
answer
385
views
How to deploy a PostgreSQL database for Flask App on Vercel?
I deployed my Flask App on Vercel.
But I can't find any StakOverflow answers or YouTube tutorials on how to connect my PostgreSQL database to the app on Vercel.
I am reading the documentation but it ...
0
votes
1
answer
119
views
How to deploy a Flask app in Vercel, so that I can use it as an API endpoint
Error: The provided path “~/Desktop/deploy/app.py” is a file, but expected a directory. Please choose a different one.
? In which directory is your code located? ./
🔗 Linked to my-projects/deploy (...
0
votes
2
answers
380
views
Vercel flask deployment error: Unable to find any supported Python versions
I want to deploy flask app on Vercel
but whenever I try to deploy it, I get this error:
Error: Unable to find any supported Python versions.01:53:10.844Learn More: http://vercel.link/python-version
...
0
votes
1
answer
233
views
Cookies getting disappeared when page refreshes
I have deployed my sveltekit frontend and python flask backend on vercel. On localhost, they worked just fine however when I deployed it, the cookies were not persistent.
When I login, the cookies are ...
-1
votes
2
answers
354
views
Unable to find any supported Python versions
I want to deploy my portfolio on Vercel, but I'm getting this error:
Running build in Washington, D.C., USA (East) – iad1
Skipping build cache, deployment was triggered without cache.
Cloning ...