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

HTTP code 404 when using named url #15230

Open
5 of 11 tasks
Calvinaud opened this issue May 27, 2024 · 1 comment
Open
5 of 11 tasks

HTTP code 404 when using named url #15230

Calvinaud opened this issue May 27, 2024 · 1 comment

Comments

@Calvinaud
Copy link

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to security@ansible.com instead.)

Bug Summary

Hello,

Not happening in every call but some of the call when using the named url will return a 404 http code.
When using the id directly, we don't have any issue but we cannot switch to it and we need to use named url.

The issue seem to appear before: #7386

AWX version

21.13.0

Select the relevant components

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

openshift

Modifications

no

Ansible version

No response

Operating system

No response

Web browser

No response

Steps to reproduce

I don't known the exact condition to reproduce the error to make it happens 100% of the time. The steps are:

  • Do a GET or POST Request to: /api/v2/job_templates/templatename++orgname/ or /api/v2/job_templates/templatename++orgname/launch.

Expected results

20X HTTP Code

Actual results

404 HTTP Code

Additional information

No response

@jessicamack
Copy link
Member

Hello @Calvinaud, are you able to upgrade to the latest version of AWX? Some fixes to named urls were merged recently.

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

No branches or pull requests

2 participants