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

Add more --debug logging to CLI for http-retries #398

Closed
JonJagger opened this issue Jan 9, 2025 · 1 comment
Closed

Add more --debug logging to CLI for http-retries #398

JonJagger opened this issue Jan 9, 2025 · 1 comment
Assignees

Comments

@JonJagger
Copy link
Contributor

JonJagger commented Jan 9, 2025

swedbank had an issue where more detailed CLI logging of the individual http-retry failures might have been useful.

The issue turned out to be that when they tried the kosli-attest-artifact command it worked.
But when they tried the kosli-attest-junit it did not work.
The former was using the ubuntu-latest runner and the latter was using a custom-runner.
They thought they had opened the firewall for the custom-runner but they hadn't.

There is a CLI branch + PR that may help address this
by printing each individual http request (when there are retries) if you have set the --debug flag.
See #397

With some effort we could reproduce this scenario so we can see what actual error message the
http request returns when you get these firewall problems.

@JonJagger JonJagger self-assigned this Jan 10, 2025
@JonJagger
Copy link
Contributor Author

@tooky tooky closed this as completed Jan 23, 2025
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