记录errors

Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))

服务器上爬虫遇到这个error,爬外国的网站会出现。查了一下说是proxy的问题。参考https://blog.csdn.net/m0_67390963/article/details/123771319关闭代理(all_proxy和ALL_PROXY也关闭),就正常了。

curl -vv https://www.github.com

测试通不通

pip install也出现这个错误,换国内镜像源就可以。

kex_exchange_identification: Connection closed by remote host

Connection closed by 20.205.243.166 port 22

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

git push的时候出现的error,使用命令

ssh -Tv git@github.com

之后git push就好了。

ImportError: DLL load failed while importing _igraph

试了好多方法都没用,最后参考https://igraph.discourse.group/t/dll-load-failed-while-importing-igraph-on-windows/668/12,下载安装vc_redist.x64.exe后成功。

4.

ConnectionError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /harfang3d/dogfight-sandbox-hg2/main/README.md (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11004] getaddrinfo failed'))

github爬虫时出现的,api.github.com可以爬,但是raw.githubusercontent.com不能爬。后来开了vpn就好了。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值