authentik icon indicating copy to clipboard operation
authentik copied to clipboard

Proxy Outpost Boot Loop

Open PKizzle opened this issue 1 year ago • 1 comments

Describe the bug With the addition of geo-ip ASN the CapabilitiesEnum was altered to include can_asn. However the go api shipped with proxy version 2023.10.6 does not include these changes.

To Reproduce Steps to reproduce the behavior:

  1. Launch an Authentik instance that includes Geo-IP's ASN
  2. Create a proxy outpost
  3. Wait for the proxy to try to startup

Expected behavior The proxy can successfully boot without an error

Logs

{"event":"Loaded config","level":"debug","path":"inbuilt-default","timestamp":"2024-01-23T02:29:11Z"}
{"event":"Loaded config from environment","level":"debug","timestamp":"2024-01-23T02:29:11Z"}
{"event":"not enabling debug server, set `AUTHENTIK_DEBUG` to `true` to enable it.","level":"info","logger":"authentik.go_debugger","timestamp":"2024-01-23T02:29:11Z"}
{"error":"can_asn is not a valid CapabilitiesEnum","event":"Failed to fetch global configuration","level":"error","logger":"authentik.outpost.ak-api-controller","timestamp":"2024-01-23T02:29:12Z"}

Version and Deployment (please complete the following information):

  • authentik version: 2023.10.6
  • Deployment: helm

PKizzle avatar Jan 23 '24 02:01 PKizzle

This has been fixed with version 2023.10.7. A note regarding this issue within the documentation targeted at users of the previous version is still appreciated.

PKizzle avatar Feb 01 '24 15:02 PKizzle

I see exact same behavior with authentik-proxy again after upgrade from 2023.10.7 to 2024.2.1

geokvant avatar Feb 24 '24 17:02 geokvant

I see exact same behavior with authentik-proxy again after upgrade from 2023.10.7 to 2024.2.1

In my case, the problem was with LDAP outpost. I think you should stop Authentik, delete the existing LDAP Outpost Docker image and start Authentik again. The new latest image of the LDAP outpost will be downloaded and launched. These steps helped me after upgrade to 2024.2.1.

Of course, if you use the LDAP Outpost container described in the Docker Compose file like this:

...
  authentik_ldap:
    container_name: authentik_ldap
    restart: unless-stopped
    image: ghcr.io/goauthentik/ldap
    networks:
      - webproxy
    ports:
      - "389:3389"
      - "636:6636"
    environment:
      AUTHENTIK_HOST: https://${DOMAIN_AUTHENTIK}
      AUTHENTIK_INSECURE: "false"
      AUTHENTIK_TOKEN: <token>
...

sskokorin avatar Feb 24 '24 17:02 sskokorin

Thank you! In my case problem was with Proxy outpost, but only deletion of authentik proxy image (ghcr.io/goauthentik/proxy:latest) and redownload of it solved the problem.

geokvant avatar Feb 24 '24 17:02 geokvant

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.