{"action":"created","issue":{"url":"https://api.github.com/repos/capitalone/Hygieia/issues/314","repository_url":"https://api.github.com/repos/capitalone/Hygieia","labels_url":"https://api.github.com/repos/capitalone/Hygieia/issues/314/labels{/name}","comments_url":"https://api.github.com/repos/capitalone/Hygieia/issues/314/comments","events_url":"https://api.github.com/repos/capitalone/Hygieia/issues/314/events","html_url":"https://github.com/capitalone/Hygieia/issues/314","id":132127142,"number":314,"title":"github collector not working for plain git installations ( no GUI)","user":{"login":"smsuresh","id":10332154,"avatar_url":"https://avatars.githubusercontent.com/u/10332154?v=3","gravatar_id":"","url":"https://api.github.com/users/smsuresh","html_url":"https://github.com/smsuresh","followers_url":"https://api.github.com/users/smsuresh/followers","following_url":"https://api.github.com/users/smsuresh/following{/other_user}","gists_url":"https://api.github.com/users/smsuresh/gists{/gist_id}","starred_url":"https://api.github.com/users/smsuresh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smsuresh/subscriptions","organizations_url":"https://api.github.com/users/smsuresh/orgs","repos_url":"https://api.github.com/users/smsuresh/repos","events_url":"https://api.github.com/users/smsuresh/events{/privacy}","received_events_url":"https://api.github.com/users/smsuresh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-08T12:17:10Z","updated_at":"2016-02-09T18:53:30Z","closed_at":null,"body":"SETUP:\r\n  Centos 6 & 7\r\n  Git installed\r\n  Apache configured for http, No authentication ,just http://,machineIP>/repos.git/   --> this is working in browser..\r\n\r\n\r\nWhere as, in Hygieia dashboard\r\nWhen i give\r\nRepoType - github\r\nrepoURL = http://<machine IP>/repos\r\nBranch = refs/heads/master\r\n\r\n\r\n---------------\r\n\r\nERROR IN LOG\r\n\r\n\r\n\r\n2016-02-08 12:14:00,000 INFO  c.c.d.collector.CollectorTask - Running Collector: GitHub\r\n2016-02-08 12:14:00,002 INFO  c.c.d.collector.GitHubCollectorTask - ------------------------------\r\n2016-02-08 12:14:00,002 INFO  c.c.d.collector.GitHubCollectorTask - Starting...\r\n2016-02-08 12:14:00,002 INFO  c.c.d.collector.GitHubCollectorTask - ------------------------------\r\n2016-02-08 12:14:00,022 INFO  c.c.d.collector.DefaultGitHubClient - API URL IS:http://1.1.1.1/api/v3/repos/repos\r\n2016-02-08 12:14:00,022 INFO  c.c.d.collector.DefaultGitHubClient - URL page is: http://1.1.1.1/api/v3/repos/repos/commits?sha=master&since=2016-02-08T12:04Z\r\n2016-02-08 12:14:00,025 WARN  o.s.web.client.RestTemplate - GET request for \"http://1.1.1.1/api/v3/repos/repos/commits?sha=master&since=2016-02-08T12:04Z\" resulted in 404 (Not Found); invoking error handler\r\n2016-02-08 12:14:00,025 ERROR c.c.d.collector.DefaultGitHubClient - 404 Not Found:http://1.1.1.1/api/v3/repos/repos/commits?sha=master&since=2016-02-08T12:04Z\r\n2016-02-08 12:14:00,025 INFO  c.c.d.collector.GitHubCollectorTask - Repo Count         1        0s\r\n2016-02-08 12:14:00,025 INFO  c.c.d.collector.GitHubCollectorTask - New Commits        0        0s\r\n2016-02-08 12:14:00,025 INFO  c.c.d.collector.GitHubCollectorTask - Finished                    0s\r\n\r\n\r\n\r\n\r\n-------------------\r\nPlease help ASAP."},"comment":{"url":"https://api.github.com/repos/capitalone/Hygieia/issues/comments/182002592","html_url":"https://github.com/capitalone/Hygieia/issues/314#issuecomment-182002592","issue_url":"https://api.github.com/repos/capitalone/Hygieia/issues/314","id":182002592,"user":{"login":"jimzucker","id":14372687,"avatar_url":"https://avatars.githubusercontent.com/u/14372687?v=3","gravatar_id":"","url":"https://api.github.com/users/jimzucker","html_url":"https://github.com/jimzucker","followers_url":"https://api.github.com/users/jimzucker/followers","following_url":"https://api.github.com/users/jimzucker/following{/other_user}","gists_url":"https://api.github.com/users/jimzucker/gists{/gist_id}","starred_url":"https://api.github.com/users/jimzucker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimzucker/subscriptions","organizations_url":"https://api.github.com/users/jimzucker/orgs","repos_url":"https://api.github.com/users/jimzucker/repos","events_url":"https://api.github.com/users/jimzucker/events{/privacy}","received_events_url":"https://api.github.com/users/jimzucker/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T18:53:29Z","updated_at":"2016-02-09T18:53:29Z","body":"HI,\r\n\r\nI believe the values you are entering are not correct.\r\n\r\n\r\nFor the url and branch try these values to get the syntax correct, see the screen shots below:\r\n\r\nURL: https://github.com/capitalone/Hygieia.git\r\nbranch: master\r\n\r\n[cid:88D28869-4C0D-44D5-943F-EDF98E98ED40]\r\n\r\n[cid:7CD7412B-55B1-498A-9D39-94F7A8A53763]\r\n\r\nOn Feb 8, 2016, at 4:18 AM, Suresh S <notifications@github.com<mailto:notifications@github.com>> wrote:\r\n\r\n\r\nSETUP:\r\nCentos 6 & 7\r\nGit installed\r\nApache configured for http, No authentication ,just http://,machineIP<http://,machineip>>/reposgit/ --> this is working in browser\r\n\r\nWhere as, in Hygieia dashboard\r\nWhen i give\r\nRepoType - github\r\nrepoURL = http:///repos\r\nBranch = refs/heads/master\r\n\r\n________________________________\r\n\r\nERROR IN LOG\r\n\r\n2016-02-08 12:14:00,000 INFO ccdcollectorCollectorTask - Running Collector: GitHub\r\n2016-02-08 12:14:00,002 INFO ccdcollectorGitHubCollectorTask - ------------------------------\r\n2016-02-08 12:14:00,002 INFO ccdcollectorGitHubCollectorTask - Starting\r\n2016-02-08 12:14:00,002 INFO ccdcollectorGitHubCollectorTask - ------------------------------\r\n2016-02-08 12:14:00,022 INFO ccdcollectorDefaultGitHubClient - API URL IS:http://1111/api/v3/repos/repos\r\n2016-02-08 12:14:00,022 INFO ccdcollectorDefaultGitHubClient - URL page is: http://1111/api/v3/repos/repos/commits?sha=master&since=2016-02-08T12:04Z\r\n2016-02-08 12:14:00,025 WARN oswebclientRestTemplate - GET request for \"http://1111/api/v3/repos/repos/commits?sha=master&since=2016-02-08T12:04Z\" resulted in 404 (Not Found); invoking error handler\r\n2016-02-08 12:14:00,025 ERROR ccdcollectorDefaultGitHubClient - 404 Not Found:http://1111/api/v3/repos/repos/commits?sha=master&since=2016-02-08T12:04Z\r\n2016-02-08 12:14:00,025 INFO ccdcollectorGitHubCollectorTask - Repo Count 1 0s\r\n2016-02-08 12:14:00,025 INFO ccdcollectorGitHubCollectorTask - New Commits 0 0s\r\n2016-02-08 12:14:00,025 INFO ccdcollectorGitHubCollectorTask - Finished 0s\r\n\r\n________________________________\r\n\r\nPlease help ASAP\r\n\r\n—\r\nReply to this email directly or view it on GitHub<https://github.com/capitalone/Hygieia/issues/314>.\r\n\r\n"}}