MuhammedKalkan / OpenLens

OpenLens Binary Build Repository
4.04k stars 271 forks source link

Error: ERR_FAILED (-2) loading 'http://localhost:64661' #23

Closed jiangxiaoqiang closed 2 years ago

jiangxiaoqiang commented 2 years ago

when I open the openlens 6.0.0 in macOS 12.5 with M1 pro chip,shows error:

Error: ERR_FAILED (-2) loading 'http://localhost:64661'

what should I do to fix this problem?

image
MuhammedKalkan commented 2 years ago

İs there an active process that prevents certain ports? Maybe a corporate antivirus or firewall of some kind. At first glance,it doesnt look like something with Lens

jvanzyl commented 2 years ago

I believe port 64661 is Apple Xsan. Are you using a form of remoting into a Mac and trying to run Lens? If so you may need to use the general security fix which is:

sudo xattr -r -d com.apple.quarantine "/Applications/OpenLens.app

jiangxiaoqiang commented 2 years ago

Finally I found that my kubernetes cluster certificate was expired, the default valid time was 1 year when using kubeadm to install the kubernetes cluster.