{"action":"created","issue":{"url":"https://api.github.com/repos/syndesisio/syndesis-rest/issues/606","repository_url":"https://api.github.com/repos/syndesisio/syndesis-rest","labels_url":"https://api.github.com/repos/syndesisio/syndesis-rest/issues/606/labels{/name}","comments_url":"https://api.github.com/repos/syndesisio/syndesis-rest/issues/606/comments","events_url":"https://api.github.com/repos/syndesisio/syndesis-rest/issues/606/events","html_url":"https://github.com/syndesisio/syndesis-rest/issues/606","id":257844107,"number":606,"title":"Unable to get GitHub user","user":{"login":"zregvart","id":1306050,"avatar_url":"https://avatars0.githubusercontent.com/u/1306050?v=4","gravatar_id":"","url":"https://api.github.com/users/zregvart","html_url":"https://github.com/zregvart","followers_url":"https://api.github.com/users/zregvart/followers","following_url":"https://api.github.com/users/zregvart/following{/other_user}","gists_url":"https://api.github.com/users/zregvart/gists{/gist_id}","starred_url":"https://api.github.com/users/zregvart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zregvart/subscriptions","organizations_url":"https://api.github.com/users/zregvart/orgs","repos_url":"https://api.github.com/users/zregvart/repos","events_url":"https://api.github.com/users/zregvart/events{/privacy}","received_events_url":"https://api.github.com/users/zregvart/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"zregvart","id":1306050,"avatar_url":"https://avatars0.githubusercontent.com/u/1306050?v=4","gravatar_id":"","url":"https://api.github.com/users/zregvart","html_url":"https://github.com/zregvart","followers_url":"https://api.github.com/users/zregvart/followers","following_url":"https://api.github.com/users/zregvart/following{/other_user}","gists_url":"https://api.github.com/users/zregvart/gists{/gist_id}","starred_url":"https://api.github.com/users/zregvart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zregvart/subscriptions","organizations_url":"https://api.github.com/users/zregvart/orgs","repos_url":"https://api.github.com/users/zregvart/repos","events_url":"https://api.github.com/users/zregvart/events{/privacy}","received_events_url":"https://api.github.com/users/zregvart/received_events","type":"User","site_admin":false},"assignees":[{"login":"zregvart","id":1306050,"avatar_url":"https://avatars0.githubusercontent.com/u/1306050?v=4","gravatar_id":"","url":"https://api.github.com/users/zregvart","html_url":"https://github.com/zregvart","followers_url":"https://api.github.com/users/zregvart/followers","following_url":"https://api.github.com/users/zregvart/following{/other_user}","gists_url":"https://api.github.com/users/zregvart/gists{/gist_id}","starred_url":"https://api.github.com/users/zregvart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zregvart/subscriptions","organizations_url":"https://api.github.com/users/zregvart/orgs","repos_url":"https://api.github.com/users/zregvart/repos","events_url":"https://api.github.com/users/zregvart/events{/privacy}","received_events_url":"https://api.github.com/users/zregvart/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/syndesisio/syndesis-rest/milestones/6","html_url":"https://github.com/syndesisio/syndesis-rest/milestone/6","labels_url":"https://api.github.com/repos/syndesisio/syndesis-rest/milestones/6/labels","id":2729709,"number":6,"title":"Sprint 17","description":"","creator":{"login":"rhuss","id":99080,"avatar_url":"https://avatars3.githubusercontent.com/u/99080?v=4","gravatar_id":"","url":"https://api.github.com/users/rhuss","html_url":"https://github.com/rhuss","followers_url":"https://api.github.com/users/rhuss/followers","following_url":"https://api.github.com/users/rhuss/following{/other_user}","gists_url":"https://api.github.com/users/rhuss/gists{/gist_id}","starred_url":"https://api.github.com/users/rhuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhuss/subscriptions","organizations_url":"https://api.github.com/users/rhuss/orgs","repos_url":"https://api.github.com/users/rhuss/repos","events_url":"https://api.github.com/users/rhuss/events{/privacy}","received_events_url":"https://api.github.com/users/rhuss/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":18,"state":"open","created_at":"2017-08-29T10:39:40Z","updated_at":"2017-09-15T09:33:32Z","due_on":"2017-09-22T07:00:00Z","closed_at":null},"comments":1,"created_at":"2017-09-14T20:19:08Z","updated_at":"2017-09-15T09:33:32Z","closed_at":"2017-09-15T09:33:32Z","author_association":"CONTRIBUTOR","body":"We might want to guard against errors reported from GitHub.\r\n\r\nCurrently on staging:\r\n```\r\nio.syndesis.core.SyndesisServerException: An error has occurred.\r\n\tat io.syndesis.core.SyndesisServerException.launderThrowable(SyndesisServerException.java:53) ~[core-0.1-SNAPSHOT.jar!/:0.1-SNAPSHOT]\r\n\tat io.syndesis.core.SyndesisServerException.launderThrowable(SyndesisServerException.java:44) ~[core-0.1-SNAPSHOT.jar!/:0.1-SNAPSHOT]\r\n\tat io.syndesis.controllers.integration.online.ActivateHandler.getGitHubUser(ActivateHandler.java:211) ~[controllers-0.1-SNAPSHOT.jar!/:0.1-SNAPSHOT]\r\n\tat io.syndesis.controllers.integration.online.ActivateHandler.execute(ActivateHandler.java:110) ~[controllers-0.1-SNAPSHOT.jar!/:0.1-SNAPSHOT]\r\n\tat io.syndesis.controllers.integration.IntegrationController.lambda$callStatusChangeHandler$10(IntegrationController.java:173) [controllers-0.1-SNAPSHOT.jar!/:0.1-SNAPSHOT]\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_131]\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_131]\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_131]\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_131]\r\n\tat java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_131]\r\nCaused by: java.io.IOException: Parse exception converting JSON to object\r\n\tat org.eclipse.egit.github.core.client.GitHubClient.parseJson(GitHubClient.java:424) ~[org.eclipse.egit.github.core-2.1.5.jar!/:na]\r\n\tat org.eclipse.egit.github.core.client.GitHubClient.parseJson(GitHubClient.java:403) ~[org.eclipse.egit.github.core-2.1.5.jar!/:na]\r\n\tat org.eclipse.egit.github.core.client.GitHubClient.parseError(GitHubClient.java:514) ~[org.eclipse.egit.github.core-2.1.5.jar!/:na]\r\n\tat org.eclipse.egit.github.core.client.GitHubClient.createException(GitHubClient.java:547) ~[org.eclipse.egit.github.core-2.1.5.jar!/:na]\r\n\tat org.eclipse.egit.github.core.client.GitHubClient.get(GitHubClient.java:740) ~[org.eclipse.egit.github.core-2.1.5.jar!/:na]\r\n\tat org.eclipse.egit.github.core.service.UserService.getUser(UserService.java:95) ~[org.eclipse.egit.github.core-2.1.5.jar!/:na]\r\n\tat io.syndesis.github.GitHubServiceImpl.getApiUser(GitHubServiceImpl.java:86) ~[github-0.1-SNAPSHOT.jar!/:0.1-SNAPSHOT]\r\n\tat io.syndesis.controllers.integration.online.ActivateHandler.getGitHubUser(ActivateHandler.java:209) ~[controllers-0.1-SNAPSHOT.jar!/:0.1-SNAPSHOT]\r\n\t... 7 common frames omitted\r\nCaused by: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $\r\n\tat com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:224) ~[gson-2.8.1.jar!/:na]\r\n\tat com.google.gson.Gson.fromJson(Gson.java:887) ~[gson-2.8.1.jar!/:na]\r\n\tat com.google.gson.Gson.fromJson(Gson.java:852) ~[gson-2.8.1.jar!/:na]\r\n\tat org.eclipse.egit.github.core.client.GitHubClient.parseJson(GitHubClient.java:422) ~[org.eclipse.egit.github.core-2.1.5.jar!/:na]\r\n\t... 14 common frames omitted\r\nCaused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $\r\n\tat com.google.gson.stream.JsonReader.beginObject(JsonReader.java:385) ~[gson-2.8.1.jar!/:na]\r\n\tat com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:213) ~[gson-2.8.1.jar!/:na]\r\n\t... 17 common frames omitted\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/syndesisio/syndesis-rest/issues/comments/329732025","html_url":"https://github.com/syndesisio/syndesis-rest/issues/606#issuecomment-329732025","issue_url":"https://api.github.com/repos/syndesisio/syndesis-rest/issues/606","id":329732025,"user":{"login":"zregvart","id":1306050,"avatar_url":"https://avatars0.githubusercontent.com/u/1306050?v=4","gravatar_id":"","url":"https://api.github.com/users/zregvart","html_url":"https://github.com/zregvart","followers_url":"https://api.github.com/users/zregvart/followers","following_url":"https://api.github.com/users/zregvart/following{/other_user}","gists_url":"https://api.github.com/users/zregvart/gists{/gist_id}","starred_url":"https://api.github.com/users/zregvart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zregvart/subscriptions","organizations_url":"https://api.github.com/users/zregvart/orgs","repos_url":"https://api.github.com/users/zregvart/repos","events_url":"https://api.github.com/users/zregvart/events{/privacy}","received_events_url":"https://api.github.com/users/zregvart/received_events","type":"User","site_admin":false},"created_at":"2017-09-15T09:33:32Z","updated_at":"2017-09-15T09:33:32Z","author_association":"CONTRIBUTOR","body":"Turns out we were using outdated ConfigMap that configured GitHub service to go through `syndesis-github-proxy`. Once updated we're going directly to GitHub."}}
{"actor":{"display_login":"zregvart"}}