-
-
Notifications
You must be signed in to change notification settings - Fork 598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors when trying to create new recipe #1043
Comments
Hi, |
I don not recommend removing the nginx and can only offer limited support if you do so. Other than that the logs look like the recipe gets created just fine but no API request is made afterwards which is weird. Could you please post the output of the browser console log after creating a recipe ? |
The recipe is created, in the space settings i can see that there are already reciepes. I've created a screenshot of the console after creating a recipe and it says that some of the ressources are blocked because they are delivered via HTTP instead of HTTPS. In my nginx settings I've configured SSL with a Let's Encrypt Certificate for that subdomain. |
Ok so the issue is one that has started appearing since the last update. It happens if django thinks that its running under http but is actually running securely. This is likely because a header is missing. Can you go to the system page and copy the value of the debug textarea below and post it here ? also this is the post were this issue is detailed #959 |
of course :-) (just changed the ip and servername :-)) Gunicoren Media: False SERVER_PROTOCOL:HTTP/1.0 HTTP_HOST:rezepte.mydomain.de wsgi.errors:<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7efefee46850> |
Thanks for your help, with a little bit into #959 i've found a working solution. I've changed my nginx-config to $http_host like mentioned there and added
After adding the protocol and restarting the nginx i can now see my recipes and got rid of the mixed content errors. this is my nginx config:
|
awesome, glad it works now :) |
Issue
Installed TandoorRecipes via docker-compose. When I try to create a new recipe I can enter a name for it but then it says about 6 "There was an error fetching a resource!" Errors and stays loading the "Edit Recipe"-Page.
Setup Info
Version: 1.0.0
OS: Ubuntu
First I had the "normal" docker-compose setup with the nginx and nginx outside docker for serving different subdomains. I've now disabled the nginx and published a port for the tandoor-container itself but it stays the same behavior. As told by @vabene1111 on discord I open this Issue.
.env
docker-compose.yml
Logs
the log-file is attached, but I can't see anything strange there, hopefully someone else can maybe see something
log_web_recipe_container.txt
d
The text was updated successfully, but these errors were encountered: