Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes on git failure #11

Closed
freman opened this issue Oct 20, 2017 · 2 comments
Closed

Crashes on git failure #11

freman opened this issue Oct 20, 2017 · 2 comments

Comments

@freman
Copy link

freman commented Oct 20, 2017

Not entirely sure as to the mechanism behind the failure but it became unusable overnight which made me frowny face

Oct 20 20:27:54 river env[28229]: git-upload-pack done with exit 0
Oct 20 20:27:54 river env[28229]: POST /github.com/hashicorp/golang-lru/git-upload-pack
Oct 20 20:27:54 river env[28229]: authenticating on the upstream repo
Oct 20 20:27:54 river env[28229]: updating: fetch failed, cloning
Oct 20 20:27:54 river env[28229]: /usr/lib/node_modules/git-cache-http-server/bin/git-cache-http-server.js:91
Oct 20 20:27:54 river env[28229]:                                         throw new js__$Boot_HaxeError("git clone exited with non-zero status: " + cerr.code);
Oct 20 20:27:54 river env[28229]:                                         ^
Oct 20 20:27:54 river env[28229]: Error: git clone exited with non-zero status: 128
Oct 20 20:27:54 river env[28229]:     at /usr/lib/node_modules/git-cache-http-server/bin/git-cache-http-server.js:91:12
Oct 20 20:27:54 river env[28229]:     at ChildProcess.exithandler (child_process.js:278:5)
Oct 20 20:27:54 river env[28229]:     at emitTwo (events.js:125:13)
Oct 20 20:27:54 river env[28229]:     at ChildProcess.emit (events.js:213:7)
Oct 20 20:27:54 river env[28229]:     at maybeClose (internal/child_process.js:927:16)
Oct 20 20:27:54 river env[28229]:     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
Oct 20 20:27:56 river systemd[1]: git-cache-http-server.service: Main process exited, code=exited, status=1/FAILURE
Oct 20 20:27:56 river systemd[1]: git-cache-http-server.service: Unit entered failed state.
Oct 20 20:27:56 river systemd[1]: git-cache-http-server.service: Failed with result 'exit-code'.
Oct 20 22:00:01 river systemd[1]: Started Caching git http server.

Simply restarting it fixed it

@jonasmalacofilho
Copy link
Owner

Github experienced increased error rates this evening.


Additionally, you can check out #9 for increased logging of git errors and #8 for what's planned in terms of more resilience to fetch errors.

@jonasmalacofilho
Copy link
Owner

See also: https://status.github.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants