Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat(certs): capture ACME error message #83

Merged
merged 4 commits into from
Feb 24, 2025
Merged

feat(certs): capture ACME error message #83

merged 4 commits into from
Feb 24, 2025

Conversation

DavidePrincipi
Copy link
Member

  • Capture ACME error message and write to the action stderr.
  • Reduce ACME job timeout from 120 to 30 seconds.

Refs NethServer/dev#7004

Reduce ACME job timeout from 120 to 30 seconds.
Copy link
Member

@gsanchietti gsanchietti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure it's a good fit for the UI.
But the code looks ok

'{module_id=~"traefik.+"} | json | line_format "{{.MESSAGE}}"' + \
'| logfmt | providerName="acmeServer.acme" and error!=""' + \
'| line_format "{{.error}}"',
], timeout=15, text=True)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a quite long timeout for a UI call!

Copy link
Member Author

@DavidePrincipi DavidePrincipi Feb 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, I can lower it a bit in a future PR, however consider it's a remote network call to the leader node which may be slow on busy systems.

@DavidePrincipi DavidePrincipi merged commit 80e4f21 into main Feb 24, 2025
3 of 4 checks passed
@DavidePrincipi DavidePrincipi deleted the feat-7004-1 branch February 24, 2025 14:33
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants