0

I have created containerapp environment with one containerapp using Bicep template and here is a snippet of how I configured the environment

  ingress: {
    external: true
    targetPort: 80
    allowInsecure: false
    transport:'http2'
    traffic:[

      {
        latestRevision: true
        weight: 100
      }
    ]
  }
  registries: [
    {
      server: acr_login_server
      username: acr_name
      passwordSecretRef: 'myregistrypassword'
    }
  ]
  dapr: {
    appId: containerapp_name
    appPort: 80
    appProtocol: 'http'
    enabled: true
  }
}

I am using http2 transport cause we expose grpc service as well, then when checking the revision, it shows failed and the logs shows that there is issue with dapr

time="2022-10-19T10:35:35.391746798Z" level=fatal msg="error loading configuration: rpc error: code = Unavailable desc = connection error: desc = \"transport: authentication handshake failed: x509: certificate signed by unknown authority (possibly because of \\\"x509: ECDSA verification failure\\\" while trying to verify candidate authority certificate \\\"cluster.local\\\")\"" app_id=containerapp-a instance=containerapp-a--t1gheb2-77c44cf6c6-rxjwx scope=dapr.runtime type=log ver=1.8.4-msft-2
eslam helmy
  • 71
  • 1
  • 4

0 Answers0