Skip to content

[BUG] Can't add a new adventure from iPhone web UIΒ #725

@cathelijne

Description

@cathelijne

Describe the bug
When adding an adventure from the web UI on my laptop, everything works as expected: I hit the '+' button, 'Create New...' pops up, I click adventure, and a POST request hits my ingress and the adventure is created.

Doing the same on an iPhone, yields nothing at all. Checking the logs, the serer doesn't receive ANY request whatsoever, making me think it's the UI that doesn't function as it should. The button is just 'dead'.

To Reproduce
See above

Expected behavior
A new adventure is created

Screenshots

ScreenRecording_07-10-2025.15-54-26_1.MP4

Kubernetes ArgoCD App

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: adventurelog
  namespace: argocd
  annotations:
spec:
  project: default
  destination:
    server: https://kubernetes.default.svc
    namespace: geo
  syncPolicy:
    syncOptions:
      - CreateNamespace=true
    automated:
      prune: true
      allowEmpty: true
      selfHeal: true
  sources:
    - repoURL: ssh://[email protected]/USER/home.git
      path: kubernetes/applications/geo/adventurelog-extras
      targetRevision: main
    - repoURL: https://USER.github.io/charts
      chart: superchartme
      targetRevision: "0.0.4"
      helm:
        valuesObject:
          controllers:
            main:
              containers:
                main:
                  image:
                    repository: ghcr.io/seanmorley15/adventurelog-frontend
                    tag: latest
                    # tag: "v0.10.0"
                  envFrom:
                    - secretRef:
                        name: adventurelog-secret
                backend:
                  image:
                    repository: ghcr.io/seanmorley15/adventurelog-backend
                    tag: latest
                    # tag: "v0.10.0"
                  envFrom:
                    - secretRef:
                        name: adventurelog-secret

          service:
            main:
              controller: main
              ports:
                http:
                  port: 3000
                api:
                  port: 80

          ingress:
            main:
              enabled: true
              annotations:
                cert-manager.io/cluster-issuer: letsencrypt-prod
              ingressClassName: "nginx"
              hosts:
                - host: adventurelog.DOMAIN
                  paths:
                    - path: /media
                      type: Prefix
                      service:
                        identifier: main
                        port: api
                    - path: /static
                      type: Prefix
                      service:
                        identifier: main
                        port: api
                    - path: /accounts
                      type: Prefix
                      service:
                        identifier: main
                        port: api
                    - path: /admin
                      type: Prefix
                      service:
                        identifier: main
                        port: api
                    - path: /
                      service:
                        identifier: main
                        port: http
              tls:
                - secretName: adventurelog-tls
                  hosts:
                    - adventurelog.DOMAIN

          persistence:
            media:
              enabled: true
              type: persistentVolumeClaim
              accessMode: ReadWriteMany
              storageClass: nfs-csi
              size: 100Gi
              advancedMounts:
                main:
                  backend:
                    - path: /code/media

Environment

This is the secret referred to in the argo app definition above

apiVersion: v1
stringData:
  # 🌐 Frontend
  PUBLIC_SERVER_URL: http://localhost:8000 # PLEASE DON'T CHANGE :) - Should be the service name of the backend with port 8000, even if you change the port in the backend service. Only change if you are using a custom more complex setup.
  ORIGIN: https://adventurelog.DOMAIN
  BODY_SIZE_LIMIT: Infinity
  FRONTEND_PORT: 3000

  # 🐘 PostgreSQL Database
  PGHOST: postgres.home.DOMAIN
  POSTGRES_DB: adventurelog
  POSTGRES_USER: adventurelog
  POSTGRES_PASSWORD: PASSWORD

  # πŸ”’ Django Backend
  SECRET_KEY: KEY
  DJANGO_ADMIN_USERNAME: admin
  DJANGO_ADMIN_PASSWORD: PASSWORD
  DJANGO_ADMIN_EMAIL: adventurelog@DOMAIN
  PUBLIC_URL: https://adventurelog.DOMAIN # Match the outward port, used for the creation of image urls
  CSRF_TRUSTED_ORIGINS: "http://localhost:80,http://localhost:3000,http://localhost:8000,https://adventurelog.DOMAIN,http://127.0.0.1:80"
  SECURE_PROXY_SSL_HEADER: "('HTTP_X_FORWARDED_PROTO', 'https')"
  DEBUG: False
  FRONTEND_URL: https://adventurelog.DOMAIN # Used for email generation. This should be the url of the frontend
  BACKEND_PORT: 80

  # Optional: use Google Maps integration
  # https://adventurelog.app/docs/configuration/google_maps_integration.html
  GOOGLE_MAPS_API_KEY: KEY

  # Optional: disable registration
  # https://adventurelog.app/docs/configuration/disable_registration.html
  DISABLE_REGISTRATION: False
  # DISABLE_REGISTRATION_MESSAGE: Registration is disabled for this instance of AdventureLog.

  # Optional: Use email
  # https://adventurelog.app/docs/configuration/email.html
  EMAIL_BACKEND: email
  EMAIL_HOST: postfix-mail.postfix.cluster.DOMAIN
  EMAIL_USE_TLS: False
  EMAIL_PORT: 25
  EMAIL_USE_SSL: False
  # EMAIL_HOST_USER: ""
  # EMAIL_HOST_PASSWORD: ""
  DEFAULT_FROM_EMAIL: adventurelog@DOMAIN

  # Optional: Use Umami for analytics
  # https://adventurelog.app/docs/configuration/analytics.html
  # PUBLIC_UMAMI_SRC: https://cloud.umami.is/script.js # If you are using the hosted version of Umami
  # PUBLIC_UMAMI_WEBSITE_ID:
kind: Secret
metadata:
  annotations:
    sealedsecrets.bitnami.com/cluster-wide: "true"
  name: adventurelog-secret
type: Opaque

Additional context
The rest of the UI works fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions