{"action":"created","issue":{"url":"https://api.github.com/repos/capitalone/Hygieia/issues/677","repository_url":"https://api.github.com/repos/capitalone/Hygieia","labels_url":"https://api.github.com/repos/capitalone/Hygieia/issues/677/labels{/name}","comments_url":"https://api.github.com/repos/capitalone/Hygieia/issues/677/comments","events_url":"https://api.github.com/repos/capitalone/Hygieia/issues/677/events","html_url":"https://github.com/capitalone/Hygieia/issues/677","id":164354351,"number":677,"title":"Jenkins build issue","user":{"login":"mokkapatisamba","id":20340802,"avatar_url":"https://avatars.githubusercontent.com/u/20340802?v=3","gravatar_id":"","url":"https://api.github.com/users/mokkapatisamba","html_url":"https://github.com/mokkapatisamba","followers_url":"https://api.github.com/users/mokkapatisamba/followers","following_url":"https://api.github.com/users/mokkapatisamba/following{/other_user}","gists_url":"https://api.github.com/users/mokkapatisamba/gists{/gist_id}","starred_url":"https://api.github.com/users/mokkapatisamba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mokkapatisamba/subscriptions","organizations_url":"https://api.github.com/users/mokkapatisamba/orgs","repos_url":"https://api.github.com/users/mokkapatisamba/repos","events_url":"https://api.github.com/users/mokkapatisamba/events{/privacy}","received_events_url":"https://api.github.com/users/mokkapatisamba/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-07T16:38:17Z","updated_at":"2016-07-07T16:42:52Z","closed_at":null,"body":"I am trying to configure a Jenkins dashboard where I am getting Certificate error. Please find the details below.\r\n\r\n1) We use a CNAME (jenkins.company.com) to access Jenkins\r\n2) Jenkins has been installed on a server server.company.com\r\n3) We use a self sign certificate for the SSL connection with CN as server.company.com\r\n4) Both https://server.company.com/jenkins and https://jenkins.company.com/jenkins are accessible in our environment.\r\n5) When I tried to configure Hygieia, I got a cert error for https://jenkins.company.com/jenkins\r\n6) I have installed the cert in the java keystore which led to Name mismatch error.\r\n7) So I configured the properties to use  https://server.company.com/jenkins\r\n8) I am able to get the job information at this point of time\r\n9) But while configuring the dashboard it's redirecting the request to https://jenkins.company.com/jenkins to fetch build history causing the certificate error.\r\n10) But I am able to access the build history with https://server.company.com/jenkins without any issues.\r\n\r\nPlease find the errors below.\r\n\r\n2016-07-07 11:22:53,006 INFO  c.c.d.collector.CollectorTask - -----------------------------------\r\n2016-07-07 11:22:53,006 INFO  c.c.d.collector.CollectorTask - https://server.company.com:<port>/jenkins\r\n2016-07-07 11:22:53,006 INFO  c.c.d.collector.CollectorTask - -----------------------------------\r\n2016-07-07 11:22:53,878 INFO  c.c.d.collector.CollectorTask - Fetched jobs                     0s\r\n2016-07-07 11:22:53,884 INFO  c.c.d.collector.CollectorTask - New jobs                0        0s\r\n2016-07-07 11:22:53,947 ERROR c.c.d.collector.DefaultHudsonClient - Client exception loading build details: I/O error on GET request for \"https://jenkins.company.com:<port>/jenkins/job/<Job-Name>/115/api/json?tree=number,url,timestamp,duration,building,result,culprits[fullName],changeSet[items[user,author[fullName],revision,id,msg,timestamp,date,paths[file]],revisions[module,revision]]\":java.security.cert.CertificateException: No name matching jenkins.company.com found; nested exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching jenkins.company.com found. URL =https://jenkins.company.com:<port>/jenkins/job/<Job-Name>/115/\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/capitalone/Hygieia/issues/comments/231136805","html_url":"https://github.com/capitalone/Hygieia/issues/677#issuecomment-231136805","issue_url":"https://api.github.com/repos/capitalone/Hygieia/issues/677","id":231136805,"user":{"login":"mokkapatisamba","id":20340802,"avatar_url":"https://avatars.githubusercontent.com/u/20340802?v=3","gravatar_id":"","url":"https://api.github.com/users/mokkapatisamba","html_url":"https://github.com/mokkapatisamba","followers_url":"https://api.github.com/users/mokkapatisamba/followers","following_url":"https://api.github.com/users/mokkapatisamba/following{/other_user}","gists_url":"https://api.github.com/users/mokkapatisamba/gists{/gist_id}","starred_url":"https://api.github.com/users/mokkapatisamba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mokkapatisamba/subscriptions","organizations_url":"https://api.github.com/users/mokkapatisamba/orgs","repos_url":"https://api.github.com/users/mokkapatisamba/repos","events_url":"https://api.github.com/users/mokkapatisamba/events{/privacy}","received_events_url":"https://api.github.com/users/mokkapatisamba/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T16:42:52Z","updated_at":"2016-07-07T16:42:52Z","body":"I did the same.. That's why I guess I am getting all the job names. Problem is only while pulling the build history."}}
{"actor":{"display_login":"mokkapatisamba"}}