Skip to content

500 Internal Server Error and 403 Forbidden #755

@SomnusVeritas

Description

@SomnusVeritas

What happened?

Hi! First of all, thank you for all the work! I'd love to see this software succeed.
Sadly, I have a lot of issues right after a fresh setup.
I'm hosting Wanderer on my Truenas Scale Server via Docker behind a Traefik reverse proxy.
Right after setup and initial start, everything seems to work fine. Every tab, the map and I can even create an account and upload a trail.
After a few clicks, I'm getting a 500 Internal Server Error seemingly at random and in some Tabs, that vary.
If I click around a bit more I'm getting a 403 Forbidden in every page. The Error stays until I restart the stack.
My reverse Proxy has no Middlewares set up.
I don't have these issues with Immich, SFTPgo, Nextcloud, copyparty, jellyfin, mastodon, tuwunel, navidrome, owncast and tinyauth, so I don't think it's a wrong traefik configuration.

docker-compose `MEILI_MASTER_KEY`, `POCKET_KEY` and `UPLOAD_PASS` are all 128 Bit RSA Hexadecimal keys
services:
  search:
    container_name: wanderer-search
    image: getmeili/meilisearch:v1.11.3
    environment:
      MEILI_URL: http://search:7700
      MEILI_MASTER_KEY: $MEILI_MASTER_KEY
      MEILI_NO_ANALYTICS: "true"
      TZ: Europe/Berlin
    networks:
      - wanderer
    volumes:
      - ./meili/data/:/meili_data/data.ms
    restart: unless-stopped
    healthcheck:
      test: curl --fail http://localhost:7700/health || exit 1
      interval: 15s
      retries: 10
      start_period: 20s
      timeout: 10s
  db:
    container_name: wanderer-db
    image: flomp/wanderer-db
    depends_on:
      search:
        condition: service_healthy
    environment:
      MEILI_URL: http://search:7700
      MEILI_MASTER_KEY: $MEILI_MASTER_KEY
      POCKETBASE_ENCRYPTION_KEY: $POCKET_KEY
      ORIGIN: http://localhost:3000
      TZ: Europe/Berlin
    networks:
      - wanderer
    restart: unless-stopped
    volumes:
      - ./pocketbase/data:/pb_data
    healthcheck:
      test: wget --spider -q http://localhost:8090/health || exit 1
      interval: 15s
      retries: 10
      start_period: 20s
      timeout: 10s
  web:
    container_name: wanderer-web
    image: flomp/wanderer-web
    depends_on:
      search:
        condition: service_healthy
      db:
        condition: service_healthy
    environment:
      MEILI_URL: http://search:7700
      MEILI_MASTER_KEY: $MEILI_MASTER_KEY
      ORIGIN: https://wanderer.mydomain.tld
      BODY_SIZE_LIMIT: Infinity
      PUBLIC_POCKETBASE_URL: http://db:8090
      PUBLIC_DISABLE_SIGNUP: "false"
      UPLOAD_FOLDER: /app/uploads
      UPLOAD_USER: wanderer
      UPLOAD_PASSWORD: $UPLOAD_PASS
      PUBLIC_OVERPASS_API_URL: https://overpass-api.de
      #PUBLIC_VALHALLA_URL: https://valhalla1.openstreetmap.de
      PUBLIC_VALHALLA_URL: http://valhalla:8002
      PUBLIC_NOMINATIM_URL: https://nominatim.openstreetmap.org
      TZ: Europe/Berlin
    volumes:
      - ./wanderer/data/uploads:/app/uploads
    networks:
      - wanderer
      - proxy
    labels:
      - traefik.enable=true
      - traefik.http.routers.wanderer.rule=Host(`wanderer.mydomain.tld`)
      - traefik.http.services.wanderer-service.loadbalancer.server.url=http://web:3000
    restart: unless-stopped
    healthcheck:
      test: curl --fail http://localhost:3000/ || exit 1
      interval: 15s
      retries: 10
      start_period: 20s
      timeout: 10s
  valhalla:
    container_name: valhalla
    image: ghcr.io/valhalla/valhalla-scripted:latest
    volumes:
      - ./valhalla/data/:/custom_files
    environment:
      - tile_urls=https://download.geofabrik.de/europe-latest.osm.pbf
      - use_tiles_ignore_pbf=True
      - force_rebuild=False
      - force_rebuild_elevation=False
      - build_elevation=True
      - build_admins=True
      - build_time_zones=True
networks:
  wanderer:
    driver: bridge
    external: false
  proxy:
    external: true
Image Image

Version

v0.18.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions