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

Swagger UI hangs when accessing ressources including an hyphen #28670

Open
xguerin-orange opened this issue Oct 10, 2024 · 2 comments
Open

Swagger UI hangs when accessing ressources including an hyphen #28670

xguerin-orange opened this issue Oct 10, 2024 · 2 comments
Labels
reproduced This issue has been reproduced by a Vault engineer ui

Comments

@xguerin-orange
Copy link

When trying to create a new secret-id for an approle role or when reading an OIDC role identified by a name including an hyphen (for instance "my-role"), the swagger UI hangs forever.
The request does not appear in the logs, meaning it was probably never sent.
It used to who work correctly with older version, and it still works with the integrated CLI

To Reproduce
Steps to reproduce the behavior:

  1. In the WebGUI navigate to "Tools/API Explorer"
  2. Try getting an existing role with an hyphen in its name (i.e. "my-role")
  3. Hit execute
  4. It hangs forever with no logs

Expected behavior
The webGUI should either send the request and display the result or timeout.

Environment:

  • Vault Server Version : 1.17.6
  • Vault CLI Version : n/a problem is with the webGUI
  • Server Operating System/Architecture: n/a problem is on client side
@miagilepner miagilepner added ui reproduced This issue has been reproduced by a Vault engineer labels Oct 16, 2024
@miagilepner
Copy link
Contributor

Thanks for submitting this. I've reproduced the issue on 1.18 and I actually see the OpenAPI UI hanging for all queries with path parameters, not just ones with a hyphen.

@bennydeep
Copy link

the same is happening for us, (v 1.18.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reproduced This issue has been reproduced by a Vault engineer ui
Projects
None yet
Development

No branches or pull requests

3 participants