Skip to content
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

Blocked hosts: recipes.example.com | Appears to be RubyOnRails related #3492

Open
alternativesurfer opened this issue Jan 15, 2025 · 4 comments
Labels
setup issue possibly or definitely an issue with the user setup

Comments

@alternativesurfer
Copy link

Issue

Error when loading at FQDN
image

For more details view: the Host Authorization guide

.env is populated with the correct domain

Tandoor Version

1.5.27

OS Version

Ubuntu 24.04

Setup

Docker / Docker-Compose

Reverse Proxy

Others (please state below)

Other

haproxy

Environment file

# ---------------------------------------------------------------------------
# This template contains only required options.
# Visit the docs to find more https://docs.tandoor.dev/system/configuration/
# ---------------------------------------------------------------------------
#DEBUG=1
# random secret key, use for example `base64 /dev/urandom | head -c50` to generate one
SECRET_KEY=THISISASECRET

# allowed hosts (see documentation), should be set to your hostname(s) but might be * (default) for some proxies/providers
ALLOWED_HOSTS=recipes.example.com  (have also tested ALLOWED_HOSTS=*)

# 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_DB=djangodb
POSTGRES_PORT=5432
POSTGRES_USER=djangouser
POSTGRES_PASSWORD=THISISAPASSWORD

Docker-Compose file

services:
  db_recipes:
    restart: always
    image: postgres:16-alpine
    volumes:
      - ./postgresql:/var/lib/postgresql/data
    env_file:
      - ./.env

  web_recipes:
    restart: always
    image: vabene1111/recipes
    env_file:
      - ./.env
    volumes:
      - staticfiles:/opt/recipes/staticfiles
      # Do not make this a bind mount, see https://docs.tandoor.dev/install/docker/#volumes-vs-bind-mounts
      - nginx_config:/opt/recipes/nginx/conf.d
      - ./mediafiles:/opt/recipes/mediafiles
    depends_on:
      - db_recipes

  nginx_recipes:
    image: nginx:mainline-alpine
    restart: always
    ports:
      - 80:80
    env_file:
      - ./.env
    depends_on:
      - web_recipes
    volumes:
      # Do not make this a bind mount, see https://docs.tandoor.dev/install/docker/#volumes-vs-bind-mounts
      - nginx_config:/etc/nginx/conf.d:ro
      - staticfiles:/static:ro
      - ./mediafiles:/media:ro

volumes:
  nginx_config:
  staticfiles:

Relevant logs

no logs appear when error occurs....startup completes:
web_recipes-1    | Done
web_recipes-1    | [2025-01-15 19:22:45 +0000] [1] [INFO] Starting gunicorn 22.0.0
web_recipes-1    | [2025-01-15 19:22:45 +0000] [1] [INFO] Listening at: http://[::]:8080 (1)
web_recipes-1    | [2025-01-15 19:22:45 +0000] [1] [INFO] Using worker: gthread
web_recipes-1    | [2025-01-15 19:22:45 +0000] [16] [INFO] Booting worker with pid: 16
web_recipes-1    | [2025-01-15 19:22:45 +0000] [17] [INFO] Booting worker with pid: 17
web_recipes-1    | [2025-01-15 19:22:45 +0000] [18] [INFO] Booting worker with pid: 18

If I do a page load on recipes.example.com nothing else appears.



If I do a page load on the local IP, tons of results:

nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:37 +0000] "GET / HTTP/1.1" 302 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:37 +0100] "GET / HTTP/1.0" 302 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:38 +0000] "GET /search/ HTTP/1.1" 200 22318 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:38 +0100] "GET /search/ HTTP/1.0" 200 22318 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:38 +0000] "GET /static/themes/tandoor.min.css HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:38 +0100] "GET /static/themes/tandoor.min.css HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:38 +0000] "GET /static/css/app.min.css HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:38 +0100] "GET /static/css/app.min.css HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:38 +0000] "GET /static/js/jquery-3.5.1.min.js HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:38 +0100] "GET /static/js/jquery-3.5.1.min.js HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:38 +0000] "GET /static/css/select2.min.css HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:38 +0100] "GET /static/css/select2.min.css HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:38 +0000] "GET /static/themes/select2-bootstrap-theme.css HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:38 +0000] "GET /static/css/select2-bootstrap.css HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:38 +0100] "GET /static/themes/select2-bootstrap-theme.css HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:38 +0100] "GET /static/css/select2-bootstrap.css HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:38 +0000] "GET /static/fontawesome/fontawesome_all.min.css HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:38 +0100] "GET /static/fontawesome/fontawesome_all.min.css HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:38 +0000] "GET /static/js/popper.min.js HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:38 +0100] "GET /static/js/popper.min.js HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:38 +0000] "GET /static/js/select2.min.js HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:38 +0100] "GET /static/js/select2.min.js HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:38 +0100] "GET /static/js/bootstrap.min.js HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:38 +0100] "GET /static/assets/brand_logo.png HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:38 +0000] "GET /static/js/bootstrap.min.js HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:38 +0000] "GET /static/assets/brand_logo.png HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:38 +0000] "GET /static/django_js_reverse/reverse.js HTTP/1.1" 200 41706 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:38 +0000] "GET /static/vue/js/api-chunk.js HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:38 +0100] "GET /static/django_js_reverse/reverse.js HTTP/1.0" 200 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:38 +0100] "GET /static/vue/js/api-chunk.js HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:38 +0000] "GET /static/vue/js/locales-chunk.js HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:38 +0100] "GET /static/vue/js/locales-chunk.js HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:38 +0000] "GET /static/vue/css/chunk-vendors.css HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:38 +0000] "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/static/fontawesome/fontawesome_all.min.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:38 +0000] "GET /static/webfonts/poppins_latin_400.woff2 HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/static/themes/tandoor.min.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:38 +0100] "GET /static/webfonts/poppins_latin_400.woff2 HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/static/themes/tandoor.min.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:38 +0100] "GET /static/vue/css/chunk-vendors.css HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:38 +0100] "GET /static/webfonts/fa-solid-900.woff2 HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/static/fontawesome/fontawesome_all.min.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:38 +0100] "GET /static/vue/css/recipe_search_view.css HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:38 +0000] "GET /static/vue/css/recipe_search_view.css HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:38 +0000] "GET /static/vue/js/chunk-vendors.js HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:38 +0000] "GET /static/vue/js/recipe_search_view.js HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:38 +0100] "GET /static/vue/js/chunk-vendors.js HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:38 +0100] "GET /static/vue/js/recipe_search_view.js HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
web_recipes-1    | /opt/recipes/venv/lib/python3.12/site-packages/django/db/models/fields/__init__.py:1595: RuntimeWarning: DateTimeField MealPlan.to_date received a naive datetime (2025-01-15 00:00:00) while time zone support is active.
web_recipes-1    |   warnings.warn(
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:39 +0000] "GET /api/meal-plan/?from_date=2025-01-15&to_date=2025-01-15 HTTP/1.1" 200 2 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:39 +0100] "GET /api/meal-plan/?from_date=2025-01-15&to_date=2025-01-15 HTTP/1.0" 200 2 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
web_recipes-1    | /opt/recipes/venv/lib/python3.12/site-packages/rest_framework/pagination.py:207: UnorderedObjectListWarning: Pagination may yield inconsistent results with an unordered object_list: <class 'cookbook.models.CustomFilter'> QuerySet.
web_recipes-1    |   paginator = self.django_paginator_class(queryset, page_size)
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:39 +0100] "GET /api/custom-filter/?page=1&page_size=50&simple=1 HTTP/1.0" 200 52 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:39 +0000] "GET /api/custom-filter/?page=1&page_size=50&simple=1 HTTP/1.1" 200 52 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:39 +0000] "GET /api/user-preference/1/ HTTP/1.1" 200 656 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:39 +0100] "GET /api/user-preference/1/ HTTP/1.0" 200 656 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:39 +0100] "GET /api/keyword/?query=&root=0&page=1&page_size=50&simple=1 HTTP/1.0" 200 1720 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:39 +0100] "GET /static/webfonts/poppins_latin_500.woff2 HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/static/themes/tandoor.min.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:39 +0000] "GET /api/keyword/?query=&root=0&page=1&page_size=50&simple=1 HTTP/1.1" 200 1720 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:39 +0000] "GET /static/webfonts/poppins_latin_500.woff2 HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/static/themes/tandoor.min.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:39 +0000] "GET /static/assets/logo_color_svg.svg HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:39 +0100] "GET /static/assets/logo_color_svg.svg HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:39 +0000] "GET /api/meal-plan/?from_date=2025-01-15&to_date=2025-01-15 HTTP/1.1" 200 2 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:39 +0100] "GET /api/meal-plan/?from_date=2025-01-15&to_date=2025-01-15 HTTP/1.0" 200 2 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:39 +0000] "GET /api/recipe-book/ HTTP/1.1" 200 2 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:39 +0100] "GET /api/recipe-book/ HTTP/1.0" 200 2 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:39 +0000] "GET /api/food/?query=&root=0&page=1&page_size=50&simple=1 HTTP/1.1" 200 1806 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:39 +0100] "GET /api/food/?query=&root=0&page=1&page_size=50&simple=1 HTTP/1.0" 200 1806 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:39 +0100] "GET /api/space/1/ HTTP/1.0" 200 529 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:39 +0000] "GET /api/space/1/ HTTP/1.1" 200 529 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:39 +0100] "GET /api/recipe/?query=&internal=false&random=false&new=true&page=1&page_size=25&include_children=true&num_recent=5 HTTP/1.0" 200 1025 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:39 +0000] "GET /api/recipe/?query=&internal=false&random=false&new=true&page=1&page_size=25&include_children=true&num_recent=5 HTTP/1.1" 200 1025 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:39 +0100] "GET /api/user-preference/1/ HTTP/1.0" 200 656 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:39 +0000] "GET /api/user-preference/1/ HTTP/1.1" 200 656 "http://PLACEHOLDER-0.0.0.0/search/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
nginx_recipes-1  | 172.27.250.43 - - [15/Jan/2025:19:24:39 +0000] "GET /static/webfonts/poppins_latin_700.woff2 HTTP/1.1" 304 0 "http://PLACEHOLDER-0.0.0.0/static/themes/tandoor.min.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0" "-"
web_recipes-1    | ::ffff:172.18.0.4 - - [15/Jan/2025:20:24:39 +0100] "GET /static/webfonts/poppins_latin_700.woff2 HTTP/1.0" 304 0 "http://PLACEHOLDER-0.0.0.0/static/themes/tandoor.min.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
Gracefully stopping... (press Ctrl+C again to force)
@alternativesurfer alternativesurfer added the setup issue possibly or definitely an issue with the user setup label Jan 15, 2025
@alternativesurfer alternativesurfer changed the title Blocked hosts: recipes.example.com Appears to be RubyOnRails related Blocked hosts: recipes.example.com | Appears to be RubyOnRails related Jan 15, 2025
@smilerz
Copy link
Collaborator

smilerz commented Jan 15, 2025

that site isn't tandoor, not sure what your proxy is forwarding to

@alternativesurfer
Copy link
Author

FML, thank you so much.
I knew it was something stupid....I forgot to update the machine endpoint in my proxy.

@alternativesurfer
Copy link
Author

OK, that fixed loads the logon page.
I enter creds, error:
image

@smilerz
Copy link
Collaborator

smilerz commented Jan 15, 2025

https://docs.tandoor.dev/faq/#why-am-i-getting-csrf-errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
setup issue possibly or definitely an issue with the user setup
Projects
None yet
Development

No branches or pull requests

2 participants