{"action":"opened","issue":{"url":"https://api.github.com/repos/GerritCodeReview/plugins-github/issues/3","labels_url":"https://api.github.com/repos/GerritCodeReview/plugins-github/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/GerritCodeReview/plugins-github/issues/3/comments","events_url":"https://api.github.com/repos/GerritCodeReview/plugins-github/issues/3/events","html_url":"https://github.com/GerritCodeReview/plugins-github/issues/3","id":54555847,"number":3,"title":"GitHub integration issues","user":{"login":"chytreg","id":142751,"avatar_url":"https://avatars.githubusercontent.com/u/142751?v=3","gravatar_id":"","url":"https://api.github.com/users/chytreg","html_url":"https://github.com/chytreg","followers_url":"https://api.github.com/users/chytreg/followers","following_url":"https://api.github.com/users/chytreg/following{/other_user}","gists_url":"https://api.github.com/users/chytreg/gists{/gist_id}","starred_url":"https://api.github.com/users/chytreg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chytreg/subscriptions","organizations_url":"https://api.github.com/users/chytreg/orgs","repos_url":"https://api.github.com/users/chytreg/repos","events_url":"https://api.github.com/users/chytreg/events{/privacy}","received_events_url":"https://api.github.com/users/chytreg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-16T09:33:47Z","updated_at":"2015-01-16T09:33:47Z","closed_at":null,"body":"Hi,\r\n\r\nI'm struggle to configure gerrit with github.\r\n\r\nI'm using Gerrit 2.10-rc1, and build plugins from\r\nhttp://ci.gerritforge.com/view/Plugins-stable-2.10/job/Plugin_github_stable-2.10/\r\n\r\nSome of the features works, but some don't.\r\n\r\n1) the GitHub wizard looks totally different than rest of the Gerrit:\r\nhttps://dl.dropboxusercontent.com/spa/ggppya1cf18w1km/h0ibp1m0.png\r\n\r\n2) When I click on \"Next\" wizard make the action but renders the blank page - this happens on every wizard step\r\n\r\n3) Can't import any of pull requests - I have configured my GitHub app properly - can sign-in, can import repos, can't pull requests :(\r\n\r\n4) Replication doesn't work for my at all\r\n```\r\n# gerrit.config\r\n[gerrit]\r\n        basePath = git\r\n        canonicalWebUrl = http://host\r\n        changeScreen = CHANGE_SCREEN2\r\n[database]\r\n        type = h2\r\n        database = db/ReviewDB\r\n[index]\r\n        type = LUCENE\r\n[auth]\r\n        type = HTTP\r\n        httpHeader = GITHUB_USER\r\n\r\n\r\n        logoutUrl = /oauth/reset\r\n[sendemail]\r\n        from = ${user} (Code Review) <gerrithub@host>\r\n        smtpServer = localhost\r\n[container]\r\n        user = gerrit\r\n        javaHome = /usr/lib/jvm/java-7-oracle/jre\r\n[sshd]\r\n        listenAddress = host:29419\r\n[httpd]\r\n        listenUrl = proxy-http://localhost:8081/\r\n        filterClass = com.googlesource.gerrit.plugins.github.oauth.OAuthFilter\r\n[cache]\r\n        directory = cache\r\n[github]\r\n        url = https://github.com\r\n        clientId = clientID\r\n        clientSecret = secret\r\n        scopes = USER,PUBLIC_REPO\r\n```\r\n\r\n```\r\n# replication.config\r\n[remote \"chytreg\"]\r\n        url = https://github.com/${name}.git\r\n        projects = chytreg/dotfiles\r\n        projects = chytreg/figaro\r\n        projects = chytreg/elasticsearch.github.com\r\n        push = refs/*:refs/*\r\n``\r\n\r\nWhen it tries to replicate I get:  `com.googlesource.gerrit.plugins.github.group.GitHubGroupsCache$OrganisationLoader : Cannot login to GitHub on behalf of 'chytreg'`\r\n\r\nI would be great If you can guide me how to setup the replication.\r\n\r\nI'm really looking forward to response.\r\n"}}