OpenLens icon indicating copy to clipboard operation
OpenLens copied to clipboard

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

Open jiangxiaoqiang opened this issue 3 years ago • 2 comments

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

jiangxiaoqiang avatar Aug 03 '22 15:08 jiangxiaoqiang

İ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

MuhammedKalkan avatar Aug 03 '22 17:08 MuhammedKalkan

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

jvanzyl avatar Aug 04 '22 01:08 jvanzyl

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.

jiangxiaoqiang avatar Aug 06 '22 17:08 jiangxiaoqiang