{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/2431","labels_url":"https://api.github.com/repos/gogits/gogs/issues/2431/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/2431/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/2431/events","html_url":"https://github.com/gogits/gogs/issues/2431","id":127254153,"number":2431,"title":"TeamCity CI server fails fetch from gogs","user":{"login":"nd","id":38202,"avatar_url":"https://avatars.githubusercontent.com/u/38202?v=3","gravatar_id":"","url":"https://api.github.com/users/nd","html_url":"https://github.com/nd","followers_url":"https://api.github.com/users/nd/followers","following_url":"https://api.github.com/users/nd/following{/other_user}","gists_url":"https://api.github.com/users/nd/gists{/gist_id}","starred_url":"https://api.github.com/users/nd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nd/subscriptions","organizations_url":"https://api.github.com/users/nd/orgs","repos_url":"https://api.github.com/users/nd/repos","events_url":"https://api.github.com/users/nd/events{/privacy}","received_events_url":"https://api.github.com/users/nd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gogits/gogs/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/gogits/gogs/labels/feedback%20needed","name":"feedback needed","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gogits/gogs/milestones/9","html_url":"https://github.com/gogits/gogs/milestones/0.9.0","labels_url":"https://api.github.com/repos/gogits/gogs/milestones/9/labels","id":1226114,"number":9,"title":"0.9.0","description":"","creator":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"open_issues":152,"closed_issues":99,"state":"open","created_at":"2015-07-26T11:28:23Z","updated_at":"2016-01-26T16:33:47Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-01-18T15:50:46Z","updated_at":"2016-01-26T16:46:30Z","closed_at":"2016-01-26T07:00:37Z","body":"TeamCity uses java git and ssh implementation (JGit & Jsch). When it tries to list refs of the remote repository hosted by Gogs it fails with timeout exception. Debugging shows that Jsch sets WantReply flag for its ssh requests and waits for reply from Gogs but never gets one. It seems like Gogs doesn't handle ssh requests with WantReply flag set to true.\r\n\r\nGogs Version: v0.8.10 @ 2015-12-18, as well as Gogs built from master branch\r\nGit Version: not applicable since TeamCity uses JGit - java git implementation\r\nSystem Type: all systems\r\nError Log: there is no errors in the Gogs logs"},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/175108980","html_url":"https://github.com/gogits/gogs/issues/2431#issuecomment-175108980","issue_url":"https://api.github.com/repos/gogits/gogs/issues/2431","id":175108980,"user":{"login":"redoz","id":1670030,"avatar_url":"https://avatars.githubusercontent.com/u/1670030?v=3","gravatar_id":"","url":"https://api.github.com/users/redoz","html_url":"https://github.com/redoz","followers_url":"https://api.github.com/users/redoz/followers","following_url":"https://api.github.com/users/redoz/following{/other_user}","gists_url":"https://api.github.com/users/redoz/gists{/gist_id}","starred_url":"https://api.github.com/users/redoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redoz/subscriptions","organizations_url":"https://api.github.com/users/redoz/orgs","repos_url":"https://api.github.com/users/redoz/repos","events_url":"https://api.github.com/users/redoz/events{/privacy}","received_events_url":"https://api.github.com/users/redoz/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T16:46:30Z","updated_at":"2016-01-26T16:46:30Z","body":"I can confirm that this works now. (Running x64 version on Windows)"}}