AWX - HTTP Error 401: Unauthorized
Opened this issue · 1 comments
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?
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.