Go 安装 sqlite3 驱动报错 fatal: The remote end hung up unexpectedly

问题:在 Windows 平台下使用 go get 安装sqlite3 驱动时报错 The remote end hung up unexpectedly ?

原因及解决方法:

原因可能有两种:

  • 百度查了之后,说是 stackoverflow(缓冲区溢出了),找到一个解决方法.,直接执行下面的命令:
git config --global http.postBuffer 524288000

或者直接在配置文件中添加参数,如下所示:

打开该文件,在文件末尾添加:

[http]
postBuffer = 524288000
  • 如果上面的方法不行,还有一种可能是网络比较缓慢情况下,连接就断开了,解决方法是增加最低速度时间:
git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedTime 999999

参考文献:

  • https://www.jianshu.com/p/5f2348927504
  • https://www.cnblogs.com/wangkun1993/p/8514015.html

原文地址:https://www.cnblogs.com/xuejiale/p/10585787.html

时间: 2024-07-31 02:23:17

Go 安装 sqlite3 驱动报错 fatal: The remote end hung up unexpectedly的相关文章

【Git笔记】git报错 fatal: The remote end hung up unexpectedly

git提交报异常,fatal: The remote end hung up unexpectedly 上网找了一下原因,最后这个答案帮了我解决问题了. 1 git config http.postBuffer 524288000 我的问题估计是上传文件太大导致的. 参考原文:http://www.myexception.cn/mobile/1576333.html

Go 安装 sqlite3驱动报错

问题:最近在使用Go做一个博客示例,在使用go get 安装 sqlIite3的驱动遇到下面的问题(cc1.exe: sorry, unimplemented: 64-bit mode not compiled in),经过在网上搜索解决方法,发现是由于我的 GCC 是32位,需要64位的GCC. 解决方法: 安装 64 位的 GCC,有两种方法: 1. 下载mingw-w64-install.exe并安装 (1)下载安装 到https://sourceforge.net/projects/mi

git提交报异常,fatal: The remote end hung up unexpectedly

早上提交代码到 oschina代码库时,报了这个错误: Java代码   fatal: The remote end hung up unexpectedly 上网找了一下原因,各种答案都有,也是哈,这个提示太叼了,没有说明哪一部分有问题. 最后这个答案帮了我解决问题了. Java代码   git config http.postBuffer 524288000 我的问题估计是上传文件太大导致的.

ssh: Could not resolve hostname git.*****-inc.com : Temporary failure in name resolution fatal: The remote end hung up unexpectedly

问题出现的情景:使用git pull拉取开发的代码到测试服务器,报错: ssh: Could not resolve hostname git.****-inc.com : Temporary failure in name resolution fatal: The remote end hung up unexpectedly 解决: 1.确定本地的ssh相关的文件是正确的(参考[本地服务器配置Git]) 2.尝试了网上的方法,不是没root权限无法执行就是没解决问题,后来找运维解决了 原因

git push 文件过大时出错,fatal: The remote end hung up unexpectedly

可以修改配置文件: 1 使用命令:git config http.postBuffer = 524288000 2修改git文件夹中的config文件,加入如下一段: [http] postBuffer = 524288000

Git:fatal: The remote end hung up unexpectedly

一.配置公共密钥 https://help.github.com/articles/generating-ssh-keys/ 二.设置缓冲值(push文件较大时导致错误) \.git\config [http] postBuffer = 2428800

fatal: The remote end hung up unexpectedly

git push 的时候出错,提示: 遇见几次了,原因是因为文件太大,把限制放宽就好了.命令: git config http.postBuffer 524288000

【Mood-17】 github中在本地进行上传的时候出现ERROR: Repository not found. fatal: The remote end hung up unexpectedly

一开始出现这个错误的时候还感觉很奇怪,我明明在在本地中相应的库文件夹命令中输入: vim ./git/config 将文件中的 [remote “origin"]部分去掉!

Git配置非22端口,解决:ssh: connect to host xxx port 22: Connection timed out fatal: The remote end hung up unexpectedly

背景:私自搭建了Git服务器,而Git本身就是SSH进行连接的,而Git命令上默认只能通过22端口实现. 解决方法: 第一种: 在系统的用户目录下的文件夹:.ssh 如果该路径下没有config文件,则创建一个. config中添加如下内容: 如是以域名访问的则添加如下内容:(注意修改xxx为你的远程仓库的名称) Host xxx HostName xxx.com Port 3333 如是以IP访问的,则添加如下内容:(注意修改IP为你的远程仓库IP) Host "211.111.xx.xxx&