tag:help.appveyor.com,2012-11-13:/discussions/problems/22154-errors-downloading-dependencies-in-go-project-with-dep-ensureAppVeyor: Discussion 2019-03-12T17:34:28Ztag:help.appveyor.com,2012-11-13:Comment/470604842019-03-11T23:34:24Z2019-03-11T23:34:24ZErrors downloading dependencies in Go project with dep ensure<div><p>Hi Daniel,</p>
<p>Error <code>Internal Server Error exit status 128</code> is clearly remote server error, unrelated to AppVeyor. Also I see that <a href="https://circleci.com/gh/influxdata/telegraf/29384">your Circle CI build</a> failed the same way.</p>
<p>I would speculate (looking at error code) that it is Git issue on the backend system of go.googlesource.com which engineers responsible for this service most probably already noticed. So I would just wait. Or contact googlesource.com support.</p>
<p>Ilya.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/470604842019-03-12T00:07:23Z2019-03-12T00:07:25ZErrors downloading dependencies in Go project with dep ensure<div><p>Thanks, I hadn't noticed it on Circle CI before, but I only have caching setup over there so perhaps that reduces how often it fails. I'll be adding that to my build on appveyor soon hopefully.</p>
<p>I've been seeing this error off an on for a some time, <a href="https://ci.appveyor.com/project/influx/telegraf/builds/22762941">at least several weeks</a>, and I also found <a href="https://github.com/golang/dep/issues/1386#issuecomment-421288839">others with this issue</a>. I think swiching away from go.googlesource.com to the github mirrors will take care of it though, I'm just doing this by adding a source to my Gopkg.toml:<br></p>
<pre>
<code> [[constraint]]
branch = "master"
name = "golang.org/x/oauth2"
+ source = "https://github.com/golang/oauth2.git"</code>
</pre></div>Danieltag:help.appveyor.com,2012-11-13:Comment/470604842019-03-12T17:34:26Z2019-03-12T17:34:26ZErrors downloading dependencies in Go project with dep ensure<div><p>Sure, this I believe will be more reliable. Note that you can setup <a href="https://www.appveyor.com/docs/build-cache/">cache</a> with AppVeyor as well. Also you can add <code>appveyor-retry</code> before flaky commands.</p></div>Ilya Finkelshteyn