{"action":"created","issue":{"url":"https://api.github.com/repos/magicdude4eva/graylog-jira-alarmcallback/issues/12","repository_url":"https://api.github.com/repos/magicdude4eva/graylog-jira-alarmcallback","labels_url":"https://api.github.com/repos/magicdude4eva/graylog-jira-alarmcallback/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/magicdude4eva/graylog-jira-alarmcallback/issues/12/comments","events_url":"https://api.github.com/repos/magicdude4eva/graylog-jira-alarmcallback/issues/12/events","html_url":"https://github.com/magicdude4eva/graylog-jira-alarmcallback/issues/12","id":162869378,"number":12,"title":"No issues are created although an email callback is working","user":{"login":"janwagners","id":20202315,"avatar_url":"https://avatars.githubusercontent.com/u/20202315?v=3","gravatar_id":"","url":"https://api.github.com/users/janwagners","html_url":"https://github.com/janwagners","followers_url":"https://api.github.com/users/janwagners/followers","following_url":"https://api.github.com/users/janwagners/following{/other_user}","gists_url":"https://api.github.com/users/janwagners/gists{/gist_id}","starred_url":"https://api.github.com/users/janwagners/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janwagners/subscriptions","organizations_url":"https://api.github.com/users/janwagners/orgs","repos_url":"https://api.github.com/users/janwagners/repos","events_url":"https://api.github.com/users/janwagners/events{/privacy}","received_events_url":"https://api.github.com/users/janwagners/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-06-29T08:34:26Z","updated_at":"2016-06-29T14:53:08Z","closed_at":null,"body":"Hi Gerd,\r\n\r\ni have a question about your jira plugin for graylog.\r\n\r\nI'm not able to get it to work in our environment. I installed the plugin as requested and i can add a callback in the alarm configuration for the streams. After the setup of the callback and when i trigger an alarm to test the callback nothing happens. Under \"Triggered alerts\" i only see the email callback. In the logfile of the graylog-server is also nothing to find.\r\n\r\nDo have any explanation for this behavior? Please let me know if can help you with additional information.\r\n\r\nWe are using Graylog 2 and JIRA v6.4.3 (really incompatible?).\r\n\r\n\r\nThe graylog server logfile shows the following:\r\n\r\n2016-06-28T14:11:49.462+02:00 INFO  [CmdLineTool] Loaded plugin: JIRA integration plugin 1.0.6 [com.bidorbuy.graylog.alarmcallbacks.jira.JiraAlarmCallback]\r\n2016-06-28T14:17:07.450+02:00 WARN  [JiraAlarmCallback] Skipped MD5-hash creation, MD5-string is empty. Check your config\r\n2016-06-28T14:34:13.322+02:00 INFO  [CmdLineTool] Loaded plugin: JIRA integration plugin 1.0.6 [com.bidorbuy.graylog.alarmcallbacks.jira.JiraAlarmCallback]\r\n2016-06-28T14:47:11.389+02:00 INFO  [CmdLineTool] Loaded plugin: JIRA integration plugin 1.0.6 [com.bidorbuy.graylog.alarmcallbacks.jira.JiraAlarmCallback]\r\n2016-06-28T14:47:30.280+02:00 WARN  [JiraAlarmCallback] Skipped MD5-hash creation, MD5-string is empty. Check your config\r\n2016-06-28T14:50:00.328+02:00 INFO  [CmdLineTool] Loaded plugin: JIRA integration plugin 1.0.6 [com.bidorbuy.graylog.alarmcallbacks.jira.JiraAlarmCallback]\r\n2016-06-28T14:55:51.430+02:00 INFO  [CmdLineTool] Loaded plugin: JIRA integration plugin 1.0.7 [com.bidorbuy.graylog.alarmcallbacks.jira.JiraAlarmCallback]\r\n2016-06-28T15:01:04.513+02:00 INFO  [CmdLineTool] Loaded plugin: JIRA integration plugin 1.0.7 [com.bidorbuy.graylog.alarmcallbacks.jira.JiraAlarmCallback]\r\n\r\nAt first I used an older version (1.0.6).\r\n\r\nHere you can see the callbacl configuration:\r\n\r\n![jira_plugin_graylog](https://cloud.githubusercontent.com/assets/20202315/16445758/7c05a998-3de4-11e6-9800-5551e39fe3f9.PNG)\r\n\r\nUnder \"Triggered Alerts\" one can only see the email callback:\r\n\r\n![triggered_alerts](https://cloud.githubusercontent.com/assets/20202315/16445831/d183b040-3de4-11e6-96f5-8b1496157fa2.PNG)\r\n\r\nDo you have any ideas why the ticket creation is not working?\r\n\r\nRegards,\r\n\r\nJan\r\n"},"comment":{"url":"https://api.github.com/repos/magicdude4eva/graylog-jira-alarmcallback/issues/comments/229381489","html_url":"https://github.com/magicdude4eva/graylog-jira-alarmcallback/issues/12#issuecomment-229381489","issue_url":"https://api.github.com/repos/magicdude4eva/graylog-jira-alarmcallback/issues/12","id":229381489,"user":{"login":"janwagners","id":20202315,"avatar_url":"https://avatars.githubusercontent.com/u/20202315?v=3","gravatar_id":"","url":"https://api.github.com/users/janwagners","html_url":"https://github.com/janwagners","followers_url":"https://api.github.com/users/janwagners/followers","following_url":"https://api.github.com/users/janwagners/following{/other_user}","gists_url":"https://api.github.com/users/janwagners/gists{/gist_id}","starred_url":"https://api.github.com/users/janwagners/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janwagners/subscriptions","organizations_url":"https://api.github.com/users/janwagners/orgs","repos_url":"https://api.github.com/users/janwagners/repos","events_url":"https://api.github.com/users/janwagners/events{/privacy}","received_events_url":"https://api.github.com/users/janwagners/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T14:53:07Z","updated_at":"2016-06-29T14:53:07Z","body":"Hi Gerd,\r\nthank you very much for the useful information. I removed the map plugin and now i'm getting the following error:\r\n\r\n`2016-06-29T16:41:26.701+02:00 ERROR [JiraAlarmCallback] Error searching for JIRA issue=Failed to search issues, Cause=peer not authenticated\r\n2016-06-29T16:41:26.702+02:00 WARN  [AlertScannerThread] Alarm callback <Graylog JIRA integration plugin> failed. Skipping.\r\norg.graylog2.plugin.alarms.callbacks.AlarmCallbackException: Failed searching for duplicate issue\r\n   at com.bidorbuy.graylog.alarmcallbacks.jira.JiraIssueClient.isDuplicateJiraIssue(JiraIssueClient.java:115) ~[?:?]\r\n   at com.bidorbuy.graylog.alarmcallbacks.jira.JiraIssueClient.trigger(JiraIssueClient.java:78) ~[?:?]\r\n   at com.bidorbuy.graylog.alarmcallbacks.jira.JiraAlarmCallback.call(JiraAlarmCallback.java:153) ~[?:?]\r\n   at com.bidorbuy.graylog.alarmcallbacks.jira.JiraAlarmCallback.call(JiraAlarmCallback.java:128) ~[?:?]\r\n   at org.graylog2.periodical.AlertScannerThread.doRun(AlertScannerThread.java:113) [graylog.jar:?]\r\n   at org.graylog2.plugin.periodical.Periodical.run(Periodical.java:77) [graylog.jar:?]\r\n   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_73]\r\n   at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_73]\r\n   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_73]\r\n   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_73]\r\n   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_73]\r\n   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_73]\r\n   at java.lang.Thread.run(Thread.java:745) [?:1.8.0_73]\r\nCaused by: net.rcarz.jiraclient.JiraException: Failed to search issues\r\n   at net.rcarz.jiraclient.Issue.search(Issue.java:895) ~[?:?]\r\n   at net.rcarz.jiraclient.Issue.search(Issue.java:836) ~[?:?]\r\n   at net.rcarz.jiraclient.JiraClient.searchIssues(JiraClient.java:227) ~[?:?]\r\n   at com.bidorbuy.graylog.alarmcallbacks.jira.JiraIssueClient.isDuplicateJiraIssue(JiraIssueClient.java:99) ~[?:?]\r\n   ... 12 more\r\nCaused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated\r\n   at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:431) ~[?:1.8.0_73]\r\n   at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:126) ~[?:?]\r\n   at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:437) ~[?:?]\r\n   at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) ~[?:?]\r\n   at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) ~[?:?]\r\n   at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643) ~[?:?]\r\n   at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479) ~[?:?]\r\n   at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) ~[?:?]\r\n   at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) ~[?:?]\r\n   at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784) ~[?:?]\r\n   at net.rcarz.jiraclient.RestClient.request(RestClient.java:126) ~[?:?]\r\n   at net.rcarz.jiraclient.RestClient.get(RestClient.java:243) ~[?:?]\r\n   at net.rcarz.jiraclient.Issue.search(Issue.java:893) ~[?:?]\r\n   at net.rcarz.jiraclient.Issue.search(Issue.java:836) ~[?:?]\r\n   at net.rcarz.jiraclient.JiraClient.searchIssues(JiraClient.java:227) ~[?:?]\r\n   at com.bidorbuy.graylog.alarmcallbacks.jira.JiraIssueClient.isDuplicateJiraIssue(JiraIssueClient.java:99) ~[?:?]\r\n   ... 12 more\r\n2016-06-29T16:43:26.129+02:00 ERROR [JiraAlarmCallback] Error searching for JIRA issue=Failed to search issues, Cause=peer not authenticated\r\n2016-06-29T16:43:26.130+02:00 WARN  [AlertScannerThread] Alarm callback <Graylog JIRA integration plugin> failed. Skipping.\r\norg.graylog2.plugin.alarms.callbacks.AlarmCallbackException: Failed searching for duplicate issue\r\n   at com.bidorbuy.graylog.alarmcallbacks.jira.JiraIssueClient.isDuplicateJiraIssue(JiraIssueClient.java:115) ~[?:?]\r\n   at com.bidorbuy.graylog.alarmcallbacks.jira.JiraIssueClient.trigger(JiraIssueClient.java:78) ~[?:?]\r\n   at com.bidorbuy.graylog.alarmcallbacks.jira.JiraAlarmCallback.call(JiraAlarmCallback.java:153) ~[?:?]\r\n   at com.bidorbuy.graylog.alarmcallbacks.jira.JiraAlarmCallback.call(JiraAlarmCallback.java:128) ~[?:?]\r\n   at org.graylog2.periodical.AlertScannerThread.doRun(AlertScannerThread.java:113) [graylog.jar:?]\r\n   at org.graylog2.plugin.periodical.Periodical.run(Periodical.java:77) [graylog.jar:?]\r\n   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_73]\r\n   at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_73]\r\n   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_73]\r\n   at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_73]\r\n   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_73]\r\n   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_73]\r\n   at java.lang.Thread.run(Thread.java:745) [?:1.8.0_73]\r\nCaused by: net.rcarz.jiraclient.JiraException: Failed to search issues\r\n   at net.rcarz.jiraclient.Issue.search(Issue.java:895) ~[?:?]\r\n   at net.rcarz.jiraclient.Issue.search(Issue.java:836) ~[?:?]\r\n   at net.rcarz.jiraclient.JiraClient.searchIssues(JiraClient.java:227) ~[?:?]\r\n   at com.bidorbuy.graylog.alarmcallbacks.jira.JiraIssueClient.isDuplicateJiraIssue(JiraIssueClient.java:99) ~[?:?]\r\n... 12 more\r\nCaused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated\r\n   at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:431) ~[?:1.8.0_73]\r\n   at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:126) ~[?:?]\r\n   at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:437) ~[?:?]\r\n   at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) ~[?:?]\r\n   at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) ~[?:?]\r\n   at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643) ~[?:?]\r\n   at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479) ~[?:?]\r\n   at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) ~[?:?]\r\n   at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) ~[?:?]\r\n   at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784) ~[?:?]\r\n   at net.rcarz.jiraclient.RestClient.request(RestClient.java:126) ~[?:?]\r\n   at net.rcarz.jiraclient.RestClient.get(RestClient.java:243) ~[?:?]\r\n   at net.rcarz.jiraclient.Issue.search(Issue.java:893) ~[?:?]\r\n   at net.rcarz.jiraclient.Issue.search(Issue.java:836) ~[?:?]\r\n   at net.rcarz.jiraclient.JiraClient.searchIssues(JiraClient.java:227) ~[?:?]\r\n   at com.bidorbuy.graylog.alarmcallbacks.jira.JiraIssueClient.isDuplicateJiraIssue(JiraIssueClient.java:99) ~[?:?]\r\n   ... 12 more`\r\n\r\nDoes that mean that the login into Jira respectively to the Rest-Api doesn't work?"}}
{"actor":{"display_login":"janwagners"}}