http: server gave HTTP response to HTTPS client
来源:互联网 发布:sublime text3配置php 编辑:程序博客网 时间:2024/05/20 17:43
docker出现一下错误;
Error getting v2 registry: Get https://10.27.1.55:8887/v2/: http: server gave HTTP response to HTTPS client
看这个错误我真的以为是没加
--insecure-registry 10.27.1.55:8887
导致的
看看我的systemctl里的配置
[Unit]
Description=Docker Application Container Engine
Documentation=http://docs.docker.com
After=network.target rhel-push-plugin.socket
Wants=docker-storage-setup.service
[Service]
Type=notify
NotifyAccess=all
EnvironmentFile=-/etc/sysconfig/docker
EnvironmentFile=-/etc/sysconfig/docker-storage
EnvironmentFile=-/etc/sysconfig/docker-network
Environment=GOTRACEBACK=crash
ExecStart=/usr/bin/docker-current daemon \
--exec-opt native.cgroupdriver=systemd \
--insecure-registry 10.27.1.55:8887 \
$OPTIONS \
$DOCKER_STORAGE_OPTIONS \
$DOCKER_NETWORK_OPTIONS \
$ADD_REGISTRY \
$BLOCK_REGISTRY \
$INSECURE_REGISTRY
LimitNOFILE=1048576
LimitNPROC=1048576
LimitCORE=infinity
TimeoutStartSec=0
MountFlags=slave
Restart=on-abnormal
[Install]
WantedBy=multi-user.target
配置没错呀,百思不得其解
最终发现,是以前我配了一个proxy给docker
vi /etc/systemd/system/docker.service.d/http-proxy.conf
但是现在这个代理又套了一层代理,流量导向了其他地方于是就是跪了
把这个代理就好了
- http: server gave HTTP response to HTTPS client
- http: server gave HTTP response to HTTPS client 错误
- docker server gave HTTP response to HTTPS client
- docker registry push错误“server gave HTTP response to HTTPS client”
- Docker 私有仓库,上传镜像报错:server gave HTTP response to HTTPS client
- 005-搭建私有仓库,上传镜像报错:server gave HTTP response to HTTPS client
- docker server gave HTTP response to HTTPS client 问题处理办法
- docker registry push错误“server gave HTTP response to HTTPS client”
- docker registry push错误“server gave HTTP response to HTTPS client”
- Docker 私有仓库,上传镜像报错:server gave HTTP response to HTTPS client
- docker pull 报错Get https://xxx.xxx.xxx.xxx:5000/v1/_ping: http: server gave HTTP response
- python创建http/https server和client
- http server response 一览
- go http client, http server
- Netty Http server & Client
- The server failed to respond with a valid HTTP response
- Redirect http to https
- http to https additions
- 对象的内存结构分析
- 解决SecureCRT无法用非root账号登录ssh
- piwik安装部署最佳实践
- LayoutManagerDemo:仿探探、人人影视 卡片层叠 炫动滑
- oracle 利用存储过程为表动态建立索引
- http: server gave HTTP response to HTTPS client
- JSP 页面中对Cookie的操作
- Unity中调用文件选择对话框
- #632 – 使用PreviewTextInput事件阻止用户输入(Block Input Using PreviewTextInput)
- 【深度学习:CNN】BP算法
- 自动化测试需要的环境变量
- 3427: Poi2013 Bytecomputer
- Namenode HA
- 决策树