<p>My Go build on Travis CI got rate-limited and I was wondering if somebody would know what to do or who to contact in order to mitigate these situations?</p>
<p>Here is the logs I got:</p>
<pre><code>go get -t ./...
# cd .; git clone https://go.googlesource.com/net /home/travis/gopath/src/golang.org/x/net
Cloning into '/home/travis/gopath/src/golang.org/x/net'...
remote: Short term bandwidth rate limit exceeded for IP 54.172.141.90.
fatal: protocol error: bad pack header
package github.com/Sirupsen/logrus
imports github.com/davecgh/go-spew/spew
imports github.com/fatih/color
imports github.com/mattn/go-isatty
imports github.com/shiena/ansicolor
imports github.com/gorilla/websocket
imports github.com/imdario/mergo
imports github.com/mitchellh/mapstructure
imports github.com/prometheus/client_golang/prometheus
imports github.com/beorn7/perks/quantile
imports github.com/golang/protobuf/proto
imports github.com/prometheus/client_model/go
imports github.com/prometheus/common/expfmt
imports bitbucket.org/ww/goautoneg
imports github.com/matttproud/golang_protobuf_extensions/pbutil
imports github.com/prometheus/procfs
imports github.com/ugorji/go/codec
imports golang.org/x/net/context: exit status 128
# cd .; git clone https://go.googlesource.com/crypto /home/travis/gopath/src/golang.org/x/crypto
Cloning into '/home/travis/gopath/src/golang.org/x/crypto'...
remote: Short term bandwidth rate limit exceeded for IP 54.172.141.90.
fatal: protocol error: bad pack header
package github.com/Sirupsen/logrus
imports github.com/davecgh/go-spew/spew
imports github.com/fatih/color
imports github.com/mattn/go-isatty
imports github.com/shiena/ansicolor
imports github.com/gorilla/websocket
imports github.com/imdario/mergo
imports github.com/mitchellh/mapstructure
imports github.com/prometheus/client_golang/prometheus
imports github.com/beorn7/perks/quantile
imports github.com/golang/protobuf/proto
imports github.com/prometheus/client_model/go
imports github.com/prometheus/common/expfmt
imports bitbucket.org/ww/goautoneg
imports github.com/matttproud/golang_protobuf_extensions/pbutil
imports github.com/prometheus/procfs
imports github.com/ugorji/go/codec
imports github.com/stretchr/testify/assert
imports github.com/codegangsta/cli
imports github.com/boltdb/bolt
imports github.com/aws/aws-sdk-go/aws
imports github.com/vaughan0/go-ini
imports github.com/aws/aws-sdk-go/service/sqs
imports github.com/garyburd/redigo/redis
imports github.com/smartystreets/goconvey/convey
imports github.com/jtolds/gls
imports github.com/smartystreets/assertions
imports github.com/abbot/go-http-auth
imports golang.org/x/crypto/bcrypt: exit status 128
make: *** [deps-get] Error 1
K
The command "make deps-get" failed and exited with 2 during .
</code></pre>
<p>Thank you for you help.</p>
<hr/>**评论:**<br/><br/>kavehmz: <pre><p>Do another push and you might get a different IP.</p></pre>epic_pork: <pre><p>You could try to vendor the dependencies with submodules and clone your repo recursively.</p></pre>adam_0: <pre><p>Sounds like you should contact Travis and make sure they know about this problem and are working on a solution.</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传