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

[BUG] MFA Error Login error TypeError: Cannot read properties of undefined (reading 'msg') #123

Open
1 task done
tempaone opened this issue Dec 8, 2024 · 1 comment

Comments

@tempaone
Copy link

tempaone commented Dec 8, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When i try to login via reverse proxy it gives me an error as its prompting me to but in a mfa code but there is no fied to do it,
error

Login error
TypeError: Cannot read properties of undefined (reading 'msg')

very werid as on my other instances i dont get a MFA code so not sure why.

Expected Behavior

When click sign in, a mfa field to appear to add the code.

Steps To Reproduce

have MFA on and try to sign in via domain name.

Environment

- OS:
- How docker service was installed:

CPU architecture

x86-64

Docker creation

# Use root/example as user/password credentials
version: '3'

services:
  unifi-network-application:
    image: "lscr.io/linuxserver/unifi-network-application:latest"
    container_name: "unifi-network-application"
    depends_on:
      - mongo-unifi
    environment:
      - "PGID=${ID}"
      - "PUID=${ID}"
      - "TZ=${TZ}"
      - "MONGO_USER=unifi"
      - "MONGO_PASS=sharingiscaring223"
      - "MONGO_HOST=mongodb-unifi"
      - "MONGO_PORT=27017"
      - "MONGO_DBNAME=unifidb"
      - "MEM_LIMIT=1024"
      - "MEM_STARTUP=1024"
    volumes:
      - "${APPFOLDER}/unifi-network-application:/config:rw"
    ports:
      - 8443:8443
      - 3478:3478/udp
      - 10001:10001/udp
      - 8080:8080
      - 1900:1900/udp
      - 8843:8843
      - 8880:8880
      - 6789:6789
      - 5514:5514/udp
    restart: unless-stopped
    networks:
      - ${DOCKERNETWORK}
    security_opt:
      - "${SECURITYOPS}:${SECURITYOPSSET}"
    labels:
      - "traefik.enable=true"
      - "traefik.docker.network=proxy"
      - "dockupdater.enable=true"
      - "traefik.http.routers.unifi-network-application-rtr.entrypoints=https"
      - "traefik.http.routers.unifi-network-application-rtr.rule=Host(`unifi-network-application.${DOMAIN}`)"
      - "traefik.http.routers.unifi-network-application-rtr.tls=true"
      - "traefik.http.routers.unifi-network-application-rtr.tls.certresolver=dns-cloudflare"
      - "traefik.http.routers.unifi-network-application-rtr.middlewares=chain-authelia@file"
      - "traefik.http.routers.unifi-network-application-rtr.service=unifi-network-application-svc"
      - "traefik.http.services.unifi-network-application-svc.loadbalancer.server.port=8443"
      - "traefik.http.services.unifi-network-application-svc.loadbalancer.server.scheme=https"

  mongo-unifi:
    image: "mongo:4.4.24"
    container_name: "mongodb-unifi"
    ports:
      - "${PORTBLOCK}:27017:27017"
    environment:
      - "PGID=${ID}"
      - "PUID=${ID}"
      - "TZ=${TZ}"
    volumes:
      - "${APPFOLDER}/mongo-unifi/init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro"
      - "${APPFOLDER}/mongo-unifi/mongo_db:/data/db"
      - "${APPFOLDER}/mongo-unifi/config:/data/configdb"
    restart: "${RESTARTAPP}"
    command: 
      mongod --port 27017
    networks:
      - ${DOCKERNETWORK}
  
networks:
  proxy:
    driver: bridge
    external: true

Container logs

[migrations] started

[migrations] no migrations found

───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗

      ██║     ██╔════╝██║██╔═══██╗

      ██║     ███████╗██║██║   ██║

      ██║     ╚════██║██║██║   ██║

      ███████╗███████║██║╚██████╔╝

      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io

───────────────────────────────────────

To support LSIO projects visit:

https://www.linuxserver.io/donate/

───────────────────────────────────────

GID/UID

───────────────────────────────────────

User UID:    1000

User GID:    1000

───────────────────────────────────────

Linuxserver.io version: 8.6.9-ls70

Build-date: 2024-12-03T17:37:44+00:00

───────────────────────────────────────

    

[custom-init] No custom files found, skipping...

[ls.io-init] done.

:0 Permanent error code on allocate request: 420 - . This was after receiving a valid nonce

:0 TURN instance failed: TURN id:   3; fd: 220 0.0.0.0:36275 -> 141.101.90.1:3478 (all_interfaces) DTLS id:
Copy link

github-actions bot commented Dec 8, 2024

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Issues
Development

No branches or pull requests

1 participant