我在 digital ocean 上使用 dokku 一段时间了,没有任何问题
我现在在利用以下命令部署到 dokku 时遇到问题:
git remote add dokku dokku@some-ip:myapp
git push dokku develop:master
我有以下问题:
Counting objects: 528, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (509/509), done.
packet_write_wait: Connection to some-ip port 22: Broken pipe
fatal: The remote end hung up unexpectedly
error: failed to push some refs to 'dokku@some-ip:myapp'
I try
- set
ServerAliveInterval
对于 ssh 客户端
-
git config http.postBuffer 209715200
/ git config ssh.postBuffer 209715200
但它不起作用。我认为这是因为要推送的内容有点大......
感谢您的帮助!
Update
设置后postBuffer
值的选项209715200
,我收到以下错误:
Counting objects: 528, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (353/353), done.
Timeout, server some-ip not responding.38.00 KiB/s
fatal: The remote end hung up unexpectedly
error: failed to push some refs to 'dokku@some-ip:myapp'
上传挂起之前我得到的最后一个进度提示是:
Writing objects: 87% (466/531), 33.85 MiB | 120.00 KiB/s