<p>After installing microk8s and then enabling kubeflow I'm given the username, password and link to Kubeflow dashboard. Then I access the dashboard as expected and all is well. BUT after restarting my machine and executing microk8s start I can no longer get to the kubeflow dashboard.</p>
<p>All the pods start fine and then I go to access the dashboard and get:</p>
<pre><code>Access to 10.64.140.44.nip.io was denied
You don't have authorisation to view this page.
HTTP ERROR 403
</code></pre>
<p>Looking at the kubernetes logs for the pod/container oidc-gatekeeper-xxxxx / oidc-gatekeeper I have:</p>
<pre><code>level=error msg=&quot;Failed to exchange authorization code with token: oauth2: cannot fetch token: 401 Unauthorized\nResponse: {\&quot;error\&quot;:\&quot;invalid_client\&quot;,\&quot;error_description\&quot;:\&quot;Invalid client credentials.\&quot;}&quot; ip=10.1.252.88 request=&quot;/authservice/oidc/callback?code=ipcb55gymqsy5pcgjn7eaenad&amp;state=MTYyMjYzNjE4OHxFd3dBRURoMVZtSm9Wak4yUXpWQlYxZ3pPVWs9fPTKezGok06ig6bjtYvWt9sqhzaCpO_xhSMeTUFDL81j&quot;
</code></pre>
<p>And for pod/container dex-auth-5d9bf87db9-rjtm8 / dex-auth:</p>
<pre><code>level=info msg=&quot;invalid client_secret on token request for client: authservice-oidc&quot;
</code></pre>
<p>Only by removing microk8s altogether and reinstalling everytime I restart my machine can I get this working again which is obviously not workable.</p>
<p>Any help would be greatly appreciated.</p>

Nathan
<p>I've managed to resolve the issue but I'm not 100% sure which action resolved it.</p>
<p>I tried using Firefox rather than Chrome and noticed some documentation used IP <a href="http://10.64.140.43.nip.io/" rel="nofollow noreferrer">http://10.64.140.43.nip.io/</a> rather than <a href="http://10.64.140.44.nip.io/" rel="nofollow noreferrer">http://10.64.140.44.nip.io/</a>.</p>
<p>Having been refused access as above for <a href="http://10.64.140.44.nip.io/" rel="nofollow noreferrer">http://10.64.140.44.nip.io/</a> I found <a href="http://10.64.140.43.nip.io/" rel="nofollow noreferrer">http://10.64.140.43.nip.io/</a> took me straight into the dashboard.</p>
<p>I restarted my machine to see if it was just the IP (note: checking &quot;microk8s kubectl get services -n kubeflow&quot; specified 10.64.150.44 as the external IP), but this time <a href="http://10.64.140.44.nip.io/" rel="nofollow noreferrer">http://10.64.140.44.nip.io/</a> just gave me the dex log in screen and after logging in took me to the dashboard without issue.</p>
<p>Perhaps I just did something wrong somewhere, I'm not sure and can't check now it works as it should. Apologise if you get here with the issue and this doesn't help.</p>
