curl https 网站 出现报错 解决办法: You can use the domain name as usual but override the resolver like so: curl -v --resolve subdomain.example.com::x.x.x.x https://subdomain.example.com/ It might be awkward to maintain a lot of such mappings though. You might…
git同步遇到报错“fatal: unable to access 'https://github.com/lizhong24/mysite2.git/': Peer reports incompatible or unsupported protocol version.” 解决办法: yum update -y nss curl libcurl 问题解决了.…
Issue: When you execute Yum installation or update, you may encounter following error: Loaded plugins: fastestmirror, langpacks Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was 14:…
系统访问由http变为https,先申请了CA证书,然后win下浏览器访问时没问题的,但是linux下通过curl的方式访问就报错: curl:(51) SSLcertificate subject name '*.xxxxxx.com does not match target host name '10.10.xxx.xxx'. 意思是SSL证书使用者名称与目标主机名不匹配. 百度良久,基本修改方式有两种, 方法一:设定为不验证证书和host ,是一段php的代码,如下写法: $url =…
遇到一个奇葩问题,访问我们自己的网站接口,有的网段访问正常, 有的网段访问,有时正常有时报 curl(56) Recv failure: Connection reset by peer 而且同一个网段访问也是这样 . 在本机上访问一直都是报这样的错误. 服务器的防火墙关闭了,ping没有丢包,telnet 端口正常,机器也重启了,还是不行,实在找不到解决办法,只能要求换机器了. 下面是用tcpdump抓包 # tcpdump -i bond0 host ip地址 ###正常数据包 listen…
使用git push -u origin master 命令向远程仓库提交代码时报错:Peer certificate cannot be authenticated with known CA certificates 这个报错的字面意思是对端的CA证书不能被指明的CA证书认证. 因为git 操作远程仓库的时候 使用的是curl命令,所以curl命令同样报错. curl 命令可以使用 -k参数关闭掉证书验证,那么git 如何设置来关闭证书验证呢? 解决方法: git config --glob…
wget命令报错.无法解析域名"www.keepalived.rog" [vagrant@RS1 download]$ wget http://www.keepalived.org/software/keepalived-1.2.12.tar.gz --2014-05-05 11:06:14--  http://www.keepalived.org/software/keepalived-1.2.12.tar.gz Resolving www.keepalived.org... fai…
cas启用mongodb验证方式报错--Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/data/mongo] 完整报错信息如下: 二月 08, 2017 3:49:47 下午 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring root Web…
打开终端,执行命令: 1.sudo chown -R XXX /usr/local  (XXX表示当前用户名) 2.ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 提示报错: warning: unable to access '/Users/lucky/.config/git/attributes': Permission denied 出现此问题的原因…
使用git命令来给vscode安装go插件的时候报错,如下: $ git clone https://github.com/golang/tools.git tools Cloning into 'tools'... fatal: unable to access 解决办法如下: 执行命令: git config http.postBuffer 524288000 注意524288000算法:1024*1024*500 出现如下错误:curl 56 OpenSSL SSL_read:SSL_ER…