{"action":"created","issue":{"url":"https://api.github.com/repos/codenvy/artik-ide/issues/122","repository_url":"https://api.github.com/repos/codenvy/artik-ide","labels_url":"https://api.github.com/repos/codenvy/artik-ide/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/codenvy/artik-ide/issues/122/comments","events_url":"https://api.github.com/repos/codenvy/artik-ide/issues/122/events","html_url":"https://github.com/codenvy/artik-ide/issues/122","id":172619933,"number":122,"title":"Github OAuth problem: redirecturi \"connect time out\" and Cannot create artik sample project","user":{"login":"laralijuan","id":20897963,"avatar_url":"https://avatars.githubusercontent.com/u/20897963?v=3","gravatar_id":"","url":"https://api.github.com/users/laralijuan","html_url":"https://github.com/laralijuan","followers_url":"https://api.github.com/users/laralijuan/followers","following_url":"https://api.github.com/users/laralijuan/following{/other_user}","gists_url":"https://api.github.com/users/laralijuan/gists{/gist_id}","starred_url":"https://api.github.com/users/laralijuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laralijuan/subscriptions","organizations_url":"https://api.github.com/users/laralijuan/orgs","repos_url":"https://api.github.com/users/laralijuan/repos","events_url":"https://api.github.com/users/laralijuan/events{/privacy}","received_events_url":"https://api.github.com/users/laralijuan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/codenvy/artik-ide/labels/kind/question","name":"kind/question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-23T06:12:17Z","updated_at":"2016-08-23T08:01:31Z","closed_at":null,"body":"**Description of problem:**\r\n1. At the Github OAuth process, always \"connect time out\" at uri redirection step. \r\n2. The artik sample project cannot be created.\r\n\r\n**ARTIK IDE version:** samsung-artik-ide-1.0.0 \r\n**ARTIK IDE install directory:** ~/samsung-artik-ide-1.0.0/\r\n**Docker version:** 1.12.0\r\n**Java version:** 1.8.0_101\r\n**Environment details:** Ubuntu 14.04 LTS + Docker + JDK+ samsung-artik-ide-1.0.0\r\n**Browser:** Firefox\r\n\r\n**Steps to Reproduce:**\r\n\r\n1. First time to create artik sample project failed for the reason \"cannot open git-upload-pack\" in IDE, console message is \"unsupported oauth provider github\"\r\n![2_create sample project fail](https://cloud.githubusercontent.com/assets/20897963/17881755/7d8d7a94-693a-11e6-8e18-04025653be61.png)\r\n\r\n2. Register OAuth applications in Github\r\n![3_register application authorize](https://cloud.githubusercontent.com/assets/20897963/17881766/86d9e498-693a-11e6-9edd-15a237e4d767.png)\r\n\r\n3. Set the \"conf/che.properties\"\r\n![5_modify che-properties](https://cloud.githubusercontent.com/assets/20897963/17881772/8c2dcb30-693a-11e6-8554-1595b99f4214.png)\r\n\r\n4. Restart the artik-ide, \"Profile->Preferences->SSH->VCS\", click the cat icon and aggree the authorization.\r\n![6_git oauth cat](https://cloud.githubusercontent.com/assets/20897963/17881800/bb7defe6-693a-11e6-9b0e-d4868e3dd7d8.png)\r\n![7_confirm authorize](https://cloud.githubusercontent.com/assets/20897963/17881799/badebff2-693a-11e6-8ed1-93f13be3f4dd.png)\r\n\r\n5. Always get \"connect time out\" message at the final step. The Github key cannot be uploaded.\r\n![10_connect time out](https://cloud.githubusercontent.com/assets/20897963/17881812/da81744e-693a-11e6-9abf-e4699f19a341.png)\r\n![11_fail to authorize application on github](https://cloud.githubusercontent.com/assets/20897963/17881813/daa7baa0-693a-11e6-9756-9a22bbf4ce43.png)\r\n\r\n    But，Github site shows the authorization success.\r\n![12_](https://cloud.githubusercontent.com/assets/20897963/17881911/85856e86-693b-11e6-98d7-41cbe034829a.png)\r\n\r\n6. Second time to create artik sample project failed without prompting \"unsupported oauth provider github\" at console.\r\n![14_create sample project fail_2](https://cloud.githubusercontent.com/assets/20897963/17881916/9006758a-693b-11e6-86df-f0f1700acf10.png)\r\n\r\n**Actual Results:**\r\nGithub OAuth authorization failed. Artik sample project cannot be created.\r\n\r\n**Expected Results:**\r\nGithub OAuth authorized successful. Artik sample project can be created."},"comment":{"url":"https://api.github.com/repos/codenvy/artik-ide/issues/comments/241656632","html_url":"https://github.com/codenvy/artik-ide/issues/122#issuecomment-241656632","issue_url":"https://api.github.com/repos/codenvy/artik-ide/issues/122","id":241656632,"user":{"login":"laralijuan","id":20897963,"avatar_url":"https://avatars.githubusercontent.com/u/20897963?v=3","gravatar_id":"","url":"https://api.github.com/users/laralijuan","html_url":"https://github.com/laralijuan","followers_url":"https://api.github.com/users/laralijuan/followers","following_url":"https://api.github.com/users/laralijuan/following{/other_user}","gists_url":"https://api.github.com/users/laralijuan/gists{/gist_id}","starred_url":"https://api.github.com/users/laralijuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laralijuan/subscriptions","organizations_url":"https://api.github.com/users/laralijuan/orgs","repos_url":"https://api.github.com/users/laralijuan/repos","events_url":"https://api.github.com/users/laralijuan/events{/privacy}","received_events_url":"https://api.github.com/users/laralijuan/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T08:01:31Z","updated_at":"2016-08-23T08:01:31Z","body":"hi, @eivantsov I have never create artik sample project before.  Only other type project creation is OK.\r\nDoes creating artik sample project must set the Github OAuth?\r\n\r\nI do \"git clone https://github.com/che-samples/artik-blink-led.git\" successful in my testing PC( run IDE Server).\r\nbut failed on the artik device. (prompting: \"Could not resolve host: github.com\")\r\nand also failed on workspace's default machine. (\"Failed to connect to github.com port 443: Connection timed out\")\r\n\r\nCould you give me some suggestions? Many thanks.\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"laralijuan"}}