Giter VIP home page Giter VIP logo

Comments (6)

BeryJu avatar BeryJu commented on May 9, 2024

Hey, thanks for the error report. Could you post the logs of the authentik server container? There should be some info if the token is missing or invalid or some other error.

from authentik.

chvolkmann avatar chvolkmann commented on May 9, 2024

Not much more than


{"event": "Unauthorized: /api/v2beta/outposts/outposts/", "level": "warning", "logger": "django.request", "timestamp": 1618851408.7036428},
{"event": "Unauthorized: /api/v2beta/outposts/outposts/", "level": "warning", "logger": "django.request", "timestamp": 1618851448.125891},
{"event": "/api/v2beta/outposts/outposts/", "host": "10.0.0.3", "level": "info", "logger": "authentik.asgi", "method": "GET", "pid": 11, "request_id": "39b6a511152847f49ae2e756bcc65460", "runtime": 58, "scheme": "http", "size": 0.031, "status": 401, "timestamp": "2021-04-19T16:55:00.392640"},
{"event": "/api/v2beta/outposts/outposts/", "host": "10.0.0.3", "level": "info", "logger": "authentik.asgi", "method": "GET", "pid": 10, "request_id": "0d50968c5c1b458db39184f214399dda", "runtime": 58, "scheme": "http", "size": 0.051, "status": 401, "timestamp": "2021-04-19T16:56:48.705277"},
{"event": "Unauthorized: /api/v2beta/outposts/outposts/", "level": "warning", "logger": "django.request", "timestamp": 1618851415.6794574},
{"event": "/api/v2beta/outposts/outposts/", "host": "10.0.0.3", "level": "info", "logger": "authentik.asgi", "method": "GET", "pid": 11, "request_id": "1e229261321249278e35456747847ef8", "runtime": 58, "scheme": "http", "size": 0.03, "status": 401, "timestamp": "2021-04-19T16:56:55.680738"},
{"event": "Unauthorized: /api/v2beta/outposts/outposts/", "level": "warning", "logger": "django.request", "timestamp": 1618851422.2199204},
{"event": "/api/v2beta/outposts/outposts/", "host": "10.0.0.3", "level": "info", "logger": "authentik.asgi", "method": "GET", "pid": 10, "request_id": "bf74272f3fce4b96b3ab30ebf6b85a5c", "runtime": 58, "scheme": "http", "size": 0.034, "status": 401, "timestamp": "2021-04-19T16:57:02.221436"},
{"event": "/api/v2beta/outposts/outposts/", "host": "10.0.0.3", "level": "info", "logger": "authentik.asgi", "method": "GET", "pid": 9, "request_id": "5518d8ef1fa040daa939516b6f3411c7", "runtime": 58, "scheme": "http", "size": 0.029, "status": 401, "timestamp": "2021-04-19T16:57:08.644083"},
{"event": "Unauthorized: /api/v2beta/outposts/outposts/", "level": "warning", "logger": "django.request", "timestamp": 1618851428.642649},
{"event": "Unauthorized: /api/v2beta/outposts/outposts/", "level": "warning", "logger": "django.request", "timestamp": 1618851434.9715154},
{"event": "/api/v2beta/outposts/outposts/", "host": "10.0.0.3", "level": "info", "logger": "authentik.asgi", "method": "GET", "pid": 10, "request_id": "3e8a91bcfb554db2a78d9bc93bb0a4cb", "runtime": 58, "scheme": "http", "size": 0.027, "status": 401, "timestamp": "2021-04-19T16:57:14.972480"},
{"event": "Unauthorized: /api/v2beta/outposts/outposts/", "level": "warning", "logger": "django.request", "timestamp": 1618851441.4848037},
{"event": "/api/v2beta/outposts/outposts/", "host": "10.0.0.3", "level": "info", "logger": "authentik.asgi", "method": "GET", "pid": 11, "request_id": "250362d3a6e3419eafd7d3b54df337e3", "runtime": 58, "scheme": "http", "size": 0.032, "status": 401, "timestamp": "2021-04-19T16:57:21.486216"}

from authentik.

BeryJu avatar BeryJu commented on May 9, 2024

Hmm, this looks like the service account that is created for each outpost doesn't have the correct permissions yet. This is normally done (in the background) when saving an outpost. There is also the System task outpost_token_ensurer which periodically checks this. Can you check if that task has reported any errors/ran recently?

from authentik.

chvolkmann avatar chvolkmann commented on May 9, 2024

image

from authentik.

chvolkmann avatar chvolkmann commented on May 9, 2024

Found the issue. I regenerated the token by accident and didn't update it. Resetting it resolved this.

I'd suggest to print another error message though :)

from authentik.

BeryJu avatar BeryJu commented on May 9, 2024

Cheers, how would you except the error message to look like?

from authentik.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.