Jenkins+GitHub报错hudson.plugins.git.GitException: Failed to fetch from GitHub 443
生活随笔
收集整理的這篇文章主要介紹了
Jenkins+GitHub报错hudson.plugins.git.GitException: Failed to fetch from GitHub 443
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
偶然?總是?
在配置 源碼管理的時候
使用https 進行代碼的下載
配置的是用戶名和密碼
但是在執行構建的時候,總是會報錯 443,但是偶爾也會有幾次成功下載的,所以就很奇怪!!!!!!!!!!
fatal: unable to access 'https://github.com/xxx': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443永久解決:配置SSH
使用Docker安裝的Jenkins
!!! 非docker安裝的,忽略 第一步:進入容器
1. 進入容器
[root@iZ2zeblcb2evknzc1xbhunZ ~]# docker exec -it 容器ID /bin/bash2. 生成密鑰
bash-5.1# ssh-keygen -t rsa -b 4096 -C "GitHub郵箱"3. 查看公鑰并配置GitHub
查看
cat /root/.ssh/id_rsa.pubGitHub配置
https://github.com/settings/ssh/new查看私鑰并配置項目
查看私鑰
bash-5.1# cat /root/.ssh/id_rsa使用git@git.com 進行管理
添加私鑰憑證
總結
以上是生活随笔為你收集整理的Jenkins+GitHub报错hudson.plugins.git.GitException: Failed to fetch from GitHub 443的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ssh / sftp 远程登录出现:RS
- 下一篇: InvalidKeyException: