55,049 questions
1
vote
1
answer
41
views
Exceeded max user connections in python / flask / mysql
I am trying to run a Python / Flask / MySQL app but whenever I try to run it (using the command "python -m flask run"), it gives me this error:
mysql.connector.errors.ProgrammingError: 1226 ...
1
vote
2
answers
43
views
Flask redirect causes session details not modified
I am building a simple shopping cart using cookie sessions to keep track on the content of the shopping cart.
I just added a function that would remove single item from the list of items. But I ran ...
0
votes
0
answers
67
views
werkzeug.security log_in(user) returns error 404
When I try to log in my user and use check_password_hash() of Werkzeug security, I get 404 redirection link invalid. After adding the try and except clause it gets redirected to my except:
'tuple' ...
-4
votes
2
answers
79
views
CSS not being loaded in Flask WebFrame
I am building an banking application and I was just trying to link HTML using the Flask framework.
What I have done until now:
Clear all the cookies and Cache of the browser and run the code, Have ...
-1
votes
0
answers
29
views
Dialogflow timeout issue [closed]
I am building a chatbot for my college website using a TF-IDF–based ML model implemented in Python (Flask). The backend is deployed on Vercel, and I am integrating it with Dialogflow fulfillment.
...
Best practices
0
votes
0
replies
87
views
How to optimize real-time image restoration performance in a Flask-based Deepfake defense system?
I am developing a system that integrates "Source Verifiable" and "Content Decipherable" into a single service workflow. The system uses Robust Watermarking to ensure source ...
Advice
1
vote
2
replies
113
views
Would it be a better idea to use celery?
I need some guidance on something I’m trying to implement. I’m accessing GPT-5.2 through the API, but the responses sometimes take up to 20–25 seconds. I’m concerned this could slow down the web app ...
0
votes
1
answer
87
views
Making a 2D data table in Flask/Python/SQLAlchemy
I am fairly new to Flask in python and I am putting together a webpage-based app to support a simple optioneering tool. I am saving the data from the web forms into a SQLite database using SQLAlchemy.
...
-1
votes
1
answer
40
views
fastapi mounted on flask on Digital Ocean App Platform issues
I have a flask app that I have mounted a fastapi app on so that my flask app is at / and the api is at /api/v1. Locally I serve this up on my windows machine using waitress and it works great. I ...
0
votes
1
answer
128
views
Getting 404 not found when I make a post request to flask + nginx
I am running a flask server on AWS EC2 instance. AWS EC2 instance means a computer on AWS. I use this command to run the server gunicorn --bind 0.0.0.0:5000 app:app. I have set up nginx as a reverse ...
-5
votes
2
answers
93
views
Possible to use query parameters in POST, PUT methods in Python Flask? [closed]
I am learning Flask framework, and when I learned about query parameters topics every one is teaching it with GET methods. So I am curious can we use query parameters for other methods also?
0
votes
1
answer
59
views
totalRecords count seems incorrect
My Flask application exposes a REST API for CVE data stored in SQLite. The API supports filtering and pagination, but is my totalRecords count logic correct when filters are applied?
totalRecords ...
0
votes
0
answers
83
views
Pyinstaller *.exe doesn't work while *.py works in pycharm (.venv)
from flask import Flask, render_template
import webbrowser
import threading
import time
import sys
import os
import traceback
def resource_path(relative_path):
if hasattr(sys, "_MEIPASS"...
0
votes
1
answer
145
views
Issues with Celery + Redis in Flask: Retry limit exceeded and Kombu connection errors
I'm refactoring a Flask application that receives video data along with some parameters. I decided to add Celery for controlled background processing and Redis to pass parameters. The workflow is:
...
Advice
1
vote
6
replies
78
views
How to use API to get and post data from different programming languages?
I want to develop some projects where I need to integrate some different programming languages. But I don't know how to set communication between them? Can you advice me that how can I learn to ...