Hi,
i just tried your configuration and it throws the same error.
Daniel told me there may be something not exactly right in the behaviour
of knot regarding cookie handling.
Maybe the problem goes away in a new version.
Am 23.12.21 um 10:19 schrieb Tuomo Soini:
  On Wed, 22 Dec 2021 13:07:34 +0100
 "J. Echter" <j.echter(a)gmx.de> wrote:
  Relevant parts of my knot.conf:
 template:
 - id: default storage: "/var/lib/knot"
 dnssec-signing: on
 dnssec-policy: rsa2048
 global-module: [ "mod-cookies", "mod-rrl/default" ] 
 I
don't have such problem. but I have configuration for mod-cookies and
 so I load it differently.
 mod-cookies:
    - id: default
      secret-lifetime: 26h
      badcookie-slip: 1
 And in default template:
      global-module: [ mod-cookies/default, mod-rrl/default ]