TandoorRecipes / recipes

Application for managing recipes, planning meals, building shopping lists and much much more!
https://docs.tandoor.dev
Other
5.38k stars 574 forks source link

Pinning docker container to localhost and using an nginx reverse proxy breaks import. #431

Closed meyerje closed 3 years ago

meyerje commented 3 years ago

Version

Please provide your current version (can be found on the system page since v0.8.4) Version: 0.14.2

Bug description

I've configured the compose file with the following ports section:

- 127.0.0.1:8003:80 And the following nginx config:

server {
        listen 443 ssl;
        server_name tandoor.place;
        location / {
                proxy_set_header Host $host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto $scheme;
                proxy_set_header X-Forwarded-Host $server_name;
                proxy_pass       http://127.0.0.1:8003;
        }
}

Upon trying to import a recipe url I get the following error:

An error occurred while trying to import this recipe! <!doctype html> <html lang="en"> <head> <title>Server Error (500)</title> </head> <body> <h1>Server Error (500)</h1><p></p> </body> </html>

This is the URL I am using:

Pork Prime Rib

The nginx error.log file has the following entries:

606 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.200.2, server: tandoor.place, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8003/", host: "tandoor.place"

Where 192.168.200.2 is the VPN server I'm connecting from. Any insight is appreciated.

vabene1111 commented 3 years ago

can you post the output of docker-compose logs -f or the equivalent of whatever setup you are using because thats were most of the logs are

meyerje commented 3 years ago

can you post the output of docker-compose logs -f or the equivalent of whatever setup you are using because thats were most of the logs are

Of course here they are:

Attaching to tandoor_nginx_recipes_1, tandoor_web_recipes_1, tandoor_db_recipes_1
nginx_recipes_1  | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
nginx_recipes_1  | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
nginx_recipes_1  | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
nginx_recipes_1  | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf is not a file or does not exist
nginx_recipes_1  | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
nginx_recipes_1  | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
nginx_recipes_1  | /docker-entrypoint.sh: Configuration complete; ready for start up
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:17:40 +0000] "GET / HTTP/1.0" 302 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.2"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:17:40 +0000] "GET /search/ HTTP/1.0" 200 18078 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.2"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:17:42 +0000] "GET /service-worker.js HTTP/1.0" 200 42136 "https://tandoor.place/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.2"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:24:52 +0000] "GET /data/import/url HTTP/1.0" 200 30560 "https://tandoor.place/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.2"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:24:52 +0000] "GET /jsi18n/ HTTP/1.0" 200 13850 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.2"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:24:52 +0000] "GET /dal/keyword/?q= HTTP/1.0" 200 46 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.2"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:24:52 +0000] "GET /dal/unit/?q= HTTP/1.0" 200 46 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.2"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:24:52 +0000] "GET /dal/food/?q= HTTP/1.0" 200 46 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.2"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:24:54 +0000] "GET /service-worker.js HTTP/1.0" 200 42136 "https://tandoor.place/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.2"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:25:03 +0000] "POST /api/recipe-from-url/ HTTP/1.0" 200 2232 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.2"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:25:06 +0000] "POST /data/import/url HTTP/1.0" 500 145 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.2"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:35:27 +0000] "GET /search/ HTTP/1.0" 200 18078 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.216"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:35:29 +0000] "GET /service-worker.js HTTP/1.0" 200 42136 "https://tandoor.place/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.216"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:35:30 +0000] "GET /data/statistics HTTP/1.0" 200 11443 "https://tandoor.place/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.216"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:35:32 +0000] "GET /service-worker.js HTTP/1.0" 200 42136 "https://tandoor.place/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.216"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:35:36 +0000] "GET /admin/ HTTP/1.0" 200 19317 "https://tandoor.place/data/statistics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.216"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/css/base.efb520c4bb7c.css HTTP/1.0" 200 3938 "https://tandoor.place/admin/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.216"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/css/nav_sidebar.59831780a474.css HTTP/1.0" 200 638 "https://tandoor.place/admin/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.216"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/css/dashboard.be83f13e4369.css HTTP/1.0" 200 245 "https://tandoor.place/admin/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.216"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/css/responsive.5a9bb635f4d5.css HTTP/1.0" 200 3327 "https://tandoor.place/admin/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.216"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/js/nav_sidebar.7605597ddf52.js HTTP/1.0" 200 412 "https://tandoor.place/admin/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.216"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/css/fonts.168bab448fee.css HTTP/1.0" 200 189 "https://tandoor.place/static/admin/css/base.efb520c4bb7c.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.216"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/img/icon-addlink.d519b3bab011.svg HTTP/1.0" 200 206 "https://tandoor.place/static/admin/css/base.efb520c4bb7c.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.216"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/img/icon-changelink.18d2fd706348.svg HTTP/1.0" 200 269 "https://tandoor.place/static/admin/css/base.efb520c4bb7c.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.216"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/fonts/Roboto-Light-webfont.c73eb1ceba33.woff HTTP/1.0" 200 85692 "https://tandoor.place/static/admin/css/fonts.168bab448fee.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.216"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/fonts/Roboto-Regular-webfont.35b07eb2f871.woff HTTP/1.0" 200 85876 "https://tandoor.place/static/admin/css/fonts.168bab448fee.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.216"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/fonts/Roboto-Bold-webfont.50d75e48e0a3.woff HTTP/1.0" 200 86184 "https://tandoor.place/static/admin/css/fonts.168bab448fee.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.216"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:35:38 +0000] "GET /service-worker.js HTTP/1.0" 200 42136 "https://tandoor.place/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.216"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:35:51 +0000] "GET /service-worker.js HTTP/1.0" 200 42136 "https://tandoor.place/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.216"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:35:52 +0000] "GET /system/ HTTP/1.0" 200 11727 "https://tandoor.place/data/statistics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.216"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:02:35:54 +0000] "GET /service-worker.js HTTP/1.0" 200 42136 "https://tandoor.place/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.216"
db_recipes_1     |
db_recipes_1     | PostgreSQL Database directory appears to contain a database; Skipping initialization
db_recipes_1     |
db_recipes_1     | 2021-02-20 02:16:55.440 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
db_recipes_1     | 2021-02-20 02:16:55.440 UTC [1] LOG:  listening on IPv6 address "::", port 5432
db_recipes_1     | 2021-02-20 02:16:55.449 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db_recipes_1     | 2021-02-20 02:16:55.484 UTC [21] LOG:  database system was shut down at 2021-02-20 01:46:01 UTC
db_recipes_1     | 2021-02-20 02:16:55.490 UTC [1] LOG:  database system is ready to accept connections
web_recipes_1    | Updating database
web_recipes_1    | Operations to perform:
web_recipes_1    |   Apply all migrations: account, admin, auth, authtoken, contenttypes, cookbook, sessions, sites, socialaccount
web_recipes_1    | Running migrations:
web_recipes_1    |   No migrations to apply.
web_recipes_1    |   Your models have changes that are not yet reflected in a migration, and so won't be applied.
web_recipes_1    |   Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.
web_recipes_1    | js-reverse file written to /opt/recipes/cookbook/static/django_js_reverse
web_recipes_1    |
web_recipes_1    | 1 static file copied to '/opt/recipes/staticfiles', 516 unmodified, 932 post-processed.
web_recipes_1    | Done
web_recipes_1    | [2021-02-20 02:17:04 +0000] [1] [INFO] Starting gunicorn 20.0.4
web_recipes_1    | [2021-02-20 02:17:04 +0000] [1] [INFO] Listening at: http://0.0.0.0:8080 (1)
web_recipes_1    | [2021-02-20 02:17:04 +0000] [1] [INFO] Using worker: sync
web_recipes_1    | [2021-02-20 02:17:04 +0000] [15] [INFO] Booting worker with pid: 15
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:17:40 +0000] "GET / HTTP/1.0" 302 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:17:40 +0000] "GET /search/ HTTP/1.0" 200 18078 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:17:42 +0000] "GET /service-worker.js HTTP/1.0" 200 42136 "https://tandoor.place/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:24:52 +0000] "GET /data/import/url HTTP/1.0" 200 30560 "https://tandoor.place/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:24:52 +0000] "GET /jsi18n/ HTTP/1.0" 200 13850 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | /opt/recipes/venv/lib/python3.8/site-packages/django/views/generic/list.py:86: UnorderedObjectListWarning: Pagination may yield inconsistent results with an unordered object_list: <class 'cookbook.models.Keyword'> QuerySet.
web_recipes_1    |   return self.paginator_class(
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:24:52 +0000] "GET /dal/keyword/?q= HTTP/1.0" 200 46 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | /opt/recipes/venv/lib/python3.8/site-packages/django/views/generic/list.py:86: UnorderedObjectListWarning: Pagination may yield inconsistent results with an unordered object_list: <class 'cookbook.models.Unit'> QuerySet.
web_recipes_1    |   return self.paginator_class(
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:24:52 +0000] "GET /dal/unit/?q= HTTP/1.0" 200 46 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | /opt/recipes/venv/lib/python3.8/site-packages/django/views/generic/list.py:86: UnorderedObjectListWarning: Pagination may yield inconsistent results with an unordered object_list: <class 'cookbook.models.Food'> QuerySet.
web_recipes_1    |   return self.paginator_class(
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:24:52 +0000] "GET /dal/food/?q= HTTP/1.0" 200 46 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:24:54 +0000] "GET /service-worker.js HTTP/1.0" 200 42136 "https://tandoor.place/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:25:03 +0000] "POST /api/recipe-from-url/ HTTP/1.0" 200 2232 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:25:06 +0000] "POST /data/import/url HTTP/1.0" 500 145 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:35:27 +0000] "GET /search/ HTTP/1.0" 200 18078 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:35:29 +0000] "GET /service-worker.js HTTP/1.0" 200 42136 "https://tandoor.place/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:35:30 +0000] "GET /data/statistics HTTP/1.0" 200 11443 "https://tandoor.place/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:35:32 +0000] "GET /service-worker.js HTTP/1.0" 200 42136 "https://tandoor.place/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:35:36 +0000] "GET /admin/ HTTP/1.0" 200 19317 "https://tandoor.place/data/statistics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/css/base.efb520c4bb7c.css HTTP/1.0" 200 0 "https://tandoor.place/admin/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/css/nav_sidebar.59831780a474.css HTTP/1.0" 200 0 "https://tandoor.place/admin/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/css/dashboard.be83f13e4369.css HTTP/1.0" 200 0 "https://tandoor.place/admin/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/css/responsive.5a9bb635f4d5.css HTTP/1.0" 200 0 "https://tandoor.place/admin/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/js/nav_sidebar.7605597ddf52.js HTTP/1.0" 200 0 "https://tandoor.place/admin/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/css/fonts.168bab448fee.css HTTP/1.0" 200 0 "https://tandoor.place/static/admin/css/base.efb520c4bb7c.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/img/icon-addlink.d519b3bab011.svg HTTP/1.0" 200 0 "https://tandoor.place/static/admin/css/base.efb520c4bb7c.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/img/icon-changelink.18d2fd706348.svg HTTP/1.0" 200 0 "https://tandoor.place/static/admin/css/base.efb520c4bb7c.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/fonts/Roboto-Light-webfont.c73eb1ceba33.woff HTTP/1.0" 200 0 "https://tandoor.place/static/admin/css/fonts.168bab448fee.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/fonts/Roboto-Regular-webfont.35b07eb2f871.woff HTTP/1.0" 200 0 "https://tandoor.place/static/admin/css/fonts.168bab448fee.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:35:36 +0000] "GET /static/admin/fonts/Roboto-Bold-webfont.50d75e48e0a3.woff HTTP/1.0" 200 0 "https://tandoor.place/static/admin/css/fonts.168bab448fee.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:35:38 +0000] "GET /service-worker.js HTTP/1.0" 200 42136 "https://tandoor.place/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:35:51 +0000] "GET /service-worker.js HTTP/1.0" 200 42136 "https://tandoor.place/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:35:52 +0000] "GET /system/ HTTP/1.0" 200 11727 "https://tandoor.place/data/statistics" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:02:35:54 +0000] "GET /service-worker.js HTTP/1.0" 200 42136 "https://tandoor.place/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:23 +0000] "GET / HTTP/1.0" 302 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:23 +0000] "GET / HTTP/1.0" 302 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:23 +0000] "GET /search/ HTTP/1.0" 302 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:23 +0000] "GET /search/ HTTP/1.0" 302 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:23 +0000] "GET /no-group?next=/search/ HTTP/1.0" 302 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:23 +0000] "GET /no-group?next=/search/ HTTP/1.0" 302 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:23 +0000] "GET /accounts/login/?next=/search/ HTTP/1.0" 200 9096 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:23 +0000] "GET /accounts/login/?next=/search/ HTTP/1.0" 200 9096 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:24 +0000] "GET /static/js/jquery-3.5.1.min.dc5e7f18c8d3.js HTTP/1.0" 200 30879 "https://tandoor.place/accounts/login/?next=/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:24 +0000] "GET /static/js/jquery-3.5.1.min.dc5e7f18c8d3.js HTTP/1.0" 200 0 "https://tandoor.place/accounts/login/?next=/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:24 +0000] "GET /static/js/popper.min.84415b7368fd.js HTTP/1.0" 200 0 "https://tandoor.place/accounts/login/?next=/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:24 +0000] "GET /static/js/popper.min.84415b7368fd.js HTTP/1.0" 200 7503 "https://tandoor.place/accounts/login/?next=/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:24 +0000] "GET /static/js/bootstrap.min.61f338f870fc.js HTTP/1.0" 200 15853 "https://tandoor.place/accounts/login/?next=/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:24 +0000] "GET /static/js/bootstrap.min.61f338f870fc.js HTTP/1.0" 200 0 "https://tandoor.place/accounts/login/?next=/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:24 +0000] "GET /static/js/select2.min.0f64f3a3a0c6.js HTTP/1.0" 200 19867 "https://tandoor.place/accounts/login/?next=/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:24 +0000] "GET /static/js/select2.min.0f64f3a3a0c6.js HTTP/1.0" 200 0 "https://tandoor.place/accounts/login/?next=/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:24 +0000] "GET /static/webfonts/fa-solid-900.44d537ab79f9.woff2 HTTP/1.0" 200 0 "https://tandoor.place/static/fontawesome/fontawesome_all.min.2acd020d0b21.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:24 +0000] "GET /static/webfonts/fa-solid-900.44d537ab79f9.woff2 HTTP/1.0" 200 75728 "https://tandoor.place/static/fontawesome/fontawesome_all.min.2acd020d0b21.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:25 +0000] "GET /manifest.json HTTP/1.0" 200 1117 "https://tandoor.place/accounts/login/?next=/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:25 +0000] "GET /manifest.json HTTP/1.0" 200 1117 "https://tandoor.place/accounts/login/?next=/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:25 +0000] "GET /service-worker.js HTTP/1.0" 200 42136 "https://tandoor.place/accounts/login/?next=/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:25 +0000] "GET /service-worker.js HTTP/1.0" 200 42136 "https://tandoor.place/accounts/login/?next=/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:25 +0000] "GET /static/assets/favicon.d7c2e31a63b7.svg HTTP/1.0" 200 2336 "https://tandoor.place/accounts/login/?next=/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:25 +0000] "GET /static/assets/favicon.d7c2e31a63b7.svg HTTP/1.0" 200 0 "https://tandoor.place/accounts/login/?next=/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:25 +0000] "GET /static/assets/logo_color144.png HTTP/1.0" 200 0 "https://tandoor.place/accounts/login/?next=/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:25 +0000] "GET /static/assets/logo_color144.png HTTP/1.0" 200 10055 "https://tandoor.place/accounts/login/?next=/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:25 +0000] "GET /offline/ HTTP/1.0" 200 18346 "https://tandoor.place/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:25 +0000] "GET /offline/ HTTP/1.0" 200 18346 "https://tandoor.place/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:36 +0000] "POST /accounts/login/ HTTP/1.0" 302 0 "https://tandoor.place/accounts/login/?next=/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:36 +0000] "POST /accounts/login/ HTTP/1.0" 302 0 "https://tandoor.place/accounts/login/?next=/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:36 +0000] "GET /search/ HTTP/1.0" 200 18629 "https://tandoor.place/accounts/login/?next=/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:36 +0000] "GET /search/ HTTP/1.0" 200 18629 "https://tandoor.place/accounts/login/?next=/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:36 +0000] "GET /static/custom/js/form_multiselect.8dc17c88ebd1.js HTTP/1.0" 200 74 "https://tandoor.place/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:36 +0000] "GET /static/custom/js/form_multiselect.8dc17c88ebd1.js HTTP/1.0" 200 0 "https://tandoor.place/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:37 +0000] "GET /manifest.json HTTP/1.0" 200 1117 "https://tandoor.place/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:37 +0000] "GET /manifest.json HTTP/1.0" 200 1117 "https://tandoor.place/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:39 +0000] "GET /service-worker.js HTTP/1.0" 200 42136 "https://tandoor.place/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:39 +0000] "GET /service-worker.js HTTP/1.0" 200 42136 "https://tandoor.place/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:41 +0000] "GET /data/import/url HTTP/1.0" 200 30560 "https://tandoor.place/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:41 +0000] "GET /static/js/vue.min.fb192338844e.js HTTP/1.0" 200 0 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:41 +0000] "GET /static/js/vue-resource.f35ad4319486.js HTTP/1.0" 200 0 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:41 +0000] "GET /static/js/vue.min.fb192338844e.js HTTP/1.0" 200 34038 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:41 +0000] "GET /static/js/vue-resource.f35ad4319486.js HTTP/1.0" 200 5476 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:41 +0000] "GET /static/js/js.cookie.min.92cac509bce9.js HTTP/1.0" 200 0 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:41 +0000] "GET /static/js/js.cookie.min.92cac509bce9.js HTTP/1.0" 200 822 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:41 +0000] "GET /static/css/bootstrap-vue.min.bfd5de8a9c75.css HTTP/1.0" 200 0 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:41 +0000] "GET /static/css/bootstrap-vue.min.bfd5de8a9c75.css HTTP/1.0" 200 9649 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:41 +0000] "GET /static/js/bootstrap-vue.min.484d959dc285.js HTTP/1.0" 200 0 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:41 +0000] "GET /static/js/vue-multiselect.min.4454b471434f.js HTTP/1.0" 200 0 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:41 +0000] "GET /static/js/bootstrap-vue.min.484d959dc285.js HTTP/1.0" 200 101769 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:41 +0000] "GET /static/js/vue-multiselect.min.4454b471434f.js HTTP/1.0" 200 12339 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:41 +0000] "GET /static/css/vue-multiselect.min.7e898f8cb587.css HTTP/1.0" 200 0 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:41 +0000] "GET /static/css/vue-multiselect.min.7e898f8cb587.css HTTP/1.0" 200 1722 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:41 +0000] "GET /jsi18n/ HTTP/1.0" 200 13850 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:41 +0000] "GET /jsi18n/ HTTP/1.0" 200 13850 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:42 +0000] "GET /dal/keyword/?q= HTTP/1.0" 200 46 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:42 +0000] "GET /dal/keyword/?q= HTTP/1.0" 200 46 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:42 +0000] "GET /dal/unit/?q= HTTP/1.0" 200 46 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:42 +0000] "GET /dal/unit/?q= HTTP/1.0" 200 46 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:42 +0000] "GET /dal/food/?q= HTTP/1.0" 200 46 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:42 +0000] "GET /dal/food/?q= HTTP/1.0" 200 46 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:42 +0000] "GET /manifest.json HTTP/1.0" 200 1117 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:42 +0000] "GET /manifest.json HTTP/1.0" 200 1117 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:43 +0000] "GET /service-worker.js HTTP/1.0" 200 42136 "https://tandoor.place/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:43 +0000] "GET /service-worker.js HTTP/1.0" 200 42136 "https://tandoor.place/service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:44 +0000] "POST /api/recipe-from-url/ HTTP/1.0" 200 2232 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:44 +0000] "POST /api/recipe-from-url/ HTTP/1.0" 200 2232 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
nginx_recipes_1  | 172.28.0.1 - - [20/Feb/2021:14:40:46 +0000] "POST /data/import/url HTTP/1.0" 500 145 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36" "192.168.200.124"
web_recipes_1    | 172.28.0.4 - - [20/Feb/2021:14:40:46 +0000] "POST /data/import/url HTTP/1.0" 500 145 "https://tandoor.place/data/import/url" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
vabene1111 commented 3 years ago

hmm this is interesting, there is nothing in the log that would indicate why you receive the 500 error.

I have also tested it and i do not get any errors when trying to import the url you posted. Do you have something special in your network that could prevent your server from making requests to the recipe source ?

meyerje commented 3 years ago

No, I have 11 other docker containers that are all functional on the same host with the nginx reverse proxy. Here is the full nginx config for Tandoor. I am using LE SSL certs to secure the reverse proxy.

server {
        listen 80 default_server;
        listen [::]:80 default_server;
        server_name _;
        return 301 https://$host$request_uri;
}

server {
        listen 443 ssl default_server;
        listen [::]:443 ssl default_server;
        server_name _;
        ssl_certificate /etc/letsencrypt/live/tandoor.place/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/tandoor.place/privkey.pem;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        ssl_prefer_server_ciphers on;
        ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
        ssl_ecdh_curve secp384r1;
        ssl_session_cache shared:SSL:10m;
        ssl_session_tickets off;
}

server {
        listen 443 ssl;
        server_name tandoor.place;
        location / {
                proxy_set_header Host $host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto $scheme;
                proxy_set_header X-Forwarded-Host $server_name;
                proxy_pass       http://127.0.0.1:8003;
        }
}

And here is the compose file:

version: "3"
services:
  db_recipes:
    restart: always
    image: postgres:11-alpine
    volumes:
      - ./postgresql:/var/lib/postgresql/data
    env_file:
      - ./.env

  web_recipes:
    image: vabene1111/recipes
    restart: always
    env_file:
      - ./.env
    volumes:
      - staticfiles:/opt/recipes/staticfiles
      - nginx_config:/opt/recipes/nginx/conf.d
      - ./mediafiles:/opt/recipes/mediafiles
    depends_on:
      - db_recipes

  nginx_recipes:
    image: nginx:mainline-alpine
    restart: always
    ports:
      - 127.0.0.1:8003:80
    env_file:
      - ./.env
    depends_on:
      - web_recipes
    volumes:
      - nginx_config:/etc/nginx/conf.d:ro
      - staticfiles:/static
      - ./mediafiles:/media

