ansibleguy76 / ansibleforms

A webapplication to create pretty advanced forms to run ansible playbooks or awx templates.
https://ansibleforms.com/
GNU General Public License v3.0
66 stars 10 forks source link

AxiosError: Request failed with status code 400, #202

Closed bskou57 closed 4 weeks ago

bskou57 commented 4 weeks ago

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

ansibleguy76 commented 4 weeks ago

dns issue?

did you add the dns options

ansibleguy76 commented 4 weeks ago

can you try with ip?

ansibleguy76 commented 4 weeks ago

have tested here with token and credentials. 400 error is typically a not found error. Either a router, firewall or dns issue.

bskou57 commented 4 weeks ago

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

bskou57 commented 4 weeks ago

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.

ansibleguy76 commented 4 weeks ago

hmm. can you pm me

bskou57 commented 3 weeks ago

Hello available ?

ansibleguy76 commented 3 weeks ago

available today mail me info@ansibleguy.com

bskou57 commented 3 weeks ago

Hi

I will reopen the case

better than email

Thanks for your help

On Mon, 19 Aug 2024 at 08:27, AnsibleGuy76 @.***> wrote:

available today mail me @.***

— Reply to this email directly, view it on GitHub https://github.com/ansibleguy76/ansibleforms/issues/202#issuecomment-2295761866, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAV7YWG7VQZK6OKI2SYZYMTZSGF43AVCNFSM6AAAAABMUO7LAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJVG43DCOBWGY . You are receiving this because you authored the thread.Message ID: @.***>

--

Best Regards, Bachir