Hey folks, did someone saw something similar? ```...
# help
d
Hey folks, did someone saw something similar?
Copy code
{
  "log.level": "error",
  "@timestamp": "2024-10-17T09:48:26.950Z",
  "log.logger": "cerbos",
  "message": "Policy check failed",
  "protocol": "grpc",
  "grpc.component": "server",
  "grpc.service": "cerbos.svc.v1.CerbosService",
  "grpc.method": "CheckResources",
  "grpc.method_type": "unary",
  "cerbos": {
    "call_id": "01JACY1TE1G69R5YMFC2NFKTSG"
  },
  "grpc.request.meta": {
    "request_id": "aa8ce656-6b64-4e14-a8a3-36d9703f224a"
  },
  "peer.address": "127.0.0.1:49852",
  "error": "failed to get check for [PRODUCT.default]: failed to get compilation units: sql: Scan error on column index 2, name \"definition\": failed to unmarshal policy definition: unexpected EOF"
}
maybe some known issue? We have 2 sidecars, very same version, deployed similarly, one is ok, second one is failing with these both access same mysql DB. Cerbos 0.36. (DB was not accessed with anything but Cerbos)
could this error mean that it can't access DB?
The issue was that our definition hit 65k bytes, default BLOB size limit. Changing it to mediumblob helped
🍪 1
g
thanks for coming back to post the resolution!