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就好了。