skip to Main Content

Redis – celery-beat KeyError: 'scheduler'

I am trying to run a periodic celery task using celery beat and docker for my Flask application. However when I run the container I get the below error: Removing corrupted schedule file 'celerybeat-schedule': error(22, 'Invalid argument') Traceback (most recent…

VIEW QUESTION

Error when securing Apache server with SSL (certbot error)

I'm trying to deploy my Flask app when using this tutorial:https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-18-04. However, in Step 4 — Obtaining an SSL Certificate, I'm getting an error: sudo certbot --apache -d myapp.com -d www.myapp.com Error: Failed authorization procedure. www.myapp.space (http-01): urn:ietf:params:acme:error:unauthorized :: The…

VIEW QUESTION

Flask-Dance facebook invalid redirect_url

I am using Flask-Dance for facebook login. Here is blueprint file from flask import redirect, url_for from flask_dance.contrib.facebook import make_facebook_blueprint, facebook facebook_bp = make_facebook_blueprint( redirect_url='http://api.domain.com/auth/social/facebook/authorized' ) @facebook_bp.route('') def index(): if not facebook.authorized: return redirect(url_for("facebook.login")) resp = facebook.get("/me") return resp.text And…

VIEW QUESTION
Back To Top
Search