AuthorizationPolicy Issue

Hi All,

I am trying to implement authorization policy to allow/deny traffic from one service to other…As soon as I am enabling AuthorizationPolicy with any option(deny/allow), I am getting below error -

upstream connect error or disconnect/reset before headers. reset reason: connection termination

Please advice.

can you provide the authorization policies, your deployment, istio version and what requests you’re sending?

I am actually new to authorization policies. Can you please share some good article/example to start it.

Yeah, sure, I think the best start is to read the basic security concept page https://istio.io/latest/docs/concepts/security/ and then try out the example tasks in a real cluster: https://istio.io/latest/docs/tasks/security/authorization/authz-http/