All Questions
823
questions
0
votes
1
answer
48
views
Pymongo, via flask-pymongo won't load some images. Flask 2.0.2, flask-pymongo 2.3.0, app engine, Werkzeug 2.2.0
I have recently been running into trouble uploading photos on my website, and I've found this error literally printed in my logs, rather than being logged as an error. It's all happening in the guts ...
0
votes
3
answers
31
views
Can't get my flask app to work with MongoDB, for authorization
I'm currently developing a flask web application in pycharm. The app itself works properly but when I tried using MongoDB to store and collect user ids for "log in and register" purpose, it ...
0
votes
0
answers
25
views
Ssl handshake connecting to mongoldb atlas occurs on my Mac, but not on another computer on the same network
{"error": "ac-ietpzrc-shard-00-01.nctb2m7.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000) (configured ...
0
votes
0
answers
14
views
Need help in react and flask mongo auth
I am trying to implement a very simple auth for my project
//React code
import React, { useState } from "react";
import axios from "axios";
import "./Signin.css";
const ...
1
vote
0
answers
62
views
Deleting records from my mongodb database using flask
I want to delete records from my MongoDB. When I click on the delete button nothing happens.
this is my html part:
<!-- Manager Delete Modal -->
{% for manager in managers %}
&...
0
votes
1
answer
55
views
Python flask function isn't being called
So I'm new to flask and am trying to make a library website with flask and mongoDB but everytime I search for the books and try to click on the result for more information about the book it doesn't ...
1
vote
1
answer
65
views
Flask App with Docker Compose Fails to Connect to MongoDB: ServerSelectionTimeoutError
I'm developing a Flask application that uses MongoDB for storage, and I'm trying to dockerize the setup using Docker Compose. However, I'm encountering a ServerSelectionTimeoutError when the Flask app ...
0
votes
0
answers
29
views
Post method in python for mongo db
Connecting Python to MongoDB. Performing crud operations, Get is working but Post is not working.
Below is the code for the form that has textfields and submit button.
@app.route('/submit-form', ...
0
votes
0
answers
31
views
not able to connect mongodb with dialogflow
Not able to connect mongodb with dialog flow using flask ngrok. I have installed flask ngrok too. The code is not giving the output URL which will be used in dialog flow.
File
"C:\Users\91871\...
0
votes
0
answers
137
views
MongoDB is blocking my project on PythonAnywhere
MongoDB is blocking my project on PythonAnywhere. This is because the IP address is different. I need a solution on how I can allow mongoDB to accept requests coming from PythonAnywhere. I have ...
0
votes
0
answers
31
views
MongoDB connection errors to flask
When trying to use Flask, pymongo to create an angular app, i am having issues, in mongosh the data is present and appears correctly in json format, mongod is also running successfully, however for ...
0
votes
0
answers
22
views
Can't change my mongodb collection streams dynamically in flask
The first html code is my front-end and I would like to make the added small DIV's clickable and when are clicked the stream of the data should be disconnected so it can be connected to the new stream,...
0
votes
0
answers
59
views
Flask_PyMongo SSL Handshake Failed with certificate file provided, deploying on gcloud App Engine
My Name is Eitan and I'm new to google cloud and Flask_PyMongo. When I try deploying to the App Engine, I get an error saying: "pymongo.errors.ServerSelectionTimeoutError: SSL handshake failed&...
0
votes
0
answers
28
views
init-db.js does not execute and the Mongo container which I run crashes on the first run but is running normally if restarted. "Connection Closed"
I am quite new to Docker so any help would be appreciated.
I am trying to make a Flask API which connects with a MongoDB Docker Container to store some data. The Flask API is also Dockerized.
Here is ...
0
votes
1
answer
337
views
Problem with Flask and login_user() mechanism of user authentication
Context: I am currently using Flask & Python for a website that I am trying to create. I am also using MongoDB for my database. So far, I have used various flask libraries, but I seem to be having ...