推送到Git储备库时I / O超时

时间:2019-11-20 19:10:29

标签: git github atlassian-sourcetree git-lfs

我正在将Sourcetree客户端用于Git。

当我尝试推送最新提交时,出现此错误:

Pushing to https://github.com/<my project>.git
Uploading LFS objects:   0% (0/2), 1.0 GB | 23 MB/s, done
LFS: Put https://github-cloud.s3.amazonaws.com/alambic/media/236885180/82/06/8206f95c5f11de61a3cb31e8a9047de62a43c832ad3aa569ee16386b01ed53d6?actor_id=37049664: read tcp <ip>->52.216.25.116:443: i/o timeout
LFS: Put https://github-cloud.s3.amazonaws.com/alambic/media/236885180/00/99/0099579d1f280c937c1aa2a5b63d41b35df2f149d5c652f2619dadc60cbb9553?actor_id=37049664: read tcp <ip>->52.216.25.116:443: i/o timeout

error: failed to push some refs to 'https://github.com/<my project>.git'
Completed with errors, see above.

1 个答案:

答案 0 :(得分:0)

解决方案是更改dialtimeout和activitytimeout lfs值,我将它们更改为非常高的值(3600)。