Skip to content

log context canceled error on an INFO log level #1023

@Stefan-Ethernal

Description

@Stefan-Ethernal

Version: v0.7.0-beta4

The context canceled is expected to happen every time the committee is larger than the configured threshold and at the given point the signatures count >= threshold. Therefore we should figure out if it is possible to log this message on an INFO log level.

{
  "level": "error",
  "ts": 1757510849.6013253,
  "caller": "aggsender/validator_poller.go:161",
  "msg": "validator RemoteValidator (URL=http://aggkit-001-aggsender-validator-001:5578, Address=0x97bC60cc5BcD071536F28F784378c8c1E95446e6) failed to validate the certificate: error validating certificate on aggsender validator service: aggsender validator failed to successfully validate certificate: rpc error: code = Canceled desc = context canceled",
  "pid": 7,
  "version": "",
  "module": "aggsender",
  "stacktrace": "github.com/agglayer/aggkit/aggsender.(*validatorPoller).executeValidation.func1\n\t/app/aggsender/validator_poller.go:161"
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions