AxiosError: Request failed with status code 400, #215
-
Hi I just add awx connection with user/password and I get below error when I click "Test Awx" AxiosError: Request failed with status code 400, I am running version 5.0.4 of ansibleforms (to fix issue with use_credential) Thanks for your support |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 1 reply
-
Hi I do not have dns/firewall issue Note that I already configured without issue ldap connection (from AD) and also github connection from my private repo I can successfully ping and nc https port of awx server from docker container Note that I am using custom https certificate on our aansible awx server Thanks for your help |
Beta Was this translation helpful? Give feedback.
-
A HTTP 400 status code usually means that the request was malformed or invalid, and the server could not understand it. The error could be due to a wrong URL, a missing or incorrect parameter, or an authorization issue. To fix this error, you would need to check the request and response objects to identify what went wrong, and correct the issue. |
Beta Was this translation helpful? Give feedback.
-
I simply can't reproduce this. can you curl from within the container and see the http response ? |
Beta Was this translation helpful? Give feedback.
-
Hello works fine 👍 /app # ping tower.cgroup.com |
Beta Was this translation helpful? Give feedback.
-
2024-08-21 15:42:01:421 info: Loading /app/dist/persistent/forms.yaml |
Beta Was this translation helpful? Give feedback.
-
Hi, This log output is not coming from the "test connection". You are launching the helloworld test form. Which targets the template HelloWorld => if you don't have that template, it makes sense you get a 400 error. But the awx test connection is simply loading all templates as test. That should work fine. Can you verify ? Can you also do a CTRL-F5 (after an upgrade it happens that old client code is cached) |
Beta Was this translation helpful? Give feedback.
-
do you see that test button ? Does that work ? |
Beta Was this translation helpful? Give feedback.
-
If all is clear and fixed, can you let me know ? |
Beta Was this translation helpful? Give feedback.
-
stale.... will assume fixed |
Beta Was this translation helpful? Give feedback.
-
Hello When I click on Test for awx connection I have below error 👍 👍 But nothing in "job log" I did ctrl-f5 without success Best regards |
Beta Was this translation helpful? Give feedback.
do you see that test button ? Does that work ?