
【解决Error: pull model manifest: Get “https://registry.ollama.ai/v2/library/deepseek/manifests/r1-7b“】
完美解决:Error: pull model manifest: Get "https://registry.ollama.ai/v2/library/deepseek/manifests/r1-7b": read tcp 172.17.0.2:53840->104.21.75.227:443: read: connection reset by peer
·
一、通过ollama无法拉取deepseek-r1:7b
报错:Error: pull model manifest: Get "https://registry.ollama.ai/v2/library/deepseek/manifests/r1-7b": read tcp 172.17.0.2:53840->104.21.75.227:443: read: connection reset by peer
二、通过docker无法拉取数据库镜像
三、排查并解决
3.1 排查原因
当时准备本地部署deepseek来用一下,结果在公司一台物理机上部署系统,通过ollama无法拉取deepseek模型,一直在网上找方法,还是解决不了…
最后才发现原因,第一:是公司的这个出口地址被对端封禁了,一直无法访问,可能是我们公司很多同事不间断的去频繁访问拉取;第二:网上很多解决方法让配置代理,结果配置代理,还是不得行,ollama以及对应的deepseek模型在国内没有限制,可以直接拉取,无需代理。
3.2 直接解决
1、排查到第一个原因后,直接更换出口地址,或者换其他网络,直接解决!
2、关闭代理
#查看代理并删除配置的代理文件
env grep -i proxy
#取消代理
unset http_proxy
unset https_proxy
3.3 ubuntu无法安装dify的解决办法
执行命令 git clone https://github.com/langgenius/dify.git 报错,无法拉取
直接解决:关闭ubuntu自带的所有代理
unset http_proxy
unset https_proxy
unset HTTPS_PROXY
unset HTTP_PROXY
更多推荐
所有评论(0)