volumes:
  nginx_config:
  staticfiles:

And the .env file:

# only set this to true when testing/debugging
# when unset: 1 (true) - dont unset this, just for development
DEBUG=0

# hosts the application can run under e.g. recipes.mydomain.com,cooking.mydomain.com,...
ALLOWED_HOSTS=*

# random secret key, use for example `base64 /dev/urandom | head -c50` to generate one
SECRET_KEY=<secret>

# your default timezone See https://timezonedb.com/time-zones for a list of timezones
TIMEZONE=America/Chicago

# add only a database password if you want to run with the default postgres, otherwise change settings accordingly
DB_ENGINE=django.db.backends.postgresql
POSTGRES_HOST=db_recipes
POSTGRES_PORT=5432
POSTGRES_USER=djangouser
POSTGRES_PASSWORD=<secret>
POSTGRES_DB=djangodb

# the default value for the user preference 'fractions' (enable/disable fraction support)
# default: disabled=0
FRACTION_PREF_DEFAULT=1

# the default value for the user preference 'comments' (enable/disable commenting system)
# default comments enabled=1
COMMENT_PREF_DEFAULT=1

# Users can set a amount of time after which the shopping list is refreshed when they are in viewing mode
# This is the minimum interval users can set. Setting this to low will allow users to refresh very frequently which
# might cause high load on the server. (Technically they can obviously refresh as often as they want with their own scripts)
SHOPPING_MIN_AUTOSYNC_INTERVAL=5

