tls handshake timeout解决方案
docker pull 错误 net/http: TLS handshake timeout 的解决方案有两种。问题原因 :该命令默认从docker远端镜像仓库中拉取镜像,但由于远端仓库的服务器是在国外,我们国内有的用户很可能都访问不了。
tls handshake timeout解决方案一:使用国内镜像daocloud镜像加速器
该方法需要配置加速器的镜像地址:register.mirror
Linux中使用命令:curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://d1d9aef0.m.daocloud.io 该脚本可以将 --registry-mirror 加入到你的 Docker 配置文件 /etc/docker/daemon.json 中。适用于 Ubuntu14.04、Debian、CentOS6 、CentOS7、Fedora、Arch Linux、openSUSE Leap 42.1,其他版本可能有细微不同
Windows中:在桌面右下角状态栏中右键 docker 图标,修改在 Docker Daemon 标签页中的 json ,把下面的地址:http://d1d9aef0.m.daocloud.io 加入到"registry-mirrors"的数组里。点击 Apply 。
MacOS中:右键点击桌面顶栏的 docker 图标,选择 Preferences ,在 Daemon 标签(Docker 17.03 之前版本为 Advanced 标签)下的 Registry mirrors 列表中加入下面的镜像地址:http://d1d9aef0.m.daocloud.io 点击 Apply & Restart 按钮使设置生效。
tls handshake timeout
tls handshake timeout解决方案相关推荐
- docker 错误 request canceled while waiting for connection 或 TLS handshake timeout 解决方案
使用docker 拉镜像的时候,出现下面的错误: net/http: request canceled while waiting for connection (Client.Timeout exc ...
- Cloud Foundry 运行bosh create-env时报错: TLS handshake timeout
在Linux上使用Bosh创建Director的时候报错,如下: bosh create-env bosh-deployment/bosh.yml \--state state.json \ --va ...
- error pulling image configuration:XXX net/http: TLS handshake timeout
docker pull 下载镜像,出现这些错误 主要是因为docker镜像的在国外无法下载的问题. 可以修改为阿里云的加速镜像 配置的命令: sudo mkdir -p /etc/docker sud ...
- k8s client-go 出现错误net/http: TLS handshake timeout
原因是程序使用了IDE配置的代理, 去掉代理就可以了 配置代理排除 192.168.1.0/24, 10.0.0.0/8,
- docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: TLS handshake ti
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: TLS handshake ti ...
- 报错 proxyconnect tcp: tls: first record does not look like a TLS handshake
使用代理时出现此报错,解决方案如下 # 报错内容 Error: looks like "https://prometheus-community.github.io/helm-charts& ...
- docker配置代理pull报错:proxyconnect tcp: tls: first record does not look like a TLS handshake
1.docker pull mysql报错 [root@k8s docker.service.d]# docker pull mysql Using default tag: latest Error ...
- TLS Handshake failed: tls: server selected unsupported protocol version 301
TLS Handshake failed: tls: server selected unsupported protocol version 301 问题 问题分析 解决方法 问题 使用gorm链接 ...
- http: TLS handshake error from xxx.xxx.xxx.xxx:xxxx : read tcp xxx.xxx.xxx.xxx:6443->xxx.xxx.xxx.xxx
目录 一.问题描述 二.问题分析 解决方法: 一.问题描述 使用阿里云SLB做 kube-apiserver负载,查看kube-apiserver 日志一直在报 TLS handshake error ...
最新文章
- MySQL面试题 | 附答案解析(十二)
- Linux基础命令---lpr
- 微信小程序获取openid
- AT5160-[AGC037C]Numbers on a Circle【贪心,堆】
- 怎么删除python3.7注册表内容_python3操作注册表的方法(Url protocol)
- QtDesigner如何添加工具栏toolBar
- 一起学java【5】---原生态数据类型使用陷阱
- Android Support Library更新到v22.1之AppCompat新特性
- a:active在ios上无效解决方法
- python毕业设计作品基于django框架 景区购票系统毕设成品(6)开题答辩PPT
- bootcamp opencore_macbook pro用启动转换助理(bootcamp)安装win10踩的坑 | ZPY博客
- VUE项目开发的完整流程
- composer与laravel安装
- 电脑运行c语言程序就蓝屏,常见电脑蓝屏代码,产生原因和解决办法
- 费用分摊分配用法(KSU5/KSV5/KB21N/KB11N)
- 10个互联网兼职平台,让你的一技之长变现,副业薪资比日常搬砖高也太爽了
- 只查看ett.txt文件(100行)内第20行到30行的内容
- (MDY)2021秋季软件工程 alpha冲刺完善
- 怎样用Netfilter/IPtables控制P2P流量
- 关于巴伦——Marchand巴伦