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

Time sync issue for github api #123

Closed
anujg opened this issue Apr 28, 2018 · 2 comments
Closed

Time sync issue for github api #123

anujg opened this issue Apr 28, 2018 · 2 comments

Comments

@anujg
Copy link

anujg commented Apr 28, 2018

Hi Sam,

I am experiencing the same issue as https://issues.jenkins-ci.org/browse/JENKINS-47154.

You have listed there that you resolved it by installing ntpdate. I am not able to do that in the current jervis docker container that I have running locally. (I don't see timedatectl installed in my ubuntu container and not able to install it also)
Can you please give the steps that you followed to install ntpdate, or how to update the time in the jervis container?

Thanks
Anuj

@samrocketman
Copy link
Owner

It’s not in the docker container. It’s in the vagrant VM I experienced it. ntpdate is a yum package. It provides the ntpdate command.

yum install ntpdate
ntpdate -s time.nist.gov

@samrocketman
Copy link
Owner

Per the link in that Jenkins issue this is likely resolved upstream hub4j/github-api#595

I haven’t encountered this in a few years.

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

No branches or pull requests

2 participants