<p>I have a managed azure cluster (AKS) with nginx ingress in it.
It was working fine but now nginx ingress stopped:</p>
<pre><code># kubectl -v=7 logs nginx-ingress-&lt;pod-hash&gt; -n nginx-ingress
GET https://&lt;PRIVATE-IP-SVC-Kubernetes&gt;:443/version?timeout=32s
I1205 16:59:31.791773       9 round_trippers.go:423] Request Headers:
I1205 16:59:31.791779       9 round_trippers.go:426]     Accept: application/json, */*
Unexpected error discovering Kubernetes version (attempt 2): an error on the server (&quot;&quot;) has prevented the request from succeeding
</code></pre>
<pre><code># kubectl describe svc kubernetes
Name:              kubernetes
Namespace:         default
Labels:            component=apiserver
                   provider=kubernetes
Annotations:       &lt;none&gt;
Selector:          &lt;none&gt;
Type:              ClusterIP
IP:                &lt;PRIVATE-IP-SVC-Kubernetes&gt;
Port:              https  443/TCP
TargetPort:        443/TCP
Endpoints:         &lt;PUBLIC-IP-SVC-Kubernetes&gt;:443
Session Affinity:  None
Events:            &lt;none&gt;
</code></pre>
<p>When I tried to <code>curl https://PRIVATE-IP-SVC-Kubernetes:443/version?timeout=32s</code>, I've always seen the same output:</p>
<p><code>curl: (35) SSL connect error</code></p>

<p>On my OCP 4.7 (OpenShift Container Registry) instances with 3 of master and 2 of worker nodes, the following log appears after <code>kubelet</code> and <code>oc</code> commands.</p>
<pre><code>$ kubectl version
Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;20&quot;, GitVersion:&quot;v1.20.1-5-g76a04fc&quot;, GitCommit:&quot;e29b355&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2021-06-03T21:19:58Z&quot;, GoVersion:&quot;go1.15.7&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}
Error from server (InternalError): an error on the server (&quot;&quot;) has prevented the request from succeeding

$ oc get nodes
Error from server (InternalError): an error on the server (&quot;&quot;) has prevented the request from succeeding
</code></pre>
<p>Also, when I wanted to login to the OCP dashboard, the following error occurred:</p>
<pre><code>error_description&quot;: &quot;The authorization server encountered an unexpected condition that prevented it from fulfilling the request
</code></pre>
<p>I restarted the whole master node machines then the problem solved.</p>
