{"action":"created","issue":{"url":"https://api.github.com/repos/Aimeast/GitCandy/issues/18","repository_url":"https://api.github.com/repos/Aimeast/GitCandy","labels_url":"https://api.github.com/repos/Aimeast/GitCandy/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/Aimeast/GitCandy/issues/18/comments","events_url":"https://api.github.com/repos/Aimeast/GitCandy/issues/18/events","html_url":"https://github.com/Aimeast/GitCandy/issues/18","id":135741707,"number":18,"title":"服务会断掉","user":{"login":"CAH-FlyChen","id":1214546,"avatar_url":"https://avatars.githubusercontent.com/u/1214546?v=3","gravatar_id":"","url":"https://api.github.com/users/CAH-FlyChen","html_url":"https://github.com/CAH-FlyChen","followers_url":"https://api.github.com/users/CAH-FlyChen/followers","following_url":"https://api.github.com/users/CAH-FlyChen/following{/other_user}","gists_url":"https://api.github.com/users/CAH-FlyChen/gists{/gist_id}","starred_url":"https://api.github.com/users/CAH-FlyChen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CAH-FlyChen/subscriptions","organizations_url":"https://api.github.com/users/CAH-FlyChen/orgs","repos_url":"https://api.github.com/users/CAH-FlyChen/repos","events_url":"https://api.github.com/users/CAH-FlyChen/events{/privacy}","received_events_url":"https://api.github.com/users/CAH-FlyChen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-23T13:46:41Z","updated_at":"2016-02-25T00:55:18Z","closed_at":null,"body":"我做了jenkins和gitcandy的整合，定期从gitcandy上获取代码。但发现每过一定的时间后，jenkins就无法连上git服务器。此时，手动访问gitcandy网站，然后jenkins就又可以连接上服务器了。使用的是SSh"},"comment":{"url":"https://api.github.com/repos/Aimeast/GitCandy/issues/comments/188539465","html_url":"https://github.com/Aimeast/GitCandy/issues/18#issuecomment-188539465","issue_url":"https://api.github.com/repos/Aimeast/GitCandy/issues/18","id":188539465,"user":{"login":"CAH-FlyChen","id":1214546,"avatar_url":"https://avatars.githubusercontent.com/u/1214546?v=3","gravatar_id":"","url":"https://api.github.com/users/CAH-FlyChen","html_url":"https://github.com/CAH-FlyChen","followers_url":"https://api.github.com/users/CAH-FlyChen/followers","following_url":"https://api.github.com/users/CAH-FlyChen/following{/other_user}","gists_url":"https://api.github.com/users/CAH-FlyChen/gists{/gist_id}","starred_url":"https://api.github.com/users/CAH-FlyChen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CAH-FlyChen/subscriptions","organizations_url":"https://api.github.com/users/CAH-FlyChen/orgs","repos_url":"https://api.github.com/users/CAH-FlyChen/repos","events_url":"https://api.github.com/users/CAH-FlyChen/events{/privacy}","received_events_url":"https://api.github.com/users/CAH-FlyChen/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T00:55:18Z","updated_at":"2016-02-25T00:55:18Z","body":"解决方法：写一个gitcandy的任务（实现IJob），定期访问网站。代码参考：https://gitcandy.com/Repository/Blob/GitCandy.Jobs/master/GitCandy.Jobs/KeepAliveJob.cs\r\nhttps://gitcandy.com/Repository/Blob/GitCandy/dev/GitCandy/Base/MefDependencyResolver.cs"}}