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.Timeout custom value #150

Closed
ArisDBG opened this issue Nov 7, 2024 · 3 comments
Closed

http.Timeout custom value #150

ArisDBG opened this issue Nov 7, 2024 · 3 comments

Comments

@ArisDBG
Copy link

ArisDBG commented Nov 7, 2024

Is your feature request related to a problem? Please describe.

conjur-cli requests time out after 10s. There is no way to adjust that value as of now.
This can cause problems when doing huge bulk changes which need more time to get processed by Conjur master.

Error Message: "Client.timeout exceeded while awaiting headers"

Describe the solution you would like

Provide a parameter/ switch in conjur-cli to adjust the http.timeout value.
Ideally the value can be set in ".conjurrc" file and/or you ask for a custom time-out value during first cli init.

The change seems relative "easy" via adding the httpTimeout parameter to conjur-api config.

Describe alternatives you have considered

No alternative

Additional context

No more context

@szh
Copy link
Contributor

szh commented Nov 15, 2024

Hi @ArisDBG,
I think this is a sound idea. Are you interested in submitting a PR? I'm happy to direct you where in the codebase to look (hint: probably just adding a yaml property here)

@szh
Copy link
Contributor

szh commented Dec 18, 2024

I'm happy to report that this enhancement is going to be coming in the next CLI release! I'll leave this issue open until it's released.

@szh
Copy link
Contributor

szh commented Dec 27, 2024

Completed in v8.0.17!

@szh szh closed this as completed Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants