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

AWX - HTTP Error 401: Unauthorized #11

Open
hasir1 opened this issue Feb 21, 2024 · 1 comment
Open

AWX - HTTP Error 401: Unauthorized #11

hasir1 opened this issue Feb 21, 2024 · 1 comment

Comments

@hasir1
Copy link

hasir1 commented Feb 21, 2024

Hi,
Referring to this thread: https://community.arubanetworks.com/discussion/authentication-issue-accessing-aruba-central-from-awx

Using the same methods, even doing a curl command using the same variables - success.
However as soon as it's done through AWX, HTTP Error 401: Unauthorized.
Simple Inventory, simple playbook, just like the readme instructs.
Is there some crucial step missing or what could be the issue?

@hasir1
Copy link
Author

hasir1 commented Feb 29, 2024

From what I've found so far, the issue seems to stem from the Authorization header missing when it's fetching/determining the headers in the python scripts. If you hardcode this to be included before the request is sent out, the request is processed successfully.
I've only tried this successfully locally, when changing the files in the role in AWX I still have the issue - however that's probably due to a lack of understanding how AKS + AWS works.

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

No branches or pull requests

1 participant