{"action":"created","issue":{"url":"https://api.github.com/repos/codenvy/artik/issues/153","repository_url":"https://api.github.com/repos/codenvy/artik","labels_url":"https://api.github.com/repos/codenvy/artik/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/codenvy/artik/issues/153/comments","events_url":"https://api.github.com/repos/codenvy/artik/issues/153/events","html_url":"https://github.com/codenvy/artik/issues/153","id":176804232,"number":153,"title":"Failed to create sample project if I use proxy. ","user":{"login":"ZhangHangdong","id":20865878,"avatar_url":"https://avatars.githubusercontent.com/u/20865878?v=3","gravatar_id":"","url":"https://api.github.com/users/ZhangHangdong","html_url":"https://github.com/ZhangHangdong","followers_url":"https://api.github.com/users/ZhangHangdong/followers","following_url":"https://api.github.com/users/ZhangHangdong/following{/other_user}","gists_url":"https://api.github.com/users/ZhangHangdong/gists{/gist_id}","starred_url":"https://api.github.com/users/ZhangHangdong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZhangHangdong/subscriptions","organizations_url":"https://api.github.com/users/ZhangHangdong/orgs","repos_url":"https://api.github.com/users/ZhangHangdong/repos","events_url":"https://api.github.com/users/ZhangHangdong/events{/privacy}","received_events_url":"https://api.github.com/users/ZhangHangdong/received_events","type":"User","site_admin":false},"labels":[{"id":341950747,"url":"https://api.github.com/repos/codenvy/artik/labels/kind/docs","name":"kind/docs","color":"d4c5f9","default":false},{"id":410714191,"url":"https://api.github.com/repos/codenvy/artik/labels/sprint/current-sprint","name":"sprint/current-sprint","color":"ffffff","default":false},{"id":410715598,"url":"https://api.github.com/repos/codenvy/artik/labels/status/in-progress","name":"status/in-progress","color":"bfe5bf","default":false},{"id":410716402,"url":"https://api.github.com/repos/codenvy/artik/labels/team/ide","name":"team/ide","color":"f9d0c4","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/codenvy/artik/milestones/5","html_url":"https://github.com/codenvy/artik/milestone/5","labels_url":"https://api.github.com/repos/codenvy/artik/milestones/5/labels","id":2186317,"number":5,"title":"1.2.4","description":null,"creator":{"login":"vparfonov","id":1636592,"avatar_url":"https://avatars.githubusercontent.com/u/1636592?v=3","gravatar_id":"","url":"https://api.github.com/users/vparfonov","html_url":"https://github.com/vparfonov","followers_url":"https://api.github.com/users/vparfonov/followers","following_url":"https://api.github.com/users/vparfonov/following{/other_user}","gists_url":"https://api.github.com/users/vparfonov/gists{/gist_id}","starred_url":"https://api.github.com/users/vparfonov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vparfonov/subscriptions","organizations_url":"https://api.github.com/users/vparfonov/orgs","repos_url":"https://api.github.com/users/vparfonov/repos","events_url":"https://api.github.com/users/vparfonov/events{/privacy}","received_events_url":"https://api.github.com/users/vparfonov/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":7,"state":"open","created_at":"2016-12-09T10:33:10Z","updated_at":"2017-02-20T07:14:38Z","due_on":null,"closed_at":null},"comments":25,"created_at":"2016-09-14T03:15:44Z","updated_at":"2017-02-20T07:14:38Z","closed_at":"2017-02-20T07:14:38Z","body":"When I used proxy, and after I set the related configurations, all functions on dashboard can work well (include update SDK/API), but always failed to create sample project, because it can not clone sample codes from github.com.\nBut, I can clone the codes by using command directly.\nSo, I think, the function of creating sample project on dashboard, does not consider proxy scenario.\n\nI am using proxy(109.105.113.200, sbc-media6.nordu.net) to access Internet.\n\n> root@samsung-OptiPlex-9020:~# env | grep proxy\n> http_proxy=http://109.105.113.200:8080/\n> https_proxy=https://109.105.113.200:8080/\n> root@samsung-OptiPlex-9020:~# ping sbc-media6.nordu.net\n> PING sbc-media6.nordu.net (109.105.113.200) 56(84) bytes of data.\n> 64 bytes from sbc-media6.nordu.net (109.105.113.200): icmp_seq=1 ttl=63 time=0.286 ms\n> 64 bytes from sbc-media6.nordu.net (109.105.113.200): icmp_seq=2 ttl=63 time=0.301 ms\n> 64 bytes from sbc-media6.nordu.net (109.105.113.200): icmp_seq=3 ttl=63 time=0.352 ms\n> 64 bytes from sbc-media6.nordu.net (109.105.113.200): icmp_seq=4 ttl=63 time=0.552 ms\n> ^C\n> --- sbc-media6.nordu.net ping statistics ---\n> 4 packets transmitted, 4 received, 0% packet loss, time 2999ms\n> rtt min/avg/max/mdev = 0.286/0.372/0.552/0.108 ms\n\nWhen I use ARTIK IDE, I find that I can clone ARTIK samples code in ARTIK IDE server(Linux host) and ARTIK IDE workspace(docker container). But the git clone of ARTIK samples in the IDE browser always fail.\n\nI did some debug, hope can give some help.\ngit clone in workspace, I can see data packages go through my proxy correctly by tcpdump.\n![image](https://cloud.githubusercontent.com/assets/20865878/18498543/c91ff4d8-7a69-11e6-9585-3d3a082c360c.png)\n\ntcpdump in server:\n![image](https://cloud.githubusercontent.com/assets/20865878/18498557/e05a036e-7a69-11e6-8605-7bb2fdfc6968.png)\n\nBut the git clone in IDE browser seems not has data went through my proxy.\n![image](https://cloud.githubusercontent.com/assets/20865878/18498561/006aa690-7a6a-11e6-8ed7-6c8542b51e97.png)\n\ntcpdump in server:\n![image](https://cloud.githubusercontent.com/assets/20865878/18498578/228ad68c-7a6a-11e6-9ec2-b2cb39373be6.png)\n\nLooks like after got the IP of github.com from google DNS server, the process of IDE directly went to github.com.\n\nHere the process of IDE needs to consider the proxy issue as my case.\n"},"comment":{"url":"https://api.github.com/repos/codenvy/artik/issues/comments/281004320","html_url":"https://github.com/codenvy/artik/issues/153#issuecomment-281004320","issue_url":"https://api.github.com/repos/codenvy/artik/issues/153","id":281004320,"user":{"login":"eivantsov","id":5337267,"avatar_url":"https://avatars.githubusercontent.com/u/5337267?v=3","gravatar_id":"","url":"https://api.github.com/users/eivantsov","html_url":"https://github.com/eivantsov","followers_url":"https://api.github.com/users/eivantsov/followers","following_url":"https://api.github.com/users/eivantsov/following{/other_user}","gists_url":"https://api.github.com/users/eivantsov/gists{/gist_id}","starred_url":"https://api.github.com/users/eivantsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eivantsov/subscriptions","organizations_url":"https://api.github.com/users/eivantsov/orgs","repos_url":"https://api.github.com/users/eivantsov/repos","events_url":"https://api.github.com/users/eivantsov/events{/privacy}","received_events_url":"https://api.github.com/users/eivantsov/received_events","type":"User","site_admin":false},"created_at":"2017-02-20T07:14:38Z","updated_at":"2017-02-20T07:14:38Z","body":"With the new CLI, proxy settings from Docker daemon are inherited. Closing the issue."}}
{"actor":{"display_login":"eivantsov"}}