[SOLVED / FIXED] Kubesphere request to http //ks-apiserver/oauth/token failed
ERROR:
After Kubesphere installation is successful when user tries to login this error appears:
request to http //ks-apiserver/oauth/token failed
SOLUTION:
In our case the Pod network seems to be not working. We installed Weave works pod network and issue got resolved.
kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 | tr -d '\n')"