<p>I don't think it is the compatibility, need to really see your configuration to be sure. But most likely, you block something wrongly. If you use the default network policy api <code>networking.k8s.io/v1</code> notice that it only allows what is defined.</p>

CC BY-SA 4.0
2021-05-15T18:04:51.350Z
2021-05-15T18:04:51.350Z
Tin Pham
<p>I have created one application where I use <strong>Nginx-Ingress Controller version 3.29.0</strong>. Without using <strong>network security policy</strong> I'm able to access my application. But, after applying network security policy, I'm unable to access my application.
I checked all logs and troubleshoots the whole application but there is nothing anything odd. all my services and nginx ingress controller are working fine. But still when I go to access my application it will show me error that, <strong>&quot;To long to respond&quot;</strong>.</p>
<p>Can any one help me with this?
<strong>Is there anything like nginx-ingress controller is not compatible with network security policies or what?
and how can I solve this?</strong></p>
<p>Nginx-Ingress Controller version - 3.29.0
Kubernetes version - 1.19.7</p>
<p>Thank you.</p>

<azure-devops><nginx><ingress><azure-kubernetes-service>
Nginx-Ingress Controller are compatible with Network Security Policy or not?
Kaivalya Dambalkar
# Nginx-Ingress Controller are compatible with Network Security Policy or not?

(Asked by: username_0 on 2021-05-13)

I have created one application where I use **Nginx-Ingress Controller version 3.29.0**. Without using **network security policy** I'm able to access my application. But, after applying network security policy, I'm unable to access my application.
I checked all logs and troubleshoots the whole application but there is nothing anything odd. all my services and nginx ingress controller are working fine. But still when I go to access my application it will show me error that, **"To long to respond"**.

Can any one help me with this?
**Is there anything like nginx-ingress controller is not compatible with network security policies or what?
and how can I solve this?**

Nginx-Ingress Controller version - 3.29.0
Kubernetes version - 1.19.7

Thank you.

**Tags:** azure-devops, nginx, ingress, azure-kubernetes-service


---

## 1 answers

### Answer by username_1 on 2021-05-15. Score: 1

I don't think it is the compatibility, need to really see your configuration to be sure. But most likely, you block something wrongly. If you use the default network policy api `networking.k8s.io/v1` notice that it only allows what is defined.


---