# Default for user setting sticky navbar
#STICKY_NAV_PREF_DEFAULT=1

# If staticfiles are stored at a different location uncomment and change accordingly
# STATIC_URL=/static/

# If mediafiles are stored at a different location uncomment and change accordingly
# MEDIA_URL=/media/

# Serve mediafiles directly using gunicorn. Basically everyone recommends not doing this. Please use any of the examples
# provided that include an additional nxginx container to handle media file serving.
# If you know what you are doing turn this back on (1) to serve media files using djangos serve() method.
# when unset: 1 (true) - this is temporary until an appropriate amount of time has passed for everyone to migrate
GUNICORN_MEDIA=0

# allow authentication via reverse proxy (e.g. authelia), leave off if you dont know what you are doing
# see docs for more information https://vabene1111.github.io/recipes/features/authentication/
# when unset: 0 (false)
REVERSE_PROXY_AUTH=0

# allows you to setup OAuth providers
# see docs for more information https://vabene1111.github.io/recipes/features/authentication/
# SOCIAL_PROVIDERS = allauth.socialaccount.providers.github, allauth.socialaccount.providers.nextcloud,
meyerje commented 3 years ago

I figured out the issue on that link. The servings, prep time, and wait time were prepopulating with 0/blank. Once I changed 0/blank to a positive value it imported fine.

meyerje commented 3 years ago

I'm closing this issue. You may want to add a check/pass option for the servings, wait, and prep time fields on import. Otherwise this looks to be a wonderful application and I thank you for sharing it!

vabene1111 commented 3 years ago

I think the import should only be broken when servings is empty. everything else should have 0 as a default and work. This issue is actually known and needs to be fixt, for some reason i just did not notice that it might be related to your issue ...

meyerje commented 3 years ago

You are right, it is related to the servings field only. The other two are prepopulating with 0. Simple enough to work around.

vabene1111 commented 3 years ago

ok i have fixed that with version 0.14.3, it would be great if you could verify that it is working with that update

meyerje commented 3 years ago

I can confirm 0.14.3 has resolved this issue. Thanks for the super quick update!

vabene1111 commented 3 years ago

perfect, thanks for getting back to me