Skip to content

Accessing UI with unauthenticated and/or expired token lead to a crash #25

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ncode
Copy link
Contributor

@ncode ncode commented Mar 19, 2025

Accessing Nomad via nacp with resolve token enabled will lead to a crash since we pass and empty pointer to applogger, so now we will only try to log if a token is render regardless if enabled or not.

The second part is to change to only log when a token resolution fail, so avoid use popups like the attached image shows

image (5)

@ncode ncode changed the title FIX unauthenticated /ui/ access crash FIX: Accessing UI with unauthenticated and/or expired token lead to a crash Apr 11, 2025
@ncode ncode changed the title FIX: Accessing UI with unauthenticated and/or expired token lead to a crash Draft: Accessing UI with unauthenticated and/or expired token lead to a crash Apr 11, 2025
@ncode
Copy link
Contributor Author

ncode commented Apr 11, 2025

@mxab I will leave as a draft until I find all the corner cases :)

@ncode ncode changed the title Draft: Accessing UI with unauthenticated and/or expired token lead to a crash Accessing UI with unauthenticated and/or expired token lead to a crash Apr 14, 2025
@ncode
Copy link
Contributor Author

ncode commented Apr 14, 2025

We've been running with this patch since last week and found no more issues. So I'm happy with it now.

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

Successfully merging this pull request may close these issues.

1 participant