Title
#help
a

ANILA SOMAN

11/06/2022, 5:12 PM
Hello everyone, i am new in cerbos i am trying to connect cerbos with sqlite database and trying to put policies in database using cerbosctl but i am getting below error
cerbosctl: error: failed to add or update the policies: failed to send batch [0,1): rpc error: code = Unavailable desc = connection error: desc = "transport: authentication handshake failed: tls: first record does not look like a TLS handshake"
config.yaml
---
server:
  httpListenAddr: ":3592"
  grpcListenAddr: ":3593"
  playgroundEnabled: true
  adminAPI:
    enabled: true
    adminCredentials:
      username: cerbos
      passwordHash: JDJ5JDEwJHFGcjhCSEtqVWkyUzRSVzF4Tm5zbC5LMW9NME55NUhxaDNyWkJmdmlwV3p3QTB3VjFzMm9xCgo=
storage:
  driver: "sqlite3"
  sqlite3:
    dsn: ":memory:"
oguzhan

oguzhan

11/06/2022, 6:26 PM
Hi @ANILA SOMAN, Would you mind trying to execute the
cerbosctl
command with the
--plaintext
flag?
a

ANILA SOMAN

11/07/2022, 7:02 AM
thanks😃 working