projector-user@storage:~/go/src/github.com$ git clone https://github.com/kubernetes/kubernetes.git Cloning into 'kubernetes'... fatal: unable to access 'https://github.com/kubernetes/kubernetes.git/': server certificate verification failed. CAfile: none CRLfile: none
拉取失败,提示CA证书问题,通过以下命令解决:
1
git config --global http.sslVerify false
又拉取失败:
1 2 3 4 5
projector-user@storage:~/go/src/github.com$ git clone https://github.com/kubernetes/kubernetes.git Cloning into 'kubernetes'... fatal: unable to update url base from redirection: asked for: https://github.com/kubernetes/kubernetes.git/info/refs?service=git-upload-pack redirect: http://x.x.x.x/proxy.html?template=default&tabs=pwd&vlanid=0&url=https://github.com%2Fkubernetes%2Fkubernetes.git%2Finfo%2Frefs%3Fservice%3Dgit-upload-pack
通过查看启动日志确认ssl是否配置成功,如下日志所示,WebSocket SSL is enabled: /root/ssl/ssl.properties表示配置成功,此时在浏览器用https://xxx:8887/?wss访问即可。
1 2 3 4 5 6 7 8 9 10 11 12 13
Found IDE: goland OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release. [DEBUG] :: IdeState :: Starting attempts to Init ProjectorClassLoader [DEBUG] :: IdeState :: Starting attempts to attach IJ injector agent [DEBUG] :: IdeState :: Starting attempts to initialize IDEA: fix AA and disable smooth scrolling (at start) [DEBUG] :: IdeState :: Starting attempts to Getting IDE colors [DEBUG] :: ProjectorServer :: Daemon thread starts [DEBUG] :: IdeState :: Starting attempts to search for editors [INFO] :: ProjectorServer :: ProjectorServer is starting on host 0.0.0.0/0.0.0.0 and port 8887 [INFO] :: HttpWsServerBuilder :: WebSocket SSL is enabled: /root/ssl/ssl.properties [INFO] :: HttpWsServer :: Server started on host 0.0.0.0/0.0.0.0 and port 8887 [DEBUG] :: IdeState :: "Init ProjectorClassLoader" is done [DEBUG] :: IdeState :: "search for editors" is